ID: 38919 User updated by: boardman_malibu at yahoo dot com Reported By: boardman_malibu at yahoo dot com Status: Bogus Bug Type: MySQL related Operating System: win98se PHP Version: 5.1.6 New Comment:
tony2001, I had said in my intial report that 4.4.4 worked, please read before you type. My problem is caused by a screwball change in zend_variables.h. The zend changelog doesn't clearly say that 'zval_copy_ctor_func' was added, so I don't know when the change occured in relation to PHP 5's release. If you compare both versions you'll see that the original 'zval_copy_ctor' is no longer exported and some but not all of its function is moved to 'zval_copy_ctor_func'which is. Some patch. Whoever did this has never heard the term 'backwards compatible'. Previous Comments: ------------------------------------------------------------------------ [2006-09-25 07:10:40] [EMAIL PROTECTED] Please stop reopening this bogus report. PHP 4.4.4 and php_mysql.dll work fine for all users except you, which means it's a problem with your system, not PHP, so please direct your complaints to the developers of your system. ------------------------------------------------------------------------ [2006-09-23 19:50:41] boardman_malibu at yahoo dot com tony2001 also fails to address the issue. Please read again that visual studio dependency walker identified the bad import call. it had no problem identifing which dll was which. I would like to know how the php_mysql.dll binary from php.net was compiled without a warning of this problem. I also need to repeat that there is no function '_zval_copy_ctor_func' in either php4ts.dll or php5ts.dll, so dll versions have nothing to do with this. I hope the next comment will be from someone familiar with the source code. ------------------------------------------------------------------------ [2006-09-23 12:08:40] [EMAIL PROTECTED] Please make sure you've removed all php4ts.dll and other dlls from PHP4 and then reinstall PHP5. Not PHP problem. ------------------------------------------------------------------------ [2006-09-22 20:33:08] boardman_malibu at yahoo dot com edink's highly technical reply would mean that php5ts.dll at some version renamed '_zval_copy_ctor' to '_zval_copy_ctor_func', which would require all php_modules to be recompiled with the new name, sorry not buying it. ------------------------------------------------------------------------ [2006-09-22 20:16:28] boardman_malibu at yahoo dot com ------------ I have never been able to launch php_mysql.dll or php_mysqli.dll. The windows GUI reports that certain unnamed libraries were missing. The dependency walker that comes with visual studio 6 indicates that php_mysql.dll is trying to import the function '_zval_copy_ctor_func' from PHP5ts.dll, which is not there. There is a function called '_zval_copy_ctor' in php5ts.dll. This problem is present in all versions of php_mysql.dll I have tried, including the lastest from mysql.org AND php.net I am currently able to access Mysql 5 with php 4.4.4 with the compiled in client. follow up: There is no function '_zval_copy_ctor_func' in PHP4ts.dll either, which indicates the problem is the php_mysql.dll source. The '_func' at the end is unsual, all the imports are functions, after all. Anybody not running Win98se, don't bother to reply since dll linking by the OS has changed with newer versions. ------------------------------------------------------------------------ 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/38919 -- Edit this bug report at http://bugs.php.net/?id=38919&edit=1