1. Remove the ScriptAlias line
2. Uncomment the AddType line (remove the "#")
3. Try Action application/x-httpd-php "C:/php/php.exe"
4. Restart Apache.

Let us know if you are still having problems.

----- Original Message -----
From: "Suzanne Francis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 28, 2002 12:29 PM
Subject: [PHP-INST] Problems with installation on windows98 with apache


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



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to