View previous topic :: View next topic |
Author |
Message |
Angel -
Joined: 17 Nov 2003 Posts: 157 Location: Everett, Washington
|
Posted: Tue Dec 30, 2003 1:19 pm Post subject: HEEEEEEELLLLLLPPPPP |
|
|
Hey guys,
I installed php or so I thought but when I try to save files with a php extentsion my comp says it is a Home publishing print file and the php doesn't work. Not sure what I may have done wrong any help would be sooooooooooo appriciated.
Thanks Angel _________________ Noize Pollution | Angel's Online | Free Net Builders | Pagan Portal |
|
Back to top |
 |
 |
The-Hunter -
Joined: 18 Jul 2003 Posts: 74 Location: Virginia, USA
|
Posted: Tue Dec 30, 2003 3:25 pm Post subject: |
|
|
could you please give more info on what you are trying to do?
The-Hunter |
|
Back to top |
 |
 |
whackaxe -
Joined: 28 Jun 2003 Posts: 90
|
Posted: Tue Dec 30, 2003 11:18 pm Post subject: |
|
|
if you set up abyss correctly, it shoudln't matter what the extension is associated to. i have mine associated toIE or my editor i think. have you actually tried running a simple script? |
|
Back to top |
|
 |
Angel -
Joined: 17 Nov 2003 Posts: 157 Location: Everett, Washington
|
Posted: Wed Dec 31, 2003 8:31 am Post subject: more detail |
|
|
I went to php.net and downloaded php and installed it. When I performed the install the folder didn't show up in c:/programfiles, where the abyss webserver is installed, it showed up in c:/ . And now when I try to run a script with php on it. The scipt doesn't work. And as I said before any files saved in my Htdocs folder as .php files are associated with the extension as a microsoft home publishing print program and it won't even open correctly.
Hope this helps you help me...lol...thats about all I can thank of.
Thanks,
Angel _________________ Noize Pollution | Angel's Online | Free Net Builders | Pagan Portal
Last edited by Angel on Wed Dec 31, 2003 1:07 pm; edited 1 time in total |
|
Back to top |
 |
 |
whackaxe -
Joined: 28 Jun 2003 Posts: 90
|
Posted: Wed Dec 31, 2003 12:34 pm Post subject: |
|
|
could you re-read your post and make them understandable please :?
the opening problem shouldnt stop the processing of .php files seeing as abyss sends them directly to the interpreter.
the standard install directories for PHP and Abyss are respectivly
C:\PHP\
C:\Program Files\Abyss Web Server\
what you could do i, erase your abyss.conf file. when you next start up abyss, it should recreate a conf file.(not shure about this, confirmation anyone?) the re read the part that tells you how to set up php in the docs or on ths site |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Wed Dec 31, 2003 2:05 pm Post subject: |
|
|
whackaxe is correct.
It doesn't matter what .php is associated with, as long as you have the cgi interpreter pointed in the right direction.
Go into your server Console > Server Configuration > Advanced > CGI Parameters.
Make sure it says C:\PHP\php.exe in the cgi interpreter.
And make sure it says /*.php in the cgi paths.
If it makes you feel better, right-click on a .php file and hit properties.
Then change Opens with: to something else. |
|
Back to top |
|
 |
Angel -
Joined: 17 Nov 2003 Posts: 157 Location: Everett, Washington
|
Posted: Wed Dec 31, 2003 3:29 pm Post subject: still not running scripts |
|
|
I checked my cgi parameters and everything is setup correctly. Yet for some reason the scripts still do not work. I am not sure what I am doing wrong. _________________ Noize Pollution | Angel's Online | Free Net Builders | Pagan Portal |
|
Back to top |
 |
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Wed Dec 31, 2003 3:41 pm Post subject: |
|
|
What do mean by "it doesn't work"?
Are you getting errors? a blank page?
What's the script you're trying to run? |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Jan 01, 2004 7:44 pm Post subject: Re: still not running scripts |
|
|
Angel,
If you are double clicking on the PHP script icon in explorer to make it work, this won't work.
For example, if you put a file called test.php in the htdocs/ directory, you should browse (using your browser) http://127.0.0.1/test.php in order to make it work.
The file is served through Abyss, not with explorer. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Angel -
Joined: 17 Nov 2003 Posts: 157 Location: Everett, Washington
|
|
Back to top |
 |
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Sat Jan 03, 2004 3:18 pm Post subject: |
|
|
Angel, if you don't mind me asking, what were you doing wrong??
...for others that might have the same problem. |
|
Back to top |
|
 |
Angel -
Joined: 17 Nov 2003 Posts: 157 Location: Everett, Washington
|
Posted: Wed Jan 07, 2004 2:53 pm Post subject: Problem Was |
|
|
My Comp was having some issues at the time of the PHP Installtion and when I performed the install it corrupted some files, so that would explain why php scripts were not working. After the comp probs were fixed ( we went back to windows 98 XP has to many issues as you may know or have heard) I went in under safe mode & deleted the files then reperformed the installation & wala proplem fixed.
Thanks again,
Angel _________________ Noize Pollution | Angel's Online | Free Net Builders | Pagan Portal |
|
Back to top |
 |
 |
|