Results 1 to 4 of 4

Thread: Getting extensions to load under Win 2000

  1. #1

    Thread Starter
    Addicted Member mralston's Avatar
    Join Date
    Aug 2002
    Location
    Altrincham Nr Manchester, England
    Posts
    141

    Unhappy Getting extensions to load under Win 2000

    Has anyone had much trouble trying to load in any of the PHP extensions on Win2000?

    I've been trying to get php_xslt.dll to work recently, and a few months back I gave up getting the php_mssql.dll extenstion loaded and fell back to ODBC. I've been following instructions from a WROX book to the letter but every time a page is requested from the webserver (IIS 5 BTW) PHP pops up a message box saying that it can't find the extension. If I copy the path it complains into the run dialog box Windows can see it.

    I've played around quite a bit with various methods of making up the path to the extension folder in the php.ini file - using quotes, back slashes, forward shashes, drive letters and the path environment variable. Also played around with the filesystem permissions on the PHP folders and php.ini file and even copying the appropriate extension dll file to my system32 directory.

    Still I've never got any of them to work.

    I'm running Windows 2000 Server with service pack 3, PHP 4.0.6 (I don't want to upgrade this because I'll be out of sync with my our servers). PHP is installed into c:\php and is used by IIS as a cgi program.

    I'm attaching my php.ini file (with the extensions I want uncommented but not working!)...not that I think it'll help!

    Is there a damsel in shining armour out there? Pwleeeeese...
    Attached Files Attached Files

  2. #2
    Lively Member scoutt's Avatar
    Join Date
    Aug 2002
    Posts
    84
    wel I may not be a damsel but I can give a suggestion.

    you have this extension_dir = c:/php/extensions

    try it the other way.

    extension_dir = c:\php\extensions

    if that doesn't work try

    extension_dir = c:\\php\\extensions // there is 2 \ in there together

    do the other ones you have uncommented work?
    Just Imagine what you can do with the power of php.

    257 Tutorials and counting.
    529 Snippets and growing.

    Add yours today @
    SnippetLibrary.com

  3. #3

    Thread Starter
    Addicted Member mralston's Avatar
    Join Date
    Aug 2002
    Location
    Altrincham Nr Manchester, England
    Posts
    141
    Ok, I'll try double slashes... although I can't believe PHP would need to escape characters from its own ini file!!

    I've only tried the MSSQL and XSLT ones, but the error message says that it couldn't find the files, so I expect that it will affect them all.

  4. #4
    Lively Member scoutt's Avatar
    Join Date
    Aug 2002
    Posts
    84
    well I read some where tha ton a windows machine you have to sometimes do the double slashes. mine work without them, but I also run apache.
    Just Imagine what you can do with the power of php.

    257 Tutorials and counting.
    529 Snippets and growing.

    Add yours today @
    SnippetLibrary.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width