First, read through this, and then obviously stop Apache if there's
anything new here for you to try.

In the directory you extracted PHP to (I'm assuming you're using the
.zip version), copy sapi/php4apache.dll (or php4apache2.dll for Apache
2) to Apache's module's directory.

Then, make sure you also added this line to httpd.conf:

(Apache 1.3.x)
LoadModule php4_module modules/php4apache.dll

(Apache 2)
LoadModule php4_module modules/php4apache2.dll

And finally, start Apache.

For more information:

Apache 1.3.x:
http://www.php.net/manual/en/install.apache.php#install.apache.windows
Apache 2:
http://www.php.net/manual/en/install.apache2.php#install.apache2.windows



Previous Message:
-------------------------------------------------

Dear PHP [EMAIL PROTECTED]

   I am writing to you because I am at my wit's end as to how to get PHP
working on my local machine

   The main problem is that Apache isn't seeing my PHP.  Whenever I try
to run a phpinfo() test file, all I get is a blank screen.  When I right
click within my browser, I can view the html + the php, but apparently
the PHP never sees the file.

    My operating system is XP.  I want (tried to) set this up so that I
can develop on my local machine, before sending files to my web site.
The version of PHP that I tried to install is the latest (php
4.3.0-win32)

    I already re-named the php.ini-dist file php.ini.  I also moved that
file to the c\windows directory.  I also made the following changes to
the Apache configuration file :

                                Added :

                                       AddType application/x-httpd-php
.php .phtml .html
                                       AddType
application/x-httpd-php-source .phps

    This is my second attempt to install PHP.  I originally downloaded
what was supposed to be a complete Integrated Development Environment
from PHPDEV.  I have since deleted all those files, including complete
installations of PHP and Apache, but whenever I double click on the PHP
script interpreter, I get error messages that make reference to files
that I have already deleted. So one of my questions is, WHERE can I make
changes that reflect my current installation. (I have since downloaded
Apache from their site, MYsql, and PHP from php.net)


PLease help.  I am about ready to quit

Bob Teague



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to