Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Syntax of php directives in VirtualHost section.

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Configure SMTP Microsoft as Backup MX  
Author Message
andre

External


Since: Jul 10, 2007
Posts: 2



(Msg. 1) Posted: Tue Jul 10, 2007 10:33 am
Post subject: Syntax of php directives in VirtualHost section.
Archived from groups: alt>apache>configuration (more info?)

Hello,
I use LAMP on my home computer to develop applications, with 3 or 4 virtual hosts.

To develop new applications in PHP, I set the default error reporting options to E_ALL | E_STRICT.

But I alse have old web sites, with old libraries, and I wish put the php error reporting
directive differently, for instance E_ALL.

I have seen once a directive in apache2.conf, directly addressed to php.

So my question is : What is the syntax, in a VirtualHost section, to add php directives.

Thanks.
André.

 >> Stay informed about: Syntax of php directives in VirtualHost section. 
Back to top
Login to vote
andre

External


Since: Jul 10, 2007
Posts: 2



(Msg. 2) Posted: Tue Jul 10, 2007 10:53 am
Post subject: Re: Syntax of php directives in VirtualHost section. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello all,

Finally, I found Smile

<Location /projets/tlr2/>
php_value error_reporting E_ALL&~E_NOTICE
</Location>

May be this is useful for anybody.


andre wrote:
> Hello,
> I use LAMP on my home computer to develop applications, with 3 or 4 virtual hosts.
>
> To develop new applications in PHP, I set the default error reporting options to E_ALL | E_STRICT.
>
> But I alse have old web sites, with old libraries, and I wish put the php error reporting
> directive differently, for instance E_ALL.
>
> I have seen once a directive in apache2.conf, directly addressed to php.
>
> So my question is : What is the syntax, in a VirtualHost section, to add php directives.
>
> Thanks.
> André.

 >> Stay informed about: Syntax of php directives in VirtualHost section. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache Directives - Hi all, I´m a newbie in Apache. I want to my apache to give information about itself to the client. So i want to use ServerTokens, but I don´t know where to put it in the right directive?!?! This is what I want to di: ServerTokens full Default: full....

Multiple SSL directives - I have tried to add new multiple SSL directives to my httpd.comf but whenever I do it states that they overlap and I may need the NamedVirtualHosts directive, (which I already use in the file for multiple port 80 entries) What am I doing wrong? Mike.

ordering of directives within - Does the ordering of directives and rewrite rules etc matter within <VirtualHost> in httpd.conf? Cheers

Using variables in configuration directives? - Hi, is it possible to use variables in apache configuration files? e.g. setenv user abc ServerName = domain.com DocumentRoot = /home/user/ServerName etc. Thanks! Peter

Directory-Directives without influencing subdirectories - Hi all, I'm trying to tell apache to make all the files in a directory accessible for anybody, but not those in the subdirectories. I tried it with the following lines: <Directory "/absolute/path"> order deny,allow deny from all </D...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]