Fedora 12 x86_64 [ISPConfig 3] 500 Internal Server Error

Discussion in 'HOWTO-Related Questions' started by nerden, Mar 20, 2010.

  1. nerden

    nerden New Member

    After following the turorial I created my 1st site with PHP enabled and CGI set to CGI, to test it worked I created a phpinfo() in the root.
    Nothing loaded other than a blank page. Assuming i picked the wrong CGI type, I picked the next one in the list. waited 10 mins or so then tried the site again.

    After trying all the possible options in the ISPConfig's CGI list including suPHP Fast-CGI, CGI etc. I can make it give a 500 Internal Server Error or a blank page.

    HTML documents work but no PHP
    Has anyone encountred this problem before?

    Thanks in advance,
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Are there any errors in Apache's error log?
     
  3. nerden

    nerden New Member

    [Sun Mar 21 13:49:00 2010] [error] [client 78.105.112.5] PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/local/ispconfig/interface/lib/classes/tpl.inc.php on line 1232, referer: http://www.vaines.org:8080/
    [Sun Mar 21 14:55:45 2010] [error] [client 221.192.199.49] File does not exist: /usr/local/ispconfig/interface/web/fastenv
    [Sun Mar 21 15:10:54 2010] [error] [client 221.192.199.49] File does not exist: /usr/local/ispconfig/interface/web/fastenv
    [Sun Mar 21 16:23:32 2010] [error] [client 222.208.183.218] File does not exist: /usr/local/ispconfig/interface/web/fastenv
    [Sun Mar 21 17:06:40 2010] [error] [client 222.208.183.218] script not found or unable to stat: /var/www/cgi-bin/azenv.pl
    [Sun Mar 21 17:11:19 2010] [error] [client 221.192.199.49] File does not exist: /usr/local/ispconfig/interface/web/fastenv
    [Sun Mar 21 17:25:16 2010] [error] [client 221.192.199.49] script not found or unable to stat: /var/www/cgi-bin/textenv.pl
    [Sun Mar 21 18:22:09 2010] [error] [client 221.192.199.49] File does not exist: /usr/local/ispconfig/interface/web/fastenv
    [Sun Mar 21 18:43:00 2010] [error] [client 222.208.183.218] File does not exist: /usr/local/ispconfig/interface/web/intl
    [Sun Mar 21 18:57:45 2010] [error] [client 221.192.199.49] File does not exist: /usr/local/ispconfig/interface/web/fastenv
    [Sun Mar 21 19:08:17 2010] [error] [client 221.192.199.49] File does not exist: /usr/local/ispconfig/interface/web/fastenv
    [Sun Mar 21 19:08:18 2010] [error] [client 125.230.159.113] PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/local/ispconfig/interface/lib/config.inc.php on line 49
    [Sun Mar 21 19:08:18 2010] [error] [client 125.230.159.113] PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/local/ispconfig/interface/lib/classes/tpl.inc.php on line 1230
    [Sun Mar 21 19:08:18 2010] [error] [client 125.230.159.113] PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/local/ispconfig/interface/lib/classes/tpl.inc.php on line 1232
    [Sun Mar 21 19:33:47 2010] [error] [client 221.192.199.49] File does not exist: /usr/local/ispconfig/interface/web/fastenv
    [Sun Mar 21 22:18:08 2010] [error] [client 221.192.199.49] File does not exist: /usr/local/ispconfig/interface/web/fastenv



    I am not overly sure what this all means
     
  4. robertlouwen

    robertlouwen New Member

    Hello Nerden,

    Today I had something similar to your problem.

    On my website I use b2evolution ( weblog ) and Joomla I had uploaded them as owner of that website and the website has suphp enabled.
    Also I created a phpinfo.php file. I did that from a command prompt and I was logged in as root.

    Weblog and Joomla are working as it should be but phpinfo.php gives error 500.
    Now I "chown" the phpinfo.php file to the owner and the group of this website.

    ( in my case: chown web1:client1 phpinfo.php )

    You can give this a try ...
     
  5. nerden

    nerden New Member

    Naah,Ii already tried that, I also tried CHMOD -R 777 for the dir you mentioned
    in the end i've sacked it and gone with virtualmin which is doing what I want it to

    Cheers anyway
     

Share This Page