View previous topic :: View next topic |
Author |
Message |
drjs -
Joined: 24 Feb 2003 Posts: 1 Location: Alaska
|
Posted: Tue Feb 25, 2003 2:30 am Post subject: PHP Install Not Working-Help! |
|
|
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 |
|
|
Dave -
Joined: 11 Feb 2003 Posts: 184 Location: United Kingdom
|
Posted: Tue Feb 25, 2003 10:07 am Post subject: |
|
|
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 |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Feb 26, 2003 1:20 am Post subject: Re: PHP Install Not Working-Help! |
|
|
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 |
|
|
Dave -
Joined: 11 Feb 2003 Posts: 184 Location: United Kingdom
|
Posted: Wed Feb 26, 2003 1:37 pm Post subject: |
|
|
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 |
|
|
|