From:             grant at cnwtech dot ca
Operating system: Win XP SP2 latest 20070606
PHP version:      5.2.3
PHP Bug Type:     MySQL related
Bug description:  Enabling php_mysql.dll extension causes exception

Description:
------------
Very strange problem.   Had PHP v5.2.1 installed, working, installed MySQL
v5.0.41 (latest), enabled php_mysql.dll extension in php.ini.  Ran .PHP
script that simply { echo "Hello World!<br>" } -OR- { phpinfo() }... used
to work PRIOR to enabling php_mysql.dll support.   Now I get different
results, typically (a) no output, no errors [usually] (b) five pop-ups that
are titled "Error" with no content when enable E_ALL & display_errors
[sometimes] or (c) FAULT in #### [this has only showed itself twice].

Removing MySQL does NOT resolve problem.   Removing PHP does NOT resolve
problem.   Removing BOTH, ensuring installation folders areclean, IIS is
reset (i.e. no PHP extension configured & restarted)... and system
re-booted... WILL resolve issue.

Then installing PHP v5.2.3 is okay and PHP script runs (Hello world!).  
Install MySQL v5.0.41 (again)... PHP works and MySQL works.   Enable
php_mysql.dll extension... UGH,same problem.

Have tried with different versions of MySQL (5.0.41, 5.0.37) and PHP
(5.2.3, 5.2.1)... ensuring folders completely deleted and system, IIS,
MySQL, PHP all re-started.

Comments:
- YES... all extensions installed as part of PHP.
- PHP installed for IIS ISAPI versus CGI.
- Install path changed to C:\PHP5 (just in case issue with install path
from recent transition to C:\PROGRAM FILES\PHP)... see my other BUG REPORT
re: changing install path with MSI installer... must specify new install
path on TWO pages during installation (defaulkt overrides user input on
second page)
- Have not tested php_mysqli.dll extension.
- Running IIS v5.1, PHP5 and MySQL all LOCALLY on WinXP Pro SP2 latest as
of 20070606 system.  IE v7 installed.

Thoughts?  Suggestions?  Win32 backtrace required?
...Grant

Reproduce code:
---------------
<?php
echo "Hello World!<br>";

phpinfo();

?>

Expected result:
----------------
"Hello World!<br>" should be displayed OR phpinfo()should be displayed.

Actual result:
--------------
EITHER:
1. Blank/No output in IE7 window

2. Five ERROR titled pop-ups with no content... no output in main IE7
window.

3. Exception in ##### (happened twice...did not record numbers
unfortunately).

4. System event log shows error 26 (or was it 29) with no content... just
PHP error.

-- 
Edit bug report at http://bugs.php.net/?id=41617&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=41617&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=41617&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=41617&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41617&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=41617&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41617&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41617&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41617&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41617&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41617&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=41617&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=41617&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41617&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41617&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41617&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41617&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41617&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41617&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41617&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41617&r=mysqlcfg

Reply via email to