View Single Post
  #1  
Old 16th November 2010, 20:40
Toxin Toxin is offline
Junior Member
 
Join Date: Oct 2010
Posts: 11
Thanks: 0
Thanked 1 Time in 1 Post
Default PHP not working on websites (various errors)

Hi everyones,
I've setup my server under Fedora 13 using the tutorial of HowToForge (really good).

I'm a beginner in Linux so it is not always easy to troubleshoot system.

My Ispconfig 3.0.3 run well, FTP / mySQL / Mail / Webmail are running ok but when I try to use a php script on websites created by ISPC i have internal error (500)

I tried Phpsysinfo, he gives me a blank screen and some errors in /var/log/ispconfig/httpd/mywebsite/error.log

Code:
[Wed Nov 10 12:44:41 2010] [warn] [client 10.0.0.138] mod_fcgid: stderr: PHP Warning:  require_once(): open_basedir restriction in effect. File(/var/www/clients/client1/web1/web/phpsysinfo/includes/autoloader.inc.php) is not within the allowed path(s): (/var/www/clients/client0/web1/web:/var/www/clients/client0/web1/tmp:/var/www/www.meuro-media.net/web:/srv/www/www.meuro-media.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/var/www/clients/client0/web1/web/phpsysinfo/) in /var/www/clients/client1/web1/web/phpsysinfo/index.php on line 34
[Wed Nov 10 12:44:41 2010] [warn] [client 10.0.0.138] mod_fcgid: stderr: PHP Warning:  require_once(/var/www/clients/client1/web1/web/phpsysinfo/includes/autoloader.inc.php): failed to open stream: Operation not permitted in /var/www/clients/client1/web1/web/phpsysinfo/index.php on line 34
[Wed Nov 10 12:44:41 2010] [warn] [client 10.0.0.138] mod_fcgid: stderr: PHP Fatal error:  require_once(): Failed opening required '/var/www/clients/client1/web1/web/phpsysinfo/includes/autoloader.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/clients/client1/web1/web/phpsysinfo/index.php on line 34
[Wed Nov 10 12:44:43 2010] [warn] [client 10.0.0.138] mod_fcgid: stderr: PHP Warning:  Unknown: open_basedir restriction in effect. File(/var/www/clients/client1/web1/web/phpsysinfo/index.php) is not within the allowed path(s): (/var/www/clients/client0/web1/web:/var/www/clients/client0/web1/tmp:/var/www/www.meuro-media.net/web:/srv/www/www.meuro-media.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/var/www/clients/client0/web1/web/phpsysinfo/) in Unknown on line 0
[Wed Nov 10 12:44:43 2010] [warn] [client 10.0.0.138] mod_fcgid: stderr: PHP Warning:  require_once(): open_basedir restriction in effect. File(/var/www/clients/client1/web1/web/phpsysinfo/includes/autoloader.inc.php) is not within the allowed path(s): (/var/www/clients/client0/web1/web:/var/www/clients/client0/web1/tmp:/var/www/www.meuro-media.net/web:/srv/www/www.meuro-media.net/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/var/www/clients/client0/web1/web/phpsysinfo/) in /var/www/clients/client1/web1/web/phpsysinfo/index.php on line 34
[Wed Nov 10 12:44:43 2010] [warn] [client 10.0.0.138] mod_fcgid: stderr: PHP Warning:  require_once(/var/www/clients/client1/web1/web/phpsysinfo/includes/autoloader.inc.php): failed to open stream: Operation not permitted in /var/www/clients/client1/web1/web/phpsysinfo/index.php on line 34
[Wed Nov 10 12:44:43 2010] [warn] [client 10.0.0.138] mod_fcgid: stderr: PHP Fatal error:  require_once(): Failed opening required '/var/www/clients/client1/web1/web/phpsysinfo/includes/autoloader.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/clients/client1/web1/web/phpsysinfo/index.php on line 34
[Mon Nov 15 12:11:17 2010] [error] [client 193.253.141.66] File does not exist: /var/www/neuro-media.net/web/images/logo2.png, referer: http://forum.hardware.fr/hfr/WindowsSoftware/domaine-sujet_119632_1.htm
[Mon Nov 15 12:11:17 2010] [error] [client 193.253.141.66] File does not exist: /var/www/error/404.html, referer: http://forum.hardware.fr/hfr/WindowsSoftware/domaine-sujet_119632_1.htm
[Mon Nov 15 18:39:30 2010] [warn] [client 10.0.0.138] mod_fcgid: stderr: PHP Warning:  phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /var/www/clients/client1/web1/web/info.php on line 3
[Mon Nov 15 18:43:00 2010] [warn] [client 10.0.0.138] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Nov 15 18:43:00 2010] [error] [client 10.0.0.138] Premature end of script headers: admin.php3
[Mon Nov 15 18:43:00 2010] [error] [client 10.0.0.138] File does not exist: /var/www/error/500.html
[Mon Nov 15 23:27:20 2010] [warn] [client 10.0.0.138] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Nov 15 23:27:20 2010] [error] [client 10.0.0.138] Premature end of script headers: admin.php3
[Mon Nov 15 23:27:20 2010] [error] [client 10.0.0.138] File does not exist: /var/www/error/500.html
[Mon Nov 15 23:27:25 2010] [warn] [client 10.0.0.138] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Nov 15 23:27:25 2010] [error] [client 10.0.0.138] Premature end of script headers: admin.php3
[Mon Nov 15 23:27:25 2010] [error] [client 10.0.0.138] File does not exist: /var/www/error/500.html
As you can see it also have a probleme were ERROR pages are not found (seems to be badly created by ISPC)

Can someone try to help me to correct theses errors, it would be great.
Reply With Quote
Sponsored Links