View previous topic :: View next topic |
Author |
Message |
mrpaul -
Joined: 23 Sep 2005 Posts: 18
|
Posted: Fri Sep 23, 2005 7:06 pm Post subject: No php =( |
|
|
Hey, i am haveing prob setting up php i read the tutorial
http://www.aprelium.com/abyssws/php.html ther and did what it said but when i go to my page,
HTTP 500 - Internal server error
i dont no what to do,
few thing you sould know;
i am useing the free verison
i am running xp home
i am trying to set up php 5
and i am useing internet explorer. |
|
Back to top |
|
 |
mrpaul -
Joined: 23 Sep 2005 Posts: 18
|
Posted: Fri Sep 23, 2005 7:12 pm Post subject: |
|
|
this was in my cgi log
CGI: [C:\php\php.exe ] URI: /index.php Broken pipe
CGI: [C:\php\php.exe ] URI: /index.php Broken pipe
CGI: [C:\php\php.exe ] URI: /index.php Broken pipe
CGI: [C:\php\php.exe ] URI: /index.php Broken pipe
CGI: [C:\php\php.exe ] URI: /index.php Broken pipe
CGI: [C:\php\php.exe ] URI: /index.php Broken pipe
CGI: [C:\php\php.exe ] URI: /index.php Broken pipe
CGI: [C:\php\php.exe ] URI: /index.php Broken pipe
CGI: [C:\php\php.exe ] URI: /index.php Broken pipe
CGI: [C:\php\php.exe ] URI: /index.php Broken pipe
CGI: [C:\php\php.exe ] URI: /index.php Broken pipe
CGI: [C:\php\php.exe ] URI: /index.php Broken pipe |
|
Back to top |
|
 |
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Sat Sep 24, 2005 12:25 am Post subject: |
|
|
Follow the tutorial here. Then try again and tells us what happens.
Also, post the script you are trying to run. If in doubt, just copy and past this into a .php file:
Code: |
<?php
echo "PHP Works!!!!";
?>
|
|
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Sat Sep 24, 2005 8:15 am Post subject: |
|
|
php.exe -> php-cgi.exe.
Check the path in inturpretters.
If you type the php inturpretter path into windows explorer does it run the program? _________________
 |
|
Back to top |
 |
 |
mrpaul -
Joined: 23 Sep 2005 Posts: 18
|
Posted: Sat Sep 24, 2005 11:32 am Post subject: |
|
|
Ok well first of i tried the tutorial but when i go to view the page it come up with a box saying
PHP ERROR
Error prasring c:\windows\php.ini on line 457
heres whats on line 457
extension_dir = extension_dir = C:/Php/ext/
so i click ok on the error box
and i get
Error 500
Internal Server Error
whats wrong now?
also
MonkeyNation,
i dont no what you mean by inturpretters sorry |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Sat Sep 24, 2005 1:37 pm Post subject: |
|
|
mrpaul wrote: | Ok well first of i tried the tutorial but when i go to view the page it come up with a box saying
PHP ERROR
Error prasring c:\windows\php.ini on line 457
heres whats on line 457
extension_dir = extension_dir = C:/Php/ext/
so i click ok on the error box
and i get
Error 500
Internal Server Error
whats wrong now?
also
MonkeyNation,
i dont no what you mean by inturpretters sorry |
I meant inturpretters somewhere in the control panel, not sure where, otherwise I would have specified. But it doesn't matter, last post told me it wasn't that.
If your line is exactly as you posted, change it to:
Code: | extension_dir = "C:\Php\ext" |
And post the result. _________________
 |
|
Back to top |
 |
 |
mrpaul -
Joined: 23 Sep 2005 Posts: 18
|
Posted: Sat Sep 24, 2005 1:46 pm Post subject: |
|
|
ye thats typeo i chaged that but still get the 500 error i am gona try that tutorial but fisrt sould i re install abyss and php? |
|
Back to top |
|
 |
mrpaul -
Joined: 23 Sep 2005 Posts: 18
|
Posted: Sat Sep 24, 2005 2:07 pm Post subject: |
|
|
oh nvm that tutorial got it to work!
=)
i have a few more questions tho,
sould my php file have a icon? coz atm thery are all opening with notepad.
thanks! |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Sat Sep 24, 2005 2:12 pm Post subject: |
|
|
mrpaul wrote: | oh nvm that tutorial got it to work!
=)
i have a few more questions tho,
sould my php file have a icon? coz atm thery are all opening with notepad.
thanks! |
Nope, but this can be changed.
Depending what version of notepad you have, be carefull, because notepad can screw a wide file up. E.G. If you hold # for a few minutes and save, sometimes it will break it up and save it like that, which would screw up long lines in php files etc. _________________
 |
|
Back to top |
 |
 |
|