By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,639 Members | 3,105 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,639 IT Pros & Developers. It's quick & easy.

Calling PHP from a windows process

P: n/a
Hallo NG,

I'm calling PHP from a windowsprocess in a simple Webserver application. I'm using the createprocess Windows API command....

C:\Php\PHP Filename.php
In this file I will open a TCP/IP connection to my SQL-server. When I do so, I always get the following error
mysql_connect(): Can't create TCP/IP socket (10106)

No I start a command shell and I call the same...
C:\Php\PHP Filename.php

This will work without any error!!

Same effect I get from all TCP/IP Actions (FTP etc....)

Can somebody help me. Is it a PHP Setting, a server variable or a WindowsXP Access right problem???
thanks

horst.haas
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"Horst Haas" <10*********@Compuserve.com> wrote in message
news:c6*************@news.t-online.com...
Hallo NG,

I'm calling PHP from a windowsprocess in a simple Webserver application. I'm using the createprocess Windows API command....
C:\Php\PHP Filename.php
In this file I will open a TCP/IP connection to my SQL-server. When I do so, I always get the following error mysql_connect(): Can't create TCP/IP socket (10106)

No I start a command shell and I call the same...
C:\Php\PHP Filename.php

This will work without any error!!

Same effect I get from all TCP/IP Actions (FTP etc....)

Can somebody help me. Is it a PHP Setting, a server variable or a WindowsXP Access right problem??? thanks

horst.haas


Google much?

http://pub26.ezboard.com/fbadbluedis...picID=28.topic
seems very comprehensive.

Garp
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.