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

PHP include sockets problem...

P: 83
Hi,
I've googled loads of help for this. But it was all the same.
I have edited php.ini and removed the ; before extension=php_sockets.dll.
But there could be some problems affecting it, I check the phpinfo, and it doesnt list sockets at all. And it sais the ini file is in C:\WINDOWS.
Speaking of windows, I am using xp pro, iis and php 5.2.6 through ISAPI.

I moved a copy to c:\windows, but no difference.
Another thing, this is php.ini's include path in php.ini:
include_path="c:\server\PHP\includes".
Although that folder does not exist in php/, phpinfo lists it as '.;C:\php5\pear'.
Is it even reading my php.ini?
Should I reinstall php?
Oct 4 '08 #1
Share this Question
Share on Google+
4 Replies


P: 83
Ok, I tried reinstalling it from the msi installer, but no help there.
Oct 4 '08 #2

Atli
Expert 5K+
P: 5,058
Hi.

What do the "Configuration File (php.ini) Path" and "Loaded Configuration File" parts of the phpinfo() output say?
Oct 5 '08 #3

P: 83
It did say c:\windows\, but now I reconfigured iis for php, it doesnt load php anymore. php.exe actually runs, but does nothing.

I've changed the configuration so cgi.force_redirect is 0, and iis will use php-cgi.exe.

Edit: Ok, done that, now the browser would eiver download it as a php file or a octect stream - which says php was compiled with cgi.force-redirect on - in php.ini, its not.
Oct 5 '08 #4

P: 83
Ok, problem solved, just the matter of removing the damn ; before cgi.force-redirect.
Oct 5 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.