View Single Post
Old 3rd December 2007, 02:19
mbria mbria is offline
Junior Member
Join Date: Jul 2007
Posts: 17
Thanks: 12
Thanked 2 Times in 2 Posts
Default suPHP Custom php.ini

Thanks a lot till for the indications.

If I understand you (and some other posts in this forum about similar issues), if I like different php.inis for each site I just need to change my "ISPconfig Apache Directives" requesting it.

If I catch it, it means:

PHP Code:
<Directory /var/www/web3/web>  
Options +Includes +FollowSymlinks -Indexes  
AllowOverride All  
Order allow
Allow from all
php_value post_max_size 500
<Files "^\.ht">  
Deny from all  
suPHP_ConfigPath /var/www/web3/etc/php.ini 
And after this:

1) cp /etc/php5/cgi/php.ini /var/www/web3/etc/php.ini
2) vim /var/www/web3/etc/php.ini (to include my specific changes)
3) /etc/init.d/apache2 restart

But unfortunately, a phpinfo I run on this site still shows default settings.

Did I miss something?

Sorry in advance for the newbie questions. :-(

Thanks again for your help,

Reply With Quote