none
in the download for PHP 5.3, there is no php5ts.dll

    Question

  • found php5ts.dll

    PHP 5.3 not working aft er the following changes were made:


    IIS: properties->home directory->configuration   C:\PHP\php5.dll
    with GET,HOST,POST,DEBUG


    doc_root = "C:\inetpub\wwwroot"
    tried each of :
    ;extension=php_sqlsrv_53_nts_vc9.dll
    ;extension=php_sqlsrv_53_nts_vc6.dll
    ;extension=php_sqlsrv_53_ts_vc9.dll
    extension=php_sqlsrv_53_ts_vc6.dll

    cgi.force_redirect = Off

    IIS 5.1 with cgi 1.5 RC

    extension_dir = "C:\PHP\ext"

    contains all 4 files:
    php_sqlsrv_53_nts_vc9.dll
    php_sqlsrv_53_nts_vc6.dll
    php_sqlsrv_53_ts_vc9.dll
    php_sqlsrv_53_ts_vc6.dll
    added to XP Prof SP3 path: ;C:\PHP;C:\PHP\ext

    also created (just in case) PHPRC environment variable (alongside path)
    containing C:\PHP;C:\PHP\ext

    I gave IUSR_LANDON all powers

    http://207.254.225.224:8080/phpinfo.php

    all firewalls set to accept 8080
    <?php
           phpinfo();
    ?>

    _______________________________________________RESULTS
      The website cannot display the page
    HTTP 500 
       Most likely causes:
    •The website is under maintenance.
    •The website has a programming error.

       What you can try:
         Refresh the page.

         Go back to the previous page.

         More information

    This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.
    For more information about HTTP errors, see Help.

    Should I remove the old versions (not used here) of ntwdblib.dll?




    Sunday, September 06, 2009 6:07 PM

Answers

  • The flavor of the Microsoft SQL Server Driver for PHP that you enabled in the php.ini file is the Thread Safe VC6 version. Therefore, you’ll need to install the appropriate version of PHP run-time (i.e. VC6 x86 Thread Safe) from http://windows.php.net/download/.

     

    When installing PHP, you should select the IIS/FastCGI option, and then establish a mapping between IIS and php-cgi.exe. In other words, your IIS configuration should point to the PHP CGI executable and not php5.dll that happens to be the Non Thread-Safe PHP run-time.

     

    Moreover, the library ntwdblib.dll is not needed anymore.

     

    On final note: it might be worth upgrading your IIS to at least version 6.0 that was optimized for FastCGI usage.

     

    Hope this helps,

    Serban


    Serban Iliescu - MSFT
    Tuesday, September 08, 2009 8:36 PM

All replies

  • The flavor of the Microsoft SQL Server Driver for PHP that you enabled in the php.ini file is the Thread Safe VC6 version. Therefore, you’ll need to install the appropriate version of PHP run-time (i.e. VC6 x86 Thread Safe) from http://windows.php.net/download/.

     

    When installing PHP, you should select the IIS/FastCGI option, and then establish a mapping between IIS and php-cgi.exe. In other words, your IIS configuration should point to the PHP CGI executable and not php5.dll that happens to be the Non Thread-Safe PHP run-time.

     

    Moreover, the library ntwdblib.dll is not needed anymore.

     

    On final note: it might be worth upgrading your IIS to at least version 6.0 that was optimized for FastCGI usage.

     

    Hope this helps,

    Serban


    Serban Iliescu - MSFT
    Tuesday, September 08, 2009 8:36 PM

  • Thanks for your instruction! This is what I'm looking for.
    Saturday, January 22, 2011 7:18 AM
  • Hi Serbian,

    1) I reinstalled PHP version 5.28 thread safe

    I selected IIS/FastCGI

    then using the IISManager for IIS6 I estalished a mapping between IIS and php-cgi.exe.

    I still get php5ts.dll missing.  Any Ideas.

    I just want to connect to a SQLSERVER 2012 located on one of my ISP's servers

    and manage the a database from a local php script.

    Thanks,

    Milt


    miltonkbenjamin

    Wednesday, December 18, 2013 2:10 AM