No php =(

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
mrpaul
-


Joined: 23 Sep 2005
Posts: 18

PostPosted: Fri Sep 23, 2005 7:06 pm    Post subject: No php =( Reply with quote

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 View user's profile Send private message
mrpaul
-


Joined: 23 Sep 2005
Posts: 18

PostPosted: Fri Sep 23, 2005 7:12 pm    Post subject: Reply with quote

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 View user's profile Send private message
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Sat Sep 24, 2005 12:25 am    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Sat Sep 24, 2005 8:15 am    Post subject: Reply with quote

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 View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
mrpaul
-


Joined: 23 Sep 2005
Posts: 18

PostPosted: Sat Sep 24, 2005 11:32 am    Post subject: Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Sep 24, 2005 12:19 pm    Post subject: Re: No php =( Reply with quote

mrpaul,

Please follow the instructions in http://www.aprelium.com/abyssws/php5win.html to install PHP5 on Windows.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Sat Sep 24, 2005 1:37 pm    Post subject: Reply with quote

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 View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
mrpaul
-


Joined: 23 Sep 2005
Posts: 18

PostPosted: Sat Sep 24, 2005 1:46 pm    Post subject: Reply with quote

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 View user's profile Send private message
mrpaul
-


Joined: 23 Sep 2005
Posts: 18

PostPosted: Sat Sep 24, 2005 2:07 pm    Post subject: Reply with quote

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 View user's profile Send private message
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Sat Sep 24, 2005 2:12 pm    Post subject: Reply with quote

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 View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group