ID: 7951
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: MySQL related
Operating System: Windows NT 4.0 SP6a
PHP Version: 4.0.3pl1
New Comment:

No feedback. Closing.

Previous Comments:
------------------------------------------------------------------------

[2001-11-20 19:45:07] [EMAIL PROTECTED]

May be totally unrelated. 

Anyway, please give it a try with latest RC

http://phpuk.org/~james/php-4.1.0RC3-win32.zip

Feedback.

------------------------------------------------------------------------

[2000-11-23 13:48:39] [EMAIL PROTECTED]

Problem:

PHP can't connect to MySQL database server running in localhost when running under 
OrionServer 1.3.8

"Warning: Can't create TCP/IP socket (10106) in D:\client\test\web\test.php on line 5"


Steps to reproduce the problem:
1. Install Windows NT 4 Server
2. Instlal Service Pack 6a
3. Install J2SE 1.3 (JDK 1.3) (http://java.sun.com/)
4. Install OrionServer 1.3.8 (http://www.orionserver.com/)
5. Install PHP 4.03pl1 (http://www.php.net/)
6. Configure PHP to run in Orion (via Orion CGIServlet)

(global-web-application.xml)
...
<servlet>
 <servlet-name>php</servlet-name>
 <servlet-class>com.evermind.server.http.CGIServlet</servlet-class>
 <init-param>
  <param-name>interpreter</param-name>
  <param-value>c:\php\php.exe</param-value>
 </init-param>
</servlet>

<servlet-mapping>
 <servlet-name>php</servlet-name>
 <url-pattern>/*.php</url-pattern>
</servlet-mapping>
...

7. Do any PHP script to test PHP works (<? echo("Hello World!") ?> does the job). Now 
test it.
8. Do any PHP script that tries to connect to the MySQL database (in the same server). 
Now test it.

Result:

"Warning: Can't create TCP/IP socket (10106) in D:\client\test\web\test.php on line 5"


Note:
#1- Some another guy had similar problems when opening sockets from PHP under 
OrionServer 
(http://www.mail-archive.com/orion-interest@orionserver.com/msg01004.html)

#2- I understand this may or may not be a bug in PHP, but it certainly is related to 
PHP




------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=7951&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to