ID:               27658
 Updated by:       [EMAIL PROTECTED]
 Reported By:      memoimyself at yahoo dot com dot br
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Apache2 related
 Operating System: Windows 2000 SP 4
 PHP Version:      5.0.0RC1
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




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

[2004-03-24 17:28:26] [EMAIL PROTECTED]

And just in case try the latest snapshot available at:



http://snaps.php.net/win32/php5-win32-latest.zip

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

[2004-03-24 17:20:52] [EMAIL PROTECTED]

Its quite possible that the documentation is outdated :)



I have just installed php and apache2 from scratch:



0. Get rid of old apache and php files (and really all of it)

1. Unpack php zip file to a folder, say c:\php5

2. Add c:\php5; to your system path (right click on My
Computer->Properties->Advanced->Environmental Variables->System
Variables->Path)

3. Reboot

4. Install apache to say c:\apache2

5. Edit c:\apache2\conf\httpd.conf

6. Add these two lines

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

AddType application/x-httpd-php .php

7. Stop and start apache2 service.



Just repeated these steps myself and I'm looking at phpinfo() page
right now!



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

[2004-03-24 14:24:11] memoimyself at yahoo dot com dot br

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.)

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

[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