ispCP - Board - Support
Question about php.ini file - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Question about php.ini file (/thread-7503.html)



Question about php.ini file - theprincy - 08-14-2009 04:18 PM

i have installated Ioncube and Zen Optimizer , i changed the following files

/etc/ispcp/fcgi/parts/php5/php.ini
/etc/ispcp/fcgi/parts/master/php5/php.ini
/var/www/fcgi/master/php5/php.ini
/etc/php5/cli/php.ini


I have regenerated the configuration but I did not find any change in the php.ini file of the domains, something wrong?


RE: Question about php.ini file - BeNe - 08-14-2009 04:41 PM

You only need to change the /var/www/fcgi/master/php5/php.ini if you want to use it for the master PHP.ini.

Sure you installed and loaded the modules correct ?

Greez BeNe


RE: Question about php.ini file - kilburn - 08-14-2009 04:52 PM

Quote:I have regenerated the configuration but I did not find any change in the php.ini file of the domains, something wrong?

Unlike with the other configuration files (and I don't know why), the panel will never override a customer's php.ini, even if the template has changed. Therefore, you have to delete all the users php.ini, regenerate configurations and the new (updated) ones will be created.

Edit: quick script to delete them:
Code:
find /var/www/fcgi -type f | grep 'php5/php.ini' | xargs rm



RE: Question about php.ini file - theprincy - 08-14-2009 05:00 PM

(08-14-2009 04:41 PM)BeNe Wrote:  You only need to change the /var/www/fcgi/master/php5/php.ini if you want to use it for the master PHP.ini.

Sure you installed and loaded the modules correct ?

Greez BeNe

if I put the call to libraries in their respective domains of the php.ini file works properly, if I put it in the master richiamti are not, as yet resolved by putting in /etc/php5/cgi/conf.d ini file , in this way works on all domains.


But I think it strange that the master / php.ini does not work for all domains


RE: Question about php.ini file - theprincy - 08-14-2009 08:36 PM

Having made the change on ispcp I get "error 500" or black page .

but I can find all the mistakes I? singh!!!