ID: 27658 Comment by: dylanpugh at usa dot net Reported By: memoimyself at yahoo dot com dot br Status: No Feedback Bug Type: Apache2 related Operating System: Windows 2000 SP 4 PHP Version: 5.0.0RC1 New Comment:
I have installed Apache2.2 MySQL 5 and PHP 5.2.5, when I set the extension_dir in php.ini and then restarted apache, an error message appeared "The dynamic link library php4ts.dll could not be found ....", but I don't have php4 installed, and all references to php in httpd.conf are to php5. Simply copying php5ts.dll and renaming it to php4ts.dll did NOT help new error messages now appear- "The procedure entry point _zval_copy_ctor could not be located in the dynamic link library php4ts.dll". If anyone has found why this is happening please could you contact me at [EMAIL PROTECTED] thanks. Previous Comments: ------------------------------------------------------------------------ [2004-03-30 14:01:20] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/27658 -- Edit this bug report at http://bugs.php.net/?id=27658&edit=1