Enabling sockets - How? - Two Questions
Posted by: ashore (---.hsd1.md.comcast.net)
Date: September 20, 2008 03:23PM

1. I've un-commented the sockets.dll directive in the php.ini file in php version 5.2.6, stopped and restarted WAMP Server, and sockets doesn't show up in the php_info display.

The dll is in the wamp\bin\php\php5.2.5\ext directory - from the initial install, untouched.

2.On an older WAMP with PHP Version 4.4.7, there's no entry in the php.ini for the sockets extension but the dll is there. How do I enable it ?

Thanks, all.

Options: ReplyQuote
Re: Enabling sockets - How? - Two Questions
Posted by: ashore (---.hsd1.md.comcast.net)
Date: September 21, 2008 01:00AM

It turns out that for some reason, there's two php.ini files, one under php proper and another under apache. You gotta un-comment the sockets dll call in BOTH ini files.

Options: ReplyQuote
Re: Enabling sockets - How? - Two Questions
Posted by: toivo (---.nsw.bigpond.net.au)
Date: September 21, 2008 01:48AM

Hi,

The php.ini file in the php folder is used only by the command line interface (CLI) scripts. The one in the apache folder is used by the web server.

Regards,

toivo
Sydney, Australia

Options: ReplyQuote


Sorry, only registered users may post in this forum.