![]() |
[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 |
RE: problem with fcgi after update to RC4 - Spheerys - 04-01-2008 09:25 PM Hummm in fact, the problem seem occur on one particular domain. if I make modification on another domain, the php.ini file is read So... the problem comes efficiently of the domain configuration. In the first domain, the "Loaded Configuration File" variable is set to /etc/php5/cgi/php.ini On the second domain (which works well), the "Loaded Configuration File" variable is set to "/var/www/fcgi/seconddomain.fr/php5/php.ini" How can I change manualy the configuration of the first domain ? RE: problem with fcgi after update to RC4 - joximu - 04-01-2008 09:47 PM I think you use mod-php for the "first domain"... have a look in the /etc/apache2/sites-enabled/ispcp.conf and see the difference. Maybe you'll get it corrected when setting the status of this doimain to "change" and rerun the request manager /J RE: problem with fcgi after update to RC4 - Spheerys - 04-02-2008 07:28 AM Code: I think you use mod-php for the "first domain"... What should I look for ? Code: Maybe you'll get it corrected when setting the status of this doimain to "change" and rerun the request manager I have suspend and unsuspend the domain, but nothing change.[/code] RE: problem with fcgi after update to RC4 - joximu - 04-02-2008 07:32 AM Well, at least the domain which is taking /etc/php5/cgi/php.ini as php.ini does use mod-php.... No, maybe, the php-starter file is not ok, because there the location of the php.ini is defined. PHPRC="/var/www/fcgi/domain.tld/php5/" export PHPRC you find theese files in /var/www/fcgi/domain.tld/... /J RE: problem with fcgi after update to RC4 - Spheerys - 04-02-2008 07:47 AM Here the content of the file /var/www/fcgi/domain.com/php5-fcgi-starter : Code: #!/bin/sh RE: problem with fcgi after update to RC4 - joximu - 04-02-2008 07:54 AM Seems ok... what does "apache2 -M" tell you? /J RE: problem with fcgi after update to RC4 - Spheerys - 04-02-2008 07:39 PM Code: # apache2 -M RE: problem with fcgi after update to RC4 - joximu - 04-02-2008 08:33 PM Hi Looks also ok. You don't have anything in the apache-logs of the domain (or suexec.log) which could help finding the problem. Your domain1.com does not use the right php.ini. It uses at least fast-cgi but I don't know if it uses the phpstarter-script or why it doe not use the right php.ini. Maybe a permission (ownership) problem in the /var/www/fcgi/... structure? /J RE: problem with fcgi after update to RC4 - Spheerys - 04-02-2008 08:56 PM yes ! the php.ini file has the wrong permission... probably when I copy it from the old server... Thank you joximu for your help and your patience ![]() |