Pooj Posted June 10, 2011 Posted June 10, 2011 I am new to heliohost. I am trying to configure the php but somehow getting hard time run php pages. http://phpdeveloper.heliohost.org/miki/try1.php For simple php file above, i am getting 500 error on browser. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@phpdeveloper.heliohost.org and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. it runs the html part but php execution is still missing http://phpdeveloper.heliohost.org/miki/index.htm Kindly please advice me how can i run php scripts on website. Quote
Guest Geoff Posted June 10, 2011 Posted June 10, 2011 Please post your username and server. It is likely that you have exceeded your process limit. Quote
Byron Posted June 10, 2011 Posted June 10, 2011 Also have you tried a simple "Hello World" script on your site? <?php echo "Hello World!"; ?> Quote
Pooj Posted June 10, 2011 Author Posted June 10, 2011 Hi, My username = poojsan I am on stevie (99% sure) server. This is a fresh account. Also, i tried the hello world script and it is showing me the same error. Quote
Guest Geoff Posted June 10, 2011 Posted June 10, 2011 You misspelled your username. And you are actually on Johnny. Quote
Pooj Posted June 10, 2011 Author Posted June 10, 2011 Hi Thanks a lot for point it out. Yes, i am on johnny server. My username is poojasan. Kindly help me out why my php code is not working. I have hello world code specified in below file, which is not wrking. http://phpdeveloper.heliohost.org/miki/index.php Quote
Guest Geoff Posted June 11, 2011 Posted June 11, 2011 Sorry, I can't verify whether the PHP file is working or not because johnny is down. You really should move to stevie if all you need is PHP. Quote
Byron Posted June 11, 2011 Posted June 11, 2011 Did you add anything to your .htaccess file to make php work on your site? Something like this: application/x-httpd-php5 You don't need to add anything for php to work. Quote
Guest Geoff Posted June 11, 2011 Posted June 11, 2011 Looks like PHP is not running on his site. It's not invoking PHP, just returning the contents of the PHP file. Quote
Byron Posted June 11, 2011 Posted June 11, 2011 His page is returning this as a content type: Content-Type: application/x-httpd-php5 http://byrondallas.heliohost.org/php/tools...n&follow=on It should be returning this: Content-type: text/html So I'm thinking he's got something misconfigured in his htaccess file? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.