php-install | 2003092
Date: 09/30/03
- Next message: Adam Dear: "[PHP-INSTALL] Passing information via a url"
- Previous message: Rob A Brooks: "RE: [PHP-INSTALL] $PHP_SELF"
- Maybe in reply to: Shadow: "[PHP-INSTALL] Re: PHP w/Apache on WinXP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
becarefull if you are using notepad to creat you .php file. I ran into this problem before and I use notepad in the window environment. What notepad did was append a .txt to your file name even if you named .php. Under window explore, it don't show the extension.
save it as asci and double quote your file.php name.
-----Original Message-----
From: Jim [mailto:webmaster <email protected>]
Sent: Monday, September 29, 2003 10:25
To: php-install <email protected>
Subject: [PHP-INSTALL] Re: PHP w/Apache on WinXP
I too am having much the same problem. I followed the installation
instructions carefully.
I installed Apache on WinXP system to the directory c:\apache. Documents are
in c:\apache\htdocs. the php.ini is in both c:\windows and c:\apache (just
in case). Apache is running as a service and it is running (plus I've tried
stopping and starting and restarting). In c:\apache\conf the httpd.conf file
has been modified to have these two directives
LoadModule php4_module c:/apache/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
The file I am trying to access is "test.php" in c:\apache\htdocs and has
only one line (below)
<?php phpinfo(); ?>
I try to access it by opening a browser, (IE6) and opening document
http://localhost/test.pnp
I get the "FILE DOWNLOAD" dialog box asking me if I want to save or open the
file and if I want to open it, open it with what. It's clear the system is
not recognizing the PHP suffix.
I know I've missed something or not changed something correctly but for the
life of me I can't figure out what it is. It worked briefly on one system
and then stopped working (same symptoms as above) after MYSQL was installed.
I've just done a completely new Apache Install and PHP on another system.
Unfortunately same problem.
Any suggestions or areas I could check would be greatly appreciated.
Thanks,
Jim
"Shadow" <shadow <email protected>> wrote in message
news:20030918011753.90264.qmail <email protected>
> You didn't give much info...........did you configure Apache? Where is
the
> document root? Is that where you are saving or trying to access the
files?
> Did you configure PHP? Where is its document root? Is Apache running?
What
> do the error logs say for Apache and PHP? And so on.
> Shadow
- Next message: Adam Dear: "[PHP-INSTALL] Passing information via a url"
- Previous message: Rob A Brooks: "RE: [PHP-INSTALL] $PHP_SELF"
- Maybe in reply to: Shadow: "[PHP-INSTALL] Re: PHP w/Apache on WinXP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

