Hi,
I'm trying to configure php 4.3.0 for apache 2 (or 1.3) on windows XP.

All install tutorials I've come across instruct me to include a line in the apache httpd.conf file to load the php4_module from the file php4apache.dll:

LoadModule php4_module "c:/Program Files/php/sapi/php4apache.dll"

(I've installed php in program files)

THE PROBLEM IS that this file, php4apache.dll, can't be found anywhere in the php folder (or any subfolder therewithin) that I got from php.net:
http://www.php.net/get_download.php?df=php-4.3.0-Win32.zip

What gives?

Also, some tutorials mention to copy php4ts.dll into the windows folder,while others don't mention it at all. This file also does not appear anywhere in the php4.3.0 that I unzipped.

Any comments?

-mghfaust

    First problem I see is that you are trying to use php4apache.dll with Apache 2.x. You should be using php4apache2.dll, both of which will exist in the phpextractdisk:\phpextractdirectory\sapi directory. And as long as you put your php directory in your path and reboot you don't need to copy the php4ts.dll anywhere.

      you should use apache 1.3.2.7, if you already arnt..

      to find that .dll go to start, then find, then find files or programs.. type in the .dll and it should tell you were its at.. most likely its hidden within your folder.. so drag the .dll out of the search box and put it were it needs to go

      ofSHIZ

        jerdo,
        I have looked hi and low, in my PHP folders and Apache folders, on PHP.net and with Google, and have not found anything anywhere, apparently in the whole world, that explains what "phpextractdisc" is. Could you please explain where (and what) is this entity you refer to in your message?

        -mghfaust

          8 days later

          Did you use the installer.exe or Win32.zip version of PHP 4.3.0? If you used the former (installer.exe) then those files will not exist. Uninstall PHP and then reinstall (extract) using the later (Win32.zip) - you'll find the files you need once you've done this.

            I think all they mean by "phpextractdisc" is the letter of the hard drive/partition that you want to install PHP to.

              Write a Reply...