ID: 41617
User updated by: grant at cnwtech dot ca
Reported By: grant at cnwtech dot ca
Status: Open
Bug Type: MySQL related
Operating System: Win XP SP2 latest 20070606
PHP Version: 5.2.3
New Comment:
Forgot to mention... IE7 reports IIS 500 error when script fails.
I also see recent post where user hadsame problem and resolved by
installing PHP, enabling php_mysql.dll and php_mysqli.dlls, and then
installing MySQL. I will try this and see if it resolves the problem.
...Grant
Previous Comments:
------------------------------------------------------------------------
[2007-06-07 02:58:48] grant at cnwtech dot ca
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 this bug report at http://bugs.php.net/?id=41617&edit=1