php-install Digest 30 Mar 2002 16:10:11 -0000 Issue 769
Topics (messages 6509 through 6511):
Re: Installing PHP on Win98 with PWS
6509 by: Philip J. Newman
PHP install on Apache win XP
6510 by: Mark Knapcik
PHP install on Apache win 2000 Pro
6511 by: John D.Wiles
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
----- Original Message -----
From: "Brett Moyer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 30, 2002 4:56 PM
Subject: [PHP-INST] Installing PHP on Win98 with PWS
> Can anyone help I followed all inst. in the books I have and in the dl
> documents that came with Php but when I try a page it bombs
>
> Brett Moyer
> 407-851-7913
> [EMAIL PROTECTED]
>
--- End Message ---
--- Begin Message ---
Iv'e been trying to install php on my machine, which already has apache and
mysql successfully installed. I did all the instructions in the install
file that pertained to my configuration, and when I got to access and
install script for a forum so that it can put tables in the mysql db, IE
askes me if i want to download the php file instead of running it.
Whats wrong?
--- End Message ---
--- Begin Message ---
Can anyone assist me with this strange problem?
After installing PHP on my WIndows 2000 Pro machine with Apache web server, when I run
the suggested "test" program:
<?php phpinfo();?>
at http://127.0.0.1/test.php the expected "phpinfo" page is displayed in beautiful
html.
However, the following script will not run:
<?php echo "This is a test"; ?>
Strangely though, the following will run:
<?php
echo "This is a test";
<?php phpinfo();?>
?>
as expected with This is a test displayed before the phpinfo HTML.
Then when I cut the <?php phpinfo();?> out of the script and re-run it, I get:
This is a test
as originally expected! until I try again in a NEW browser window then it will not
work again! What gives!!???
Windows 2000 Professional machine
Apache 1.3.22 web server with several virtual hosts
IIS is running for FTP only
I download the PHP 4.1.2 installer [920Kb] and ran the install. Then I added the
recommended three lines to my Apache http.conf file:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
I moved php4ts.dll to the windows/system
I wanted to do the sapi install so I had to "manually" create the php/sapi directory,
download the zip package to find the php4apache.dll file, and then copy it into the
php/sapi directory.
The only change I made to the php.ini was doc_root = c:\apache\apache\htdocs
Please help.
- John
_____________________________________________________________
Get a free email account at http://freemail.wwwddd.com
_____________________________________________________________
Run a small business? Then you need professional email like [EMAIL PROTECTED] from
Everyone.net http://www.everyone.net?tag
--- End Message ---