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.
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.
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!"; ?>
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.
Guest Geoff Posted June 10, 2011 Posted June 10, 2011 You misspelled your username. And you are actually on Johnny.
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
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.
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.
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.
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?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now