#23591 [NEW]: mysql_pconnect - Can't create TCP/IP socket (10106) [CGI version]
| From: | Filip dot Jirsak at email dot cz | Date: | Mon, 12 May 2003 12:40:45 +0000 |
| Subject: | #23591 [NEW]: mysql_pconnect - Can't create TCP/IP socket (10106) [CGI version] | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-39488@lists.php.net to get a copy of this message | ||
From: Filip dot Jirsak at email dot cz
Operating system: MS Windows NT 4.0
PHP version: 4.3.1
PHP Bug Type: MySQL related
Bug description: mysql_pconnect - Can't create TCP/IP socket (10106) [CGI version]
Calling MySQL_PConnect() cause following warning: Warning: mysql_pconnect()
[function.mysql-pconnect]: Can't create TCP/IP socket (10106) in ...
MySQL server is Ver 12.18 Distrib 4.0.12, for Win95/Win98 (i32). The MySQL
server is running, other client applications can connect to it.
I'm trying PHP as CGI script from Jetty server (with
net.gleamynode.servlet.jetty.PHP servlet). It cause this warning only if
script is called via CGI - when I run it directly from commandline, it
works fine.
PHP is downloaded in compiled form from www.php.net.
There is part of output of phpinfo():
System Windows NT localhost 4.0 build 1381
Build Date Feb 15 2003 23:02:25
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path D:\Program
Files\php-4.3.1-Win32\php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety enabled
Registered PHP Streams php, http, ftp, compress.zlib
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.49
Directive Local Value Master Value
mysql.allow_persistent Off Off
mysql.connect_timeout -1 -1
mysql.default_host linux linux
mysql.default_password no value no value
mysql.default_port 3306 3306
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
--
Edit bug report at http://bugs.php.net/?id=23591&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23591&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23591&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23591&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23591&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23591&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23591&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23591&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23591&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23591&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23591&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23591&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23591&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23591&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23591&r=gnused