Hi,

My name is Suzanne and I'm trying to install PHP4 and am having a few problems.

I have windows 98
I downloaded Apache 
I downloaded PHP4 windows installer

I followed the wizard for apache and have tested to see that it works (when I start it 
I see one MS-Dos window that says its running and one or two others flash onto the 
screen and disapear.

PHP is loaded into c:/Php

In the  Apache  httpd.conf file I have put the following information

ServerName localhost

ScriptAlias /php/ ""c:/Php/""  (have also tried /php4/ ""c:/Php/""  )

#AddType application/x-httpd-php .php .phtml .html .php4

Action application/x-httpd-php /Php/php.exe


--------------------------------------------------------------------------------

To test PHP I have tried creating the following in notepad

<? phpinfo() ?>

saved as phpinfo.php in htdocs of apache. 
Opened in IE6 as http://localhost/phpinfo.php gives screen with 
<? phpinfo() ?>

If <html> <body>  </html> </body>
is added around the above I get a blank screen

--------------------------------------------------------------------------------

I have also tried saving the well known Hello World.
On my computer I get a blank screen.
If I load it to my web page on free.fr which supports PHP I
get Hello World.

--------------------------------------------------------------------------------

I guess my computer is not recognizing PHP.
Can anyone see what could be going wrong.
Thanks a million
Suzanne
 

Reply via email to