Posted by kleprado on 09/29/16 11:37
It is possible to define some PHP configuration inside the apache conf.
Example :
<VirtualHost *>
ServerName *******
DocumentRoot /usr/share/horde/
<Location />
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
php_flag register_globals off
</Location>
ErrorLog /var/log/apache2/mail/error.log
LogLevel warn
CustomLog /var/log/apache2/mail/access.log combined
ServerSignature Off
</VirtualHost>
Here is the *register_globals* param that is defined.
Be carefull : the syntax depends on the param (see manual)
But I don't know how to specify a particular php.ini for each vhost
Navigation:
[Reply to this message]
|