PHP Install Not Working-Help!

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


Joined: 24 Feb 2003
Posts: 1
Location: Alaska

PostPosted: Tue Feb 25, 2003 2:30 am    Post subject: PHP Install Not Working-Help! Reply with quote

Dear Whomever:

After installing Abyss Web Server and PHP, I followed the install instructions to the letter on the website for PHP. When I loaded a sample HTML file with a PHP script, it displayed the html text, but "NADA" for the PHP script: No tag header, no raw script text, NOTHING! :cry:

The simple html page w/ PHP script follows:

<HTML>
<HEAD>
<TITLE>Today's Date</TITLE>
</HEAD>
<BODY>
<P>Today's Date (according to this Web server) is
<?php

echo( date("l, F dS Y.") );

?>
</BODY>
</HTML>

Obviously PHP has not been installed correctly, or this small script would have printed out the machine date. How can I trouble shoot the PHP install so that I can be sure the Abyss/PhP connection is working right? I'm not sure that I need to look at the php.ini file, or this is a Abyss or browser setting problem.

Sure could use some help. I think Abyss has lotsa potential... :wink:

DON
ALASKA
Back to top View user's profile Send private message
Dave
-


Joined: 11 Feb 2003
Posts: 184
Location: United Kingdom

PostPosted: Tue Feb 25, 2003 10:07 am    Post subject: Reply with quote

Step1: Ensure the pae you are testing as saved with the ".php" extension.
Step2: Check your path to PHP.exe is correct
Step3: Did you restart the server?
Step4: Did you app the ".php" extention to the server config?
_________________
Any information contained herein is provided in "as is" condition without any guarantee for its accuracy, contains no warrantees - express or implied - and confers no rights.
X1 1.1.4: http://www.aprelium.com/news/abwsx1u1.html
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Feb 26, 2003 1:20 am    Post subject: Re: PHP Install Not Working-Help! Reply with quote

drjs, check that you have associated extension php with the php.exe and not extension .php (don't use the dot.)
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Dave
-


Joined: 11 Feb 2003
Posts: 184
Location: United Kingdom

PostPosted: Wed Feb 26, 2003 1:37 pm    Post subject: Reply with quote

Sorry, force of habbit adding the "." :D
_________________
Any information contained herein is provided in "as is" condition without any guarantee for its accuracy, contains no warrantees - express or implied - and confers no rights.
X1 1.1.4: http://www.aprelium.com/news/abwsx1u1.html
Back to top View user's profile Send private message Visit poster's website
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