Edit report at http://bugs.php.net/bug.php?id=50829&edit=1
ID: 50829
Comment by: paul at boxuk dot com
Reported by: giovanni at giacobbi dot net
Summary: php.ini directive pdo_mysql.default_socket is ignored
Status: Closed
Type: Bug
Package: PDO related
Operating System: Linux
PHP Version: 5.3.2RC1
New Comment:
this, or a problem relating to this fix appears to be seg-faulting the
pdo_mysql
module on startup in ZTS mode
bug #51216 is related
commenting out REGISTER_INI_ENTRIES() in ext/pdo_mysql/pdo_mysql.c:68
php
startup prevents the seg-fault
configure line
--------------
./configure --enable-maintainer-zts --with-mysql --with-mysqli=mysqlnd
--enable-
pdo --with-pdo-mysql
gdb output
----------
gdb sapi/cli/php
GNU gdb Fedora (6.8-37.el5)
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) run
Starting program: /php-5.3.2/sapi/cli/php
[Thread debugging using libthread_db enabled]
[New Thread 0xb7f776c0 (LWP 491)]
[New Thread 0xb7d0db90 (LWP 494)]
[Thread 0xb7d0db90 (LWP 494) exited]
Program received signal SIGSEGV, Segmentation fault.
0x08347ff5 in zend_startup_module_ex (module=0x98d2720,
tsrm_ls=0x98b7050)
at /opt/BoxUK/install/php-5.3.2/Zend/zend_API.c:1618
1618 EG(current_module) = NULL;
module->name at this point is "pdo_mysql"
Previous Comments:
------------------------------------------------------------------------
[2010-02-03 21:00:21] [email protected]
Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=294469
Log: Fixed bug #50829 (php.ini directive pdo_mysql.default_socket is
ignored)
------------------------------------------------------------------------
[2010-01-26 13:15:59] [email protected]
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2010-01-26 13:15:57] [email protected]
Automatic comment from SVN on behalf of iliaa
Revision: http://svn.php.net/viewvc/?view=revision&revision=294040
Log: Fixed bug #50829 (php.ini directive pdo_mysql.default_socket is
ignored)
------------------------------------------------------------------------
[2010-01-24 14:03:53] giovanni at giacobbi dot net
Description:
------------
The php.ini pdo_mysql.default_socket seems to be ignored.
see related (closed) bug #49306
Reproduce code:
---------------
php -d pdo_mysql.default_socket=ciao -r
'var_dump(ini_get("pdo_mysql.default_socket"));'
Expected result:
----------------
string(4) "ciao"
Actual result:
--------------
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=50829&edit=1