Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Error 500 when running php
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Error 500 when running php
Error 500 when running php
31-07-2010 12:07 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi
I have been trying to install a clean version of Wordpress 3.0.1 but have not been successful, as I get an error 500 message when I try to run the file /wp-admin/ install.php. I thought it was a corruption of the file and despite 2 fresh uploads I get the same error. So I ran a 'hello world' program and I get the same error, as shown below.
Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: helloworld.php
If you think this is a server error, please contact the webmaster.
Error 500
the hello world script is
<html>
<head>
<title>My First PHP Page</title>
</head>
<body>
<?php
echo "Hello World!";
?>
</body>
</html>
AII I want to do is to install and run Wordpress, the 'hello world' was just to see if it is a problem with PHP, Any help/advice gratefully received.
thanks
I have been trying to install a clean version of Wordpress 3.0.1 but have not been successful, as I get an error 500 message when I try to run the file /wp-admin/ install.php. I thought it was a corruption of the file and despite 2 fresh uploads I get the same error. So I ran a 'hello world' program and I get the same error, as shown below.
Server error!
The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: helloworld.php
If you think this is a server error, please contact the webmaster.
Error 500
the hello world script is
<html>
<head>
<title>My First PHP Page</title>
</head>
<body>
<?php
echo "Hello World!";
?>
</body>
</html>
AII I want to do is to install and run Wordpress, the 'hello world' was just to see if it is a problem with PHP, Any help/advice gratefully received.
thanks
Message 1 of 5
(2,708 Views)
4 REPLIES 4
Re: Error 500 when running php
31-07-2010 12:55 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
hurrah! Cign thank you for your post. It solved my problem - it was all about permissions.
cign's post at
http://community.plus.net/forum/index.php/topic,85127.0.html
cign's post at
http://community.plus.net/forum/index.php/topic,85127.0.html
Message 2 of 5
(745 Views)
Re: Error 500 when running php
05-08-2010 9:13 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi guys,
Didn't think I needed to start a new topic as there was one here
I have a slight problem with my ccgi webspace.
When trying to run any page with a .php extension i am presented with a 500 server error.
i have given the scripts chmod 777 permissions just to test and I'm still presented with the same issue.
I have also tried running the below pages.
info.php
and hello.php
both of which throw up a 500 server error.
I have tested the site on my personal and work based Apache server running PHP5
I have tried going through Plus.net ticket system and they advised me twice to come here.
I don't think it's my code, even running simple HTML in a php file fails.
any suggestions would be much appreciated
Didn't think I needed to start a new topic as there was one here
I have a slight problem with my ccgi webspace.
When trying to run any page with a .php extension i am presented with a 500 server error.
i have given the scripts chmod 777 permissions just to test and I'm still presented with the same issue.
I have also tried running the below pages.
info.php
<?PHP
phpinfo();
?>
and hello.php
<HTML>
<BODY>
Hello World
</BODY>
</HTML>
both of which throw up a 500 server error.
I have tested the site on my personal and work based Apache server running PHP5
I have tried going through Plus.net ticket system and they advised me twice to come here.
I don't think it's my code, even running simple HTML in a php file fails.
any suggestions would be much appreciated
Message 3 of 5
(745 Views)
Re: Error 500 when running php
05-08-2010 9:25 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The mechanism we use to separate user's permissions (suexec) will not run files which it considers the permissions to be too loose on, so setting it to 777 will cause the script to fail.
Try changing it to 0700, that should fix the issue. Also the 'PHP' tag should be in lower case, although it doesn't seem to make any difference when I've tested it, the lower case version is the correct one.
Try changing it to 0700, that should fix the issue. Also the 'PHP' tag should be in lower case, although it doesn't seem to make any difference when I've tested it, the lower case version is the correct one.
Message 4 of 5
(745 Views)
Re: Error 500 when running php
05-08-2010 9:40 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi there,
Thanks for your reply,
I feel a bit embarrassed now, that seems to have done the trick.
PS using upper or lower case makes no difference.
dick:quote
Thanks for your reply,
I feel a bit embarrassed now, that seems to have done the trick.
PS using upper or lower case makes no difference.
dick:quote
Message 5 of 5
(745 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Error 500 when running php