#47338 [NEW]: connect mysql when using apache sucks..
From: weimade at yahoo dot com dot cn
Operating system: window xp sp3
PHP version: 5.2CVS-2009-02-08 (CVS)
PHP Bug Type: Apache2 related
Bug description: connect mysql when using apache sucks..
Description:
------------
apache_2.2.11-win32-x86-no_ssl.msi
php-5.2.8-win32-installer.msi
when i use them to build the lamp..
s.php is
is run ok by php s.php
but it broken down when i request http://site/s.php
Reproduce code:
---------------
<?php
$link = mysql_connect('localhost', 'root', 'chenwei');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mysql_close($link);
?>
Expected result:
----------------
nothing;just a blank page..
Actual result:
--------------
Connected successfully
--
Edit bug report at http://bugs.php.net/?id=47338&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47338&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47338&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47338&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47338&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47338&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47338&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47338&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47338&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47338&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47338&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47338&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47338&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47338&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47338&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47338&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47338&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47338&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47338&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47338&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47338&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47338&r=mysqlcfg
Thread (5 messages)
- weimade at yahoo dot com dot cn