From:             memoimyself at yahoo dot com dot br
Operating system: Windows 2000 SP 4
PHP version:      5.0.0RC1
PHP Bug Type:     Apache2 related
Bug description:  PHP5 looks for php4ts.dll

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 bug report at http://bugs.php.net/?id=27658&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27658&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27658&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27658&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27658&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27658&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27658&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27658&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27658&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27658&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27658&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27658&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27658&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27658&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27658&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27658&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27658&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27658&r=float

Reply via email to