HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   500 internal server error for PHP docs in ubuntu 12.04+ISPConfig3 (http://www.howtoforge.com/forums/showthread.php?t=59059)

arvindikchari 12th October 2012 04:02

500 internal server error for PHP docs in ubuntu 12.04+ISPConfig3
 
Hello

I created a subdomain "sd.domain.com" using Add New Website button.

However while HTML files are being shown, for PHP files a message "500 Internal Server Error" is being shown.

I am using the latest stable version of ISPConfig 3 on a Ubuntu 12.04 VPS.

In the apache logs only multiple messages conveying same info- that "favicon.ico" is missing are there-- now I have uploaded that as well-- however there is no other message in apache logs.

Any help would be appreciated.

Thanks,
Arvind.

falko 12th October 2012 13:02

Did you check if there's a syntax error in your PHP script?

Does this simple file work?

PHP Code:

<?php
phpinfo
();
?>


arvindikchari 12th October 2012 13:29

Yes the simple php file works but there is another problem
 
Hi

I uploaded the simple PHP file you had provided-- and it works perfectly.

Later I checked and saw that the script which is giving 500 error requires Ioncube loader.

I copied the Ioncube files to the web folder, and when I ran the ioncube installer it gives an error that "Open_Basedir restriction is in effect"

Please let me know how to resolve this-- also this same problem will be there for a few more domains where I have to install the same Ioncube encoded script.

Regards,
Arvind.

falko 13th October 2012 12:57

You must add all needed directories to the open_basedir field on the Options tab of that website in ISPConfig.


All times are GMT +2. The time now is 14:21.

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