PHP include sockets problem...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Adam01
    New Member
    • Aug 2008
    • 83

    #1

    PHP include sockets problem...

    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_s ockets.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\in cludes".
    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?
  • Adam01
    New Member
    • Aug 2008
    • 83

    #2
    Ok, I tried reinstalling it from the msi installer, but no help there.

    Comment

    • Atli
      Recognized Expert Expert
      • Nov 2006
      • 5062

      #3
      Hi.

      What do the "Configurat ion File (php.ini) Path" and "Loaded Configuration File" parts of the phpinfo() output say?

      Comment

      • Adam01
        New Member
        • Aug 2008
        • 83

        #4
        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_redir ect 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.

        Comment

        • Adam01
          New Member
          • Aug 2008
          • 83

          #5
          Ok, problem solved, just the matter of removing the damn ; before cgi.force-redirect.

          Comment

          Working...