![]() |
[Solved] Local php.ini not read - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: [Solved] Local php.ini not read (/thread-2844.html) Pages: 1 2 |
[Solved] Local php.ini not read - Spheerys - 03-26-2008 06:38 AM Hi, I'm using for a website the fcgi php file : /var/www/fcgi/mydomain.com/php5/php.ini Inside, I have just switch to "On" the variable "allow_url_fopen" With RC3, that's work very well. But since I have updated to RC4, this modification seems not working for each website which need this option On Do you have this problem too ? RE: problem with fcgi after update to RC4 - joximu - 03-26-2008 11:16 AM Take care when updating - it may happen that the php.ini may be overwritten while regenerating the config files. Normally the settings in the specified php.ini should exactly do this for the php in the domain.... as it should. Maybe a reload of the php process is needed to take effect... /J RE: problem with fcgi after update to RC4 - Spheerys - 03-26-2008 08:13 PM I reload Apache several times without success... How can I relaod de "php process" ? RE: problem with fcgi after update to RC4 - joximu - 03-26-2008 08:24 PM when you *restart* apache, all php processes should also be terminated... I don't know what happens with a "apache reload"... ot you can kill the php processes of the vhost... RE: problem with fcgi after update to RC4 - Spheerys - 03-28-2008 05:02 AM I have restart the server and the problem is still here : the modification of the "allow_url_fopen" variable in the php.ini file doesn't work RE: problem with fcgi after update to RC4 - gOOvER - 03-28-2008 06:15 AM I also use this variable, but i don't have any Problems. It works as it should. Did you edit the right php.ini? RE: problem with fcgi after update to RC4 - Spheerys - 04-01-2008 07:21 PM After several verifications, I confirm than I have modified the right php.ini file I even modify the php4/php.ini file to be sure What did I do exactly ? Code: # nano /var/www/fcgi/domainname.com/php5/php.ini Code: ;;;;;;;;;;;;;;;;;; Code: Warning: include() [function.include]: URL file-access is disabled in the server configuration in /var/www/virtual/domainame.com/htdocs/file.php on line 83 Code: # /etc/init.d/apache2 restart If my memory works well, with the RC3, this procedure works. Now, I only can see than the error is still present on the website, despite the modification in this php.ini file Maybe I do something wrong, I don't know....[/code] RE: problem with fcgi after update to RC4 - Spheerys - 04-01-2008 07:26 PM Hummm I have found something. If I do a phpinfo() on the website, I have this : Code: PHP Core RE: problem with fcgi after update to RC4 - Spheerys - 04-01-2008 07:52 PM I had open a bug few days ago about this problem : http://www.isp-control.net/ispcp/ticket/1136 Today, the bug seem fixed in the last SVN But I still have my problem.... RE: problem with fcgi after update to RC4 - joximu - 04-01-2008 08:38 PM I always make a copy of the php.ini (php.ini_1) so I have it, when ispcp overwrites it - with the patch this should not happen anymore. But - your problem: I also have RC4 and have no problems changing this value. Can you check again with another value if you really have the right php.ini for this domain? Well you should see it in phpinfo - "Configuration File (php.ini) Path" /J |