Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 16th November 2010, 21: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
 

Bookmarks

Tags
error 500, error.log, php

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when install ISPConfig 2 with components built from source X-admin Installation/Configuration 5 30th April 2010 14:22
php eating cpu shajazzi Server Operation 15 15th August 2007 02:19
Virtual Hosting Not Working stirfry Installation/Configuration 26 7th August 2007 11:53
php on sites not working - fresh install matej Installation/Configuration 2 29th June 2007 20:01
ubuntu ispconfig joomla .htaccess steve1084 General 8 6th January 2007 16:55


All times are GMT +2. The time now is 18:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.