Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

connect() failed in Apache module



5:51 pm on Apr 23, 2007 (gmt 0)

5+ Year Member

I have an Apache module which needs to talk to an application running on a remote host via TCP/IP socket. With default Apache build, it works fine. But when I built Apache with option --with-mpm=worker, my Apache module couldn't connect to remote host any more. Here is the error message I got:

connect() failed: no such file or directory.

Any help would be appreciated.



9:05 pm on Apr 23, 2007 (gmt 0)

10+ Year Member


phpize --version


php-config --version

at the command line - if anything comes back then they are not installed.

What OS/distro are you using? If you're running ubuntu/debian then install the php5-dev package. Otherwise, I don't know what you need to install.


Featured Threads

Hot Threads This Week

Hot Threads This Month