ID:               27658
 User updated by:  memoimyself at yahoo dot com dot br
 Reported By:      memoimyself at yahoo dot com dot br
-Status:           Feedback
+Status:           Open
 Bug Type:         Apache2 related
 Operating System: Windows 2000 SP 4
 PHP Version:      5.0.0RC1
 New Comment:

The line I have in my httpd.conf file is *exactly* 



LoadModule php5_module "c:/php/php5apache2.dll"



I've tried everything, including shutting down my firewall (which
sometimes interferes with Apache in weird ways) before even starting
the installation process. The problem persists.



Perhaps I posted this possible bug under the wrong heading. I'm not at
all sure that this problem has anything to do with Apache or, more
specifically, Apache2. What I do know for certain is that I get an
error message every time Apache is started � unless, as I said, I
rename php5ts.dll to php4ts.dll.



So, basically, it seems to me that whatever PHP5 DLL is called first by
Apache is trying to call php4ts.dll instead of php5ts.dll, hence the
error message.



Mind you, I'm totally clueless as to how the PHP module is called and
how each DLL is called in turn. The only thing I know for certain is
that I've followed all instructions to the letter, checked and
re-checked every possible configuration, and am still getting the same
error.)


Previous Comments:
------------------------------------------------------------------------

[2004-03-24 00:39:16] [EMAIL PROTECTED]

Please double check that the line



LoadModule php5_module "c:/php/php5apache2.dll"



is actually used in your configuration. I have the same install and
apache works fine.

 

------------------------------------------------------------------------

[2004-03-23 13:06:57] memoimyself at yahoo dot com dot br

Description:
------------
Having successfully installed PHP dozens of times before under Windows,
Linux and FreeBSD, I downloaded the PHP5 RC1 package and installed it
according to the instructions in the install.txt file. (Note: I tried
the installation for the first time with Apache 2.0.47, but have since
upgrated to the latest stable version, to no avail.)



Upon installation, when I started Apache again, I got an error message
to the effect that php4ts.dll could not be found in the system32
directory or any of the system paths. This is curious because if
anything were to be missing, it should be php5ts.dll, not php4ts.dll. I
renamed php5ts.dll to php4ts.dll and stopped getting the error message,
so there's clearly something in the entrails of PHP5 that expects to
find php4ts.dll. Renaming the file is not exactly a pretty solution,
though.



I have of course edited httpd.conf so that it now contains the line



LoadModule php5_module "c:/php/php5apache2.dll"



instead of



LoadModule php4_module "c:/php/sapi/php4apache2.dll"



My system path variable contains "C:\PHP", and I have also checked the
new php.ini file to make sure that it contains valid paths (e.g.
extension_dir "C:\PHP\ext\"). Everything looks fine.



I have checked both my system32 and system32\dllcache directories to
make sure that no old versions of any of the PHP DLLs are still there.
(In fact, none of the PHP DLLs, old or new, are there any more; they're
all in C:\PHP and, as I mentioned above, I have C:\PHP in my system
path variable.)

Expected result:
----------------
Apache should work with PHP5RC1 as a module without issuing any error
messages.

Actual result:
--------------
An error message is issued to the effect that php4ts.dll cannot be
found in any of the specified paths. (Obviously, as PHP5 comes with
php5ts.dll, not php4ts.dll.)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27658&edit=1

Reply via email to