Call to undefined function socket_create()
Call to undefined function socket_create()
am 20.12.2007 20:20:13 von Subash Biswas
I keep getting Call to undefined function socket_create();
(Win XPpro on domain)
IIS 6.0
PHP 5.2.5
have all extensions loaded; (and also tried enabling line
extension=php_sockets.dll in php.ini)
also made sure extension_dir was correct and restarted the IIS.
I new to PHP & I used the php-5.2.5-win32-installer.msi to install.
Please advise; thanks,
Subash
Re: Call to undefined function socket_create()
am 20.12.2007 22:41:23 von Steve
"Subash Biswas" wrote in message
news:729db474-0527-4966-adbf-8e09cd3e6ac6@18g2000hsf.googleg roups.com...
>I keep getting Call to undefined function socket_create();
> (Win XPpro on domain)
> IIS 6.0
> PHP 5.2.5
> have all extensions loaded; (and also tried enabling line
> extension=php_sockets.dll in php.ini)
> also made sure extension_dir was correct and restarted the IIS.
>
> I new to PHP & I used the php-5.2.5-win32-installer.msi to install.
iis does not load php as a module but rather, uses it via cgi. that means
there's no need to restart iis when making changes in config for php.
you need to make sure you are diplaying errors, including notices, and you
need to be posting those here. are you sure the socket dll is loading?
also make sure you've enabled the use of sockets in your php.ini.
Re: Call to undefined function socket_create()
am 21.12.2007 17:22:55 von Subash Biswas
Thanks for your reply; some observations here:
"Call to undefined function socket_create()in C:\Inetpub\xx on line 19
" - is the error message generated.
I mentioned in my post that I had enabled the line
[PHP_SOCKETS]
extension=php_sockets.dll in php.ini
I am displaying errors, execution just does not get that far
the extension_dir is pointing to the right location of the .dlls
Is there a different way to check if sockets.dll is loading?
Re: Call to undefined function socket_create()
am 27.12.2007 15:24:08 von Jerry Stuckle
Steve wrote:
> "Subash Biswas" wrote in message
> news:729db474-0527-4966-adbf-8e09cd3e6ac6@18g2000hsf.googleg roups.com...
>> I keep getting Call to undefined function socket_create();
>> (Win XPpro on domain)
>> IIS 6.0
>> PHP 5.2.5
>> have all extensions loaded; (and also tried enabling line
>> extension=php_sockets.dll in php.ini)
>> also made sure extension_dir was correct and restarted the IIS.
>>
>> I new to PHP & I used the php-5.2.5-win32-installer.msi to install.
>
> iis does not load php as a module but rather, uses it via cgi. that means
> there's no need to restart iis when making changes in config for php.
>
Showing your ignorance again, Stevie? IIS can load PHP as a module just
fine.
> you need to make sure you are diplaying errors, including notices, and you
> need to be posting those here. are you sure the socket dll is loading?
>
> also make sure you've enabled the use of sockets in your php.ini.
>
>
>
You really should learn to understand what you're talking about before
opening your big mouth (again).
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: Call to undefined function socket_create()
am 27.12.2007 15:25:41 von Jerry Stuckle
Subash Biswas wrote:
> I keep getting Call to undefined function socket_create();
> (Win XPpro on domain)
> IIS 6.0
> PHP 5.2.5
> have all extensions loaded; (and also tried enabling line
> extension=php_sockets.dll in php.ini)
> also made sure extension_dir was correct and restarted the IIS.
>
> I new to PHP & I used the php-5.2.5-win32-installer.msi to install.
>
> Please advise; thanks,
> Subash
>
Subash,
Ignore Stevie. PHP loads just fine as a module in IIS.
As for socket support - what does phpinfo() show you? Does it show
socket support? Also, what does it show for the php.ini file it's
using? Is that the one which you edited?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================