Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: socket() error


Message #1 by Yi Zheng <Yi.Zheng@s...> on Thu, 14 Jun 2001 13:44:25 -0400
You need to compile PHP with --enable-sockets

I'm not quite sure what config.cache does for you though...  I assume you
have to do a whole new recompile of PHP

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Yi Zheng" <Yi.Zheng@s...>
To: "professional php" <pro_php@p...>
Sent: Thursday, June 14, 2001 1:44 PM
Subject: [pro_php] socket() error


> I am having a strange problem with socket(). I used this function in a
test
> script, but it always gives me fatal error: undefined function socket().
> Does anyone have a clue? BTW, I didn't see socket.so in the modules/, is
it
> supposed to be there? I think there should be something like socket.so,
> because the www.php.net says socket is an extension to PHP. Am I missing
> something here? I even tried remove config.cache first, and then configure
> witih the --enable-sockets option.
>
> Please help.
> thanks
>
> Yi
>

  Return to Index