View previous topic :: View next topic |
Author |
Message |
cwdlmdd -
Joined: 06 May 2004 Posts: 32 Location: st peters mo
|
Posted: Thu May 06, 2004 5:19 pm Post subject: php install help please |
|
|
I just went through the process that I needed to go through to make php avalable on the server. But it is still not working. As far as I can tell everything is right even to location of the php.exe but it just dose not want to work.
Any sugestions |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Thu May 06, 2004 5:39 pm Post subject: |
|
|
Does it show up like text ?
If so you may be dealing
with double extensions!
Solution: Go to your Web Folder
Click on Tools -> Folder Options
and click on View , unselect "Hide
Extensions For Known File Types" |
|
Back to top |
|
|
cwdlmdd -
Joined: 06 May 2004 Posts: 32 Location: st peters mo
|
Posted: Thu May 06, 2004 10:14 pm Post subject: php |
|
|
It is not showing up as text. the page is showing up blank. there is nothing on it all. Is that the way it should be. I thought that the words hello world would show up some where. |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Thu May 06, 2004 11:41 pm Post subject: |
|
|
Make a blank text file, and put this in it:
Code: | <?php
phpinfo();
?> |
Then rename the text file from .txt to .php and put it in /htdocs (assuming you have the "/*.php" set up in your CGI Configuration). Then go to http://localhost/filename.php (replace the file name with whatever you called it) and tell me what happens. _________________ Bienvenidos! |
|
Back to top |
|
|
cwdlmdd -
Joined: 06 May 2004 Posts: 32 Location: st peters mo
|
Posted: Fri May 07, 2004 4:12 am Post subject: php test |
|
|
Ok it open a program that I use to download programs from the internet. So I guess that it did what it was susppose to do? |
|
Back to top |
|
|
cwdlmdd -
Joined: 06 May 2004 Posts: 32 Location: st peters mo
|
Posted: Fri May 07, 2004 4:16 am Post subject: php test |
|
|
this is the test.php that I was trying to get to work
<html>
<body>
<?php echo "Hello World"; ?>
</body>
</html>
Is there something there that sould not be? I got this from a internet web site. Should it be saved as an html or a php? |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Fri May 07, 2004 4:32 am Post subject: |
|
|
Worked for me.
What operating system do you use? _________________ Bienvenidos! |
|
Back to top |
|
|
cwdlmdd -
Joined: 06 May 2004 Posts: 32 Location: st peters mo
|
Posted: Fri May 07, 2004 5:28 am Post subject: php test |
|
|
I am using windows 98 with a server program called abyss. I don't understand why one script would work and the other did not.
I tried the one that was posted on this site. |
|
Back to top |
|
|
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Fri May 07, 2004 5:49 am Post subject: |
|
|
What are your CGI perameters?
And you said you tried a script and it worked? _________________ Bienvenidos! |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Fri May 07, 2004 3:31 pm Post subject: |
|
|
You Need The Following !
Microsoft Data Access Components
Your server will not run PHP script untill
it has been installed , this happened to me! |
|
Back to top |
|
|
cwdlmdd -
Joined: 06 May 2004 Posts: 32 Location: st peters mo
|
Posted: Fri May 07, 2004 3:55 pm Post subject: php test |
|
|
Yes I tried this script that was given to me on this forum
<?php
phpinfo();
?>
although I did not add the <html> </html> to it. It still ran (I think) because it opened up a download with for the one program that I us when I download from the internet.
So I don't really knowwhat is going on here. also what is and where do I get the Microsoft Data Access Components that TRUSTpunk is talking about?
Also here are the CGI settings
CGI Interpreters
Interpreter Associated Extensions
c:\php\php.exe php
CGI Paths
Path
/cgi-bin
/
User CGI Environment Variables
Name Value
REDIRECT_STATUS 200
I believe that this is right? |
|
Back to top |
|
|
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Fri May 07, 2004 4:11 pm Post subject: |
|
|
Check download.com , its their ! |
|
Back to top |
|
|
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
|
Back to top |
|
|
ZheCk -
Joined: 09 May 2004 Posts: 9
|
Posted: Sun May 09, 2004 11:35 am Post subject: Installation? |
|
|
I'm far before that:
I even can't find info for making php avalable on the server!!!
Where can I find that?
:\
I'm using
Abyss Web Server X1 (v 1.2.2.2)
Aprelium Technologies
Thanks! |
|
Back to top |
|
|
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
|
Back to top |
|
|
ZheCk -
Joined: 09 May 2004 Posts: 9
|
Posted: Sun May 09, 2004 3:26 pm Post subject: :((( |
|
|
DAMM'it!
I didn't understand that Abyss Web Server on the homepage was a link!!!
Sorry to bother, not so smart today!
:) |
|
Back to top |
|
|
cwdlmdd -
Joined: 06 May 2004 Posts: 32 Location: st peters mo
|
Posted: Wed May 19, 2004 5:07 am Post subject: php help |
|
|
Thanks for the help!! If figured out what the probem was. I forgot how dum windows 98 can be when it comes to finding a file. I had to go back into the abyss setup for php and point it directly to the folder that the php.exe was in to get it to work. |
|
Back to top |
|
|
|