500 internal server error for PHP docs in ubuntu 12.04+ISPConfig3
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.
Did you check if there's a syntax error in your PHP script?
Does this simple file work?
Yes the simple php file works but there is another problem
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.
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 15:52.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.