Just installed php

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


Joined: 29 Oct 2003
Posts: 95
Location: MI USA

PostPosted: Thu Mar 18, 2004 1:44 pm    Post subject: Just installed php Reply with quote

I just installed php and did the stuff in the console but whenever I go to a php page on my server IE just displays the source. Ideas?
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Thu Mar 18, 2004 1:49 pm    Post subject: Reply with quote

try running through the php setup page again

also if you have a php script it must be named *.php
change * to your file name
_________________
Olly
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu Mar 18, 2004 2:25 pm    Post subject: Reply with quote

Try my tutorial http://os17fan.cjb.net
if you need further assistance , than
contact me through my MSN Messenger

trustpunk@hotmail.com
Back to top View user's profile Send private message Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Thu Mar 18, 2004 11:29 pm    Post subject: Reply with quote

It shows the source code because you didn't install PHP right. So try all the reccomendations other people gave. If you need more help, I can try.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
jmoschetti45
-


Joined: 29 Oct 2003
Posts: 95
Location: MI USA

PostPosted: Fri Mar 19, 2004 1:06 am    Post subject: Reply with quote

Well I know whats wrong now but fixing it screws the rest of my site up. I don't have "/" as a cgi path. When I do add it none of my regular HTML pages load anymore.
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Fri Mar 19, 2004 1:33 am    Post subject: Reply with quote

In that case, keep all of your PHP scripts in the CGI-BIN directory.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
jmoschetti45
-


Joined: 29 Oct 2003
Posts: 95
Location: MI USA

PostPosted: Fri Mar 19, 2004 1:40 am    Post subject: Reply with quote

That works but its inconvenient. Lets say I want to run /index.php which has a link to /foobar.html on it. foobar.html won't load. So I have to put in a /index.html which redirects to /cgi-bin/index.php. Are there better alternatives?
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Fri Mar 19, 2004 1:45 am    Post subject: Reply with quote

The only other alternative is to uninstall everything, and then reinstall everything.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Mar 19, 2004 8:11 am    Post subject: Reply with quote

Use /*.php as a cgi path 8)
Back to top View user's profile Send private message Visit poster's website
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Fri Mar 19, 2004 1:23 pm    Post subject: Reply with quote

TRUSTpunk wrote:
Use /*.php as a cgi path 8)
But only if you have the latest version of Abyss otherwise it won’t work
_________________
Olly
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Mar 19, 2004 3:04 pm    Post subject: Reply with quote

That is exactly correct , upgrade to 1.2.2.2 if
you don't already have it , it has much better
cgi path's so you can have full controle.
Back to top View user's profile Send private message Visit poster's website
jmoschetti45
-


Joined: 29 Oct 2003
Posts: 95
Location: MI USA

PostPosted: Sat Mar 20, 2004 4:31 pm    Post subject: Reply with quote

Now it works! Didn't think you could specify extensions in the cgi path.
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sat Mar 20, 2004 5:01 pm    Post subject: Reply with quote

Well , thats called a Pattern ! :D

Glad it works !
Back to top View user's profile Send private message Visit poster's website
ghb
-


Joined: 21 Mar 2004
Posts: 28

PostPosted: Sun Mar 21, 2004 8:29 am    Post subject: Reply with quote

TRUSTpunk wrote:
Try my tutorial http://os17fan.cjb.net


Thank you for the link. In addition to the Abyss tutorials for setting up PHP, ASP, and Perl this should help me out.

I'm currently going through some of W3C's and Big Web Master's materials.

Don't know if I'll ever be "fluent", but hopefully be able to get around. Thanks again for the link :).
Back to top View user's profile Send private message
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sun Mar 21, 2004 8:31 am    Post subject: Reply with quote

W3C pratically owns the internet; but in a good way.
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website 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