PHP, IIS, and ISAPI

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mtuller

    PHP, IIS, and ISAPI

    I am attempting to install PHP 5.2.x on Windows 2003 with IIS 6.0.
    When I go to install 5.2.1, it gives me an error when it tries to
    start the server I get an error. So I try installing 5.2.0. This
    installs, but almost none of the modules that I selected in the
    installation are active. I try to activate them in php.ini, but that
    doesn't seem to help. Why does the installer allow me to install PHP,
    select the modules, and then never show the working with phpinfo()?

  • Willem Bogaerts

    #2
    Re: PHP, IIS, and ISAPI

    When I go to install 5.2.1, it gives me an error when it tries to
    start the server I get an error.
    If you want us to be of any help, please describe what really happens:
    what is the error, and what is output for you phpinfo page if it "does
    not work".

    --
    Willem Bogaerts

    Application smith
    Kratz B.V.

    Comment

    • Erwin Moller

      #3
      Re: PHP, IIS, and ISAPI

      Willem Bogaerts wrote:
      >When I go to install 5.2.1, it gives me an error when it tries to
      >start the server I get an error.
      >
      If you want us to be of any help, please describe what really happens:
      what is the error, and what is output for you phpinfo page if it "does
      not work".
      >
      Yes, that would help.
      But in most cases when people complain that the 'modules' are not active,
      they used the 'handy' windowsinstalle r. (I wished they removed that thing
      from their site).

      And did you by any chance use the windows installer?

      If you did, you also read the fine manual first of course, as can be found
      here:


      And the note that is after the first piece of text that says:
      Note: While the Windows installer is an easy way to make PHP work, it is
      restricted in many aspects, for example, the automatic setup of extensions
      is not supported. Use of the installer isn't the preferred method for
      installing PHP.

      Regards,
      Erwin Moller

      Comment

      • mtuller

        #4
        Re: PHP, IIS, and ISAPI

        On Mar 21, 5:19 am, Erwin Moller
        <since_humans_r ead_this_I_am_s pammed_too_m... @spamyourself.c omwrote:
        Willem Bogaerts wrote:
        When I go to install 5.2.1, it gives me an error when it tries to
        start the server I get an error.
        >
        If you want us to be of any help, please describe what really happens:
        what is the error, and what is output for you phpinfo page if it "does
        not work".
        >
        Yes, that would help.
        But in most cases when people complain that the 'modules' are not active,
        they used the 'handy' windowsinstalle r. (I wished they removed that thing
        from their site).
        >
        And did you by any chance use the windows installer?
        >
        If you did, you also read the fine manual first of course, as can be found
        here:http://www.php.net/manual/en/install....installer.php
        >
        And the note that is after the first piece of text that says:
        Note: While the Windows installer is an easy way to make PHP work, it is
        restricted in many aspects, for example, the automatic setup of extensions
        is not supported. Use of the installer isn't the preferred method for
        installing PHP.
        >
        Regards,
        Erwin Moller
        Sorry guys, I didn't remember exactly what the error was, and I have
        been battling this for days. I am so sick of IIS. Unfortunately I have
        one server that uses it.

        Yes, I have found that the installer is nothing but a pain. It does
        very little. I have installed from the binary distribution now, and
        php is running. However, most of the modules, like mysql are not
        running. The others are openssl, curl, and sockets. I have downloaded
        the PECL files and have installed them, I have set the system
        variables, permission, ISAPI Filter, one site suggested a modification
        to the registry, and on and on. PHP is running, so I know that is not
        a problem. Why will some of the modules not load?

        If someone could explain to me why the other modules may not be
        loading, I would appreciate it.


        Mike

        Comment

        • Willem Bogaerts

          #5
          Re: PHP, IIS, and ISAPI

          Sorry guys, I didn't remember exactly what the error was, and I have
          been battling this for days. I am so sick of IIS. Unfortunately I have
          one server that uses it.
          did you try running:

          php -info

          on the command line or inspect the results of the phpinfo() function?
          Especially important is the path of the configuration file. You could be
          editing the wrong one...

          Good luck,
          --
          Willem Bogaerts

          Application smith
          Kratz B.V.

          Comment

          • mtuller

            #6
            Re: PHP, IIS, and ISAPI

            On Mar 21, 9:43 am, Willem Bogaerts
            <w.bogae...@kra tz.maardanzonde rditstuk.nlwrot e:
            Sorry guys, I didn't remember exactly what the error was, and I have
            been battling this for days. I am so sick of IIS. Unfortunately I have
            one server that uses it.
            >
            did you try running:
            >
            php -info
            >
            on the command line or inspect the results of the phpinfo() function?
            Especially important is the path of the configuration file. You could be
            editing the wrong one...
            >
            Good luck,
            --
            Willem Bogaerts
            >
            Application smith
            Kratz B.V.http://www.kratz.nl/
            It says C:\WINDOWS, which is where the php.ini file that I have been
            editing is located.


            Comment

            • Jerry Stuckle

              #7
              Re: PHP, IIS, and ISAPI

              mtuller wrote:
              On Mar 21, 5:19 am, Erwin Moller
              <since_humans_r ead_this_I_am_s pammed_too_m... @spamyourself.c omwrote:
              >Willem Bogaerts wrote:
              >>>When I go to install 5.2.1, it gives me an error when it tries to
              >>>start the server I get an error.
              >>If you want us to be of any help, please describe what really happens:
              >>what is the error, and what is output for you phpinfo page if it "does
              >>not work".
              >Yes, that would help.
              >But in most cases when people complain that the 'modules' are not active,
              >they used the 'handy' windowsinstalle r. (I wished they removed that thing
              >from their site).
              >>
              >And did you by any chance use the windows installer?
              >>
              >If you did, you also read the fine manual first of course, as can be found
              >here:http://www.php.net/manual/en/install....installer.php
              >>
              >And the note that is after the first piece of text that says:
              >
              >Note: While the Windows installer is an easy way to make PHP work, it is
              >restricted in many aspects, for example, the automatic setup of extensions
              >is not supported. Use of the installer isn't the preferred method for
              >installing PHP.
              >
              >>
              >Regards,
              >Erwin Moller
              >
              Sorry guys, I didn't remember exactly what the error was, and I have
              been battling this for days. I am so sick of IIS. Unfortunately I have
              one server that uses it.
              >
              Yes, I have found that the installer is nothing but a pain. It does
              very little. I have installed from the binary distribution now, and
              php is running. However, most of the modules, like mysql are not
              running. The others are openssl, curl, and sockets. I have downloaded
              the PECL files and have installed them, I have set the system
              variables, permission, ISAPI Filter, one site suggested a modification
              to the registry, and on and on. PHP is running, so I know that is not
              a problem. Why will some of the modules not load?
              >
              If someone could explain to me why the other modules may not be
              loading, I would appreciate it.
              >
              >
              Mike
              >
              Did you uncomment the appropriate extensions in your php.ini file? Are
              the libraries these products need (i.e. libmysql.dll for MySQL) in your
              PATH statement?

              --
              =============== ===
              Remove the "x" from my email address
              Jerry Stuckle
              JDS Computer Training Corp.
              jstucklex@attgl obal.net
              =============== ===

              Comment

              • mtuller

                #8
                Re: PHP, IIS, and ISAPI

                On Mar 21, 12:18 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
                mtuller wrote:
                On Mar 21, 5:19 am, Erwin Moller
                <since_humans_r ead_this_I_am_s pammed_too_m... @spamyourself.c omwrote:
                Willem Bogaerts wrote:
                >>When I go to install 5.2.1, it gives me an error when it tries to
                >>start the server I get an error.
                >If you want us to be of any help, please describe what really happens:
                >what is the error, and what is output for you phpinfo page if it "does
                >not work".
                Yes, that would help.
                But in most cases when people complain that the 'modules' are not active,
                they used the 'handy' windowsinstalle r. (I wished they removed that thing
                from their site).
                >
                And did you by any chance use the windows installer?
                >
                If you did, you also read the fine manual first of course, as can be found
                here:http://www.php.net/manual/en/install....installer.php
                >
                And the note that is after the first piece of text that says:
                Note: While the Windows installer is an easy way to make PHP work, it is
                restricted in many aspects, for example, the automatic setup of extensions
                is not supported. Use of the installer isn't the preferred method for
                installing PHP.
                >
                Regards,
                Erwin Moller
                >
                Sorry guys, I didn't remember exactly what the error was, and I have
                been battling this for days. I am so sick of IIS. Unfortunately I have
                one server that uses it.
                >
                Yes, I have found that the installer is nothing but a pain. It does
                very little. I have installed from the binary distribution now, and
                php is running. However, most of the modules, like mysql are not
                running. The others are openssl, curl, and sockets. I have downloaded
                the PECL files and have installed them, I have set the system
                variables, permission, ISAPI Filter, one site suggested a modification
                to the registry, and on and on. PHP is running, so I know that is not
                a problem. Why will some of the modules not load?
                >
                If someone could explain to me why the other modules may not be
                loading, I would appreciate it.
                >
                Mike
                >
                Did you uncomment the appropriate extensions in your php.ini file? Are
                the libraries these products need (i.e. libmysql.dll for MySQL) in your
                PATH statement?
                >
                --
                =============== ===
                Remove the "x" from my email address
                Jerry Stuckle
                JDS Computer Training Corp.
                jstuck...@attgl obal.net
                =============== ===
                Yes, I have uncommented the extensions. Here is what I have:


                ;extension=php_ mbstring.dll
                ;extension=php_ bz2.dll
                ;extension=php_ cpdf.dll
                extension=php_c url.dll
                ;extension=php_ dba.dll
                ;extension=php_ dbase.dll
                ;extension=php_ dbx.dll
                ;extension=php_ exif.dll
                ;extension=php_ fdf.dll
                ;extension=php_ filepro.dll
                extension=php_g d2.dll
                ;extension=php_ gettext.dll
                ;extension=php_ ifx.dll
                extension=php_i isfunc.dll
                ;extension=php_ imap.dll
                ;extension=php_ interbase.dll
                ;extension=php_ java.dll
                ;extension=php_ ldap.dll
                ;extension=php_ mcrypt.dll
                ;extension=php_ mhash.dll
                ;extension=php_ mime_magic.dll
                ;extension=php_ ming.dll
                ;extension=php_ mssql.dll
                ;extension=php_ msql.dll
                extension=php_m ysql.dll
                extension=php_m ysqli.dll
                ;extension=php_ oci8.dll
                extension=php_o penssl.dll
                ;extension=php_ oracle.dll
                extension=php_p df.dll
                ;extension=php_ pgsql.dll
                ;extension=php_ shmop.dll
                ;extension=php_ snmp.dll
                extension=php_s ockets.dll
                ;extension=php_ sybase_ct.dll
                ;extension=php_ tidy.dll
                ;extension=php_ ffi.dll
                ;extension=php_ xmlrpc.dll
                ;extension=php_ xsl.dll
                ;extension=php_ yaz.dll
                extension=php_z ip.dll

                In my system path I have this:

                C:\PHP\;C:\Open SSL\bin\;C:\cur l\;

                I have set permissions on the files in C:\PHP\ext so that the web
                server can read and execute them, I have set the ISAPI filter, and
                have set the Web Service Extension, I have set the application
                extensions for the host.

                PHP is running, it just will not run MySql or Curl or almost any of
                the extensions that I have uncommented. It should be working. I have
                setup PHP on Linux many times, and have never had problems like this.
                Not even back in PHP 3.


                Mike

                Comment

                • Jerry Stuckle

                  #9
                  Re: PHP, IIS, and ISAPI

                  mtuller wrote:
                  On Mar 21, 12:18 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
                  >mtuller wrote:
                  >>On Mar 21, 5:19 am, Erwin Moller
                  >><since_humans _read_this_I_am _spammed_too_m. ..@spamyourself .comwrote:
                  >>>Willem Bogaerts wrote:
                  >>>>>When I go to install 5.2.1, it gives me an error when it tries to
                  >>>>>start the server I get an error.
                  >>>>If you want us to be of any help, please describe what really happens:
                  >>>>what is the error, and what is output for you phpinfo page if it "does
                  >>>>not work".
                  >>>Yes, that would help.
                  >>>But in most cases when people complain that the 'modules' are not active,
                  >>>they used the 'handy' windowsinstalle r. (I wished they removed that thing
                  >>>from their site).
                  >>>And did you by any chance use the windows installer?
                  >>>If you did, you also read the fine manual first of course, as can be found
                  >>>here:http://www.php.net/manual/en/install....installer.php
                  >>>And the note that is after the first piece of text that says:
                  >>>
                  >>>Note: While the Windows installer is an easy way to make PHP work, it is
                  >>>restricted in many aspects, for example, the automatic setup of extensions
                  >>>is not supported. Use of the installer isn't the preferred method for
                  >>>installing PHP.
                  >>>
                  >>>Regards,
                  >>>Erwin Moller
                  >>Sorry guys, I didn't remember exactly what the error was, and I have
                  >>been battling this for days. I am so sick of IIS. Unfortunately I have
                  >>one server that uses it.
                  >>Yes, I have found that the installer is nothing but a pain. It does
                  >>very little. I have installed from the binary distribution now, and
                  >>php is running. However, most of the modules, like mysql are not
                  >>running. The others are openssl, curl, and sockets. I have downloaded
                  >>the PECL files and have installed them, I have set the system
                  >>variables, permission, ISAPI Filter, one site suggested a modification
                  >>to the registry, and on and on. PHP is running, so I know that is not
                  >>a problem. Why will some of the modules not load?
                  >>If someone could explain to me why the other modules may not be
                  >>loading, I would appreciate it.
                  >>Mike
                  >Did you uncomment the appropriate extensions in your php.ini file? Are
                  >the libraries these products need (i.e. libmysql.dll for MySQL) in your
                  >PATH statement?
                  >>
                  >--
                  >============== ====
                  >Remove the "x" from my email address
                  >Jerry Stuckle
                  >JDS Computer Training Corp.
                  >jstuck...@attg lobal.net
                  >============== ====
                  >
                  Yes, I have uncommented the extensions. Here is what I have:
                  >
                  >
                  ;extension=php_ mbstring.dll
                  ;extension=php_ bz2.dll
                  ;extension=php_ cpdf.dll
                  extension=php_c url.dll
                  ;extension=php_ dba.dll
                  ;extension=php_ dbase.dll
                  ;extension=php_ dbx.dll
                  ;extension=php_ exif.dll
                  ;extension=php_ fdf.dll
                  ;extension=php_ filepro.dll
                  extension=php_g d2.dll
                  ;extension=php_ gettext.dll
                  ;extension=php_ ifx.dll
                  extension=php_i isfunc.dll
                  ;extension=php_ imap.dll
                  ;extension=php_ interbase.dll
                  ;extension=php_ java.dll
                  ;extension=php_ ldap.dll
                  ;extension=php_ mcrypt.dll
                  ;extension=php_ mhash.dll
                  ;extension=php_ mime_magic.dll
                  ;extension=php_ ming.dll
                  ;extension=php_ mssql.dll
                  ;extension=php_ msql.dll
                  extension=php_m ysql.dll
                  extension=php_m ysqli.dll
                  ;extension=php_ oci8.dll
                  extension=php_o penssl.dll
                  ;extension=php_ oracle.dll
                  extension=php_p df.dll
                  ;extension=php_ pgsql.dll
                  ;extension=php_ shmop.dll
                  ;extension=php_ snmp.dll
                  extension=php_s ockets.dll
                  ;extension=php_ sybase_ct.dll
                  ;extension=php_ tidy.dll
                  ;extension=php_ ffi.dll
                  ;extension=php_ xmlrpc.dll
                  ;extension=php_ xsl.dll
                  ;extension=php_ yaz.dll
                  extension=php_z ip.dll
                  >
                  In my system path I have this:
                  >
                  C:\PHP\;C:\Open SSL\bin\;C:\cur l\;
                  >
                  I have set permissions on the files in C:\PHP\ext so that the web
                  server can read and execute them, I have set the ISAPI filter, and
                  have set the Web Service Extension, I have set the application
                  extensions for the host.
                  >
                  PHP is running, it just will not run MySql or Curl or almost any of
                  the extensions that I have uncommented. It should be working. I have
                  setup PHP on Linux many times, and have never had problems like this.
                  Not even back in PHP 3.
                  >
                  >
                  Mike
                  >
                  Mike,

                  Did you read ALL OF MY POST?

                  Are the libraries these products need (i.e. libmysql.dll for MySQL) in
                  your PATH statement?

                  I don't know where they are located on your machine, so I can't tell you
                  if your PATH is correct or not.

                  --
                  =============== ===
                  Remove the "x" from my email address
                  Jerry Stuckle
                  JDS Computer Training Corp.
                  jstucklex@attgl obal.net
                  =============== ===

                  Comment

                  • mtuller

                    #10
                    Re: PHP, IIS, and ISAPI

                    On Mar 21, 1:24 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
                    mtuller wrote:
                    On Mar 21, 12:18 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
                    mtuller wrote:
                    >On Mar 21, 5:19 am, Erwin Moller
                    ><since_humans_ read_this_I_am_ spammed_too_m.. .@spamyourself. comwrote:
                    >>Willem Bogaerts wrote:
                    >>>>When I go to install 5.2.1, it gives me an error when it tries to
                    >>>>start the server I get an error.
                    >>>If you want us to be of any help, please describe what really happens:
                    >>>what is the error, and what is output for you phpinfo page if it "does
                    >>>not work".
                    >>Yes, that would help.
                    >>But in most cases when people complain that the 'modules' are not active,
                    >>they used the 'handy' windowsinstalle r. (I wished they removed that thing
                    >>from their site).
                    >>And did you by any chance use the windows installer?
                    >>If you did, you also read the fine manual first of course, as can be found
                    >>here:http://www.php.net/manual/en/install....installer.php
                    >>And the note that is after the first piece of text that says:
                    >>
                    >>Note: While the Windows installer is an easy way to make PHP work, it is
                    >>restricted in many aspects, for example, the automatic setup of extensions
                    >>is not supported. Use of the installer isn't the preferred method for
                    >>installing PHP.
                    >>
                    >>Regards,
                    >>Erwin Moller
                    >Sorry guys, I didn't remember exactly what the error was, and I have
                    >been battling this for days. I am so sick of IIS. Unfortunately I have
                    >one server that uses it.
                    >Yes, I have found that the installer is nothing but a pain. It does
                    >very little. I have installed from the binary distribution now, and
                    >php is running. However, most of the modules, like mysql are not
                    >running. The others are openssl, curl, and sockets. I have downloaded
                    >the PECL files and have installed them, I have set the system
                    >variables, permission, ISAPI Filter, one site suggested a modification
                    >to the registry, and on and on. PHP is running, so I know that is not
                    >a problem. Why will some of the modules not load?
                    >If someone could explain to me why the other modules may not be
                    >loading, I would appreciate it.
                    >Mike
                    Did you uncomment the appropriate extensions in your php.ini file? Are
                    the libraries these products need (i.e. libmysql.dll for MySQL) in your
                    PATH statement?
                    >
                    --
                    =============== ===
                    Remove the "x" from my email address
                    Jerry Stuckle
                    JDS Computer Training Corp.
                    jstuck...@attgl obal.net
                    =============== ===
                    >
                    Yes, I have uncommented the extensions. Here is what I have:
                    >
                    ;extension=php_ mbstring.dll
                    ;extension=php_ bz2.dll
                    ;extension=php_ cpdf.dll
                    extension=php_c url.dll
                    ;extension=php_ dba.dll
                    ;extension=php_ dbase.dll
                    ;extension=php_ dbx.dll
                    ;extension=php_ exif.dll
                    ;extension=php_ fdf.dll
                    ;extension=php_ filepro.dll
                    extension=php_g d2.dll
                    ;extension=php_ gettext.dll
                    ;extension=php_ ifx.dll
                    extension=php_i isfunc.dll
                    ;extension=php_ imap.dll
                    ;extension=php_ interbase.dll
                    ;extension=php_ java.dll
                    ;extension=php_ ldap.dll
                    ;extension=php_ mcrypt.dll
                    ;extension=php_ mhash.dll
                    ;extension=php_ mime_magic.dll
                    ;extension=php_ ming.dll
                    ;extension=php_ mssql.dll
                    ;extension=php_ msql.dll
                    extension=php_m ysql.dll
                    extension=php_m ysqli.dll
                    ;extension=php_ oci8.dll
                    extension=php_o penssl.dll
                    ;extension=php_ oracle.dll
                    extension=php_p df.dll
                    ;extension=php_ pgsql.dll
                    ;extension=php_ shmop.dll
                    ;extension=php_ snmp.dll
                    extension=php_s ockets.dll
                    ;extension=php_ sybase_ct.dll
                    ;extension=php_ tidy.dll
                    ;extension=php_ ffi.dll
                    ;extension=php_ xmlrpc.dll
                    ;extension=php_ xsl.dll
                    ;extension=php_ yaz.dll
                    extension=php_z ip.dll
                    >
                    In my system path I have this:
                    >
                    C:\PHP\;C:\Open SSL\bin\;C:\cur l\;
                    >
                    I have set permissions on the files in C:\PHP\ext so that the web
                    server can read and execute them, I have set the ISAPI filter, and
                    have set the Web Service Extension, I have set the application
                    extensions for the host.
                    >
                    PHP is running, it just will not run MySql or Curl or almost any of
                    the extensions that I have uncommented. It should be working. I have
                    setup PHP on Linux many times, and have never had problems like this.
                    Not even back in PHP 3.
                    >
                    Mike
                    >
                    Mike,
                    >
                    Did you read ALL OF MY POST?
                    >
                    Are the libraries these products need (i.e. libmysql.dll for MySQL) in
                    your PATH statement?
                    >
                    I don't know where they are located on your machine, so I can't tell you
                    if your PATH is correct or not.
                    >
                    --
                    =============== ===
                    Remove the "x" from my email address
                    Jerry Stuckle
                    JDS Computer Training Corp.
                    jstuck...@attgl obal.net
                    =============== ===
                    Sorry. Yes, libmysql.dll is located in C:\WINDOWS

                    Comment

                    • Jerry Stuckle

                      #11
                      Re: PHP, IIS, and ISAPI

                      mtuller wrote:
                      On Mar 21, 1:24 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
                      >mtuller wrote:
                      >>On Mar 21, 12:18 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
                      >>>mtuller wrote:
                      >>>>On Mar 21, 5:19 am, Erwin Moller
                      >>>><since_huma ns_read_this_I_ am_spammed_too_ m...@spamyourse lf.comwrote:
                      >>>>>Willem Bogaerts wrote:
                      >>>>>>>When I go to install 5.2.1, it gives me an error when it tries to
                      >>>>>>>start the server I get an error.
                      >>>>>>If you want us to be of any help, please describe what really happens:
                      >>>>>>what is the error, and what is output for you phpinfo page if it "does
                      >>>>>>not work".
                      >>>>>Yes, that would help.
                      >>>>>But in most cases when people complain that the 'modules' are not active,
                      >>>>>they used the 'handy' windowsinstalle r. (I wished they removed that thing
                      >>>>>from their site).
                      >>>>>And did you by any chance use the windows installer?
                      >>>>>If you did, you also read the fine manual first of course, as can be found
                      >>>>>here:http://www.php.net/manual/en/install....installer.php
                      >>>>>And the note that is after the first piece of text that says:
                      >>>>>
                      >>>>>Note: While the Windows installer is an easy way to make PHP work, it is
                      >>>>>restrict ed in many aspects, for example, the automatic setup of extensions
                      >>>>>is not supported. Use of the installer isn't the preferred method for
                      >>>>>installi ng PHP.
                      >>>>>
                      >>>>>Regards,
                      >>>>>Erwin Moller
                      >>>>Sorry guys, I didn't remember exactly what the error was, and I have
                      >>>>been battling this for days. I am so sick of IIS. Unfortunately I have
                      >>>>one server that uses it.
                      >>>>Yes, I have found that the installer is nothing but a pain. It does
                      >>>>very little. I have installed from the binary distribution now, and
                      >>>>php is running. However, most of the modules, like mysql are not
                      >>>>running. The others are openssl, curl, and sockets. I have downloaded
                      >>>>the PECL files and have installed them, I have set the system
                      >>>>variables , permission, ISAPI Filter, one site suggested a modification
                      >>>>to the registry, and on and on. PHP is running, so I know that is not
                      >>>>a problem. Why will some of the modules not load?
                      >>>>If someone could explain to me why the other modules may not be
                      >>>>loading, I would appreciate it.
                      >>>>Mike
                      >>>Did you uncomment the appropriate extensions in your php.ini file? Are
                      >>>the libraries these products need (i.e. libmysql.dll for MySQL) in your
                      >>>PATH statement?
                      >>>--
                      >>>============ ======
                      >>>Remove the "x" from my email address
                      >>>Jerry Stuckle
                      >>>JDS Computer Training Corp.
                      >>>jstuck...@at tglobal.net
                      >>>============ ======
                      >>Yes, I have uncommented the extensions. Here is what I have:
                      >>;extension=ph p_mbstring.dll
                      >>;extension=ph p_bz2.dll
                      >>;extension=ph p_cpdf.dll
                      >>extension=php _curl.dll
                      >>;extension=ph p_dba.dll
                      >>;extension=ph p_dbase.dll
                      >>;extension=ph p_dbx.dll
                      >>;extension=ph p_exif.dll
                      >>;extension=ph p_fdf.dll
                      >>;extension=ph p_filepro.dll
                      >>extension=php _gd2.dll
                      >>;extension=ph p_gettext.dll
                      >>;extension=ph p_ifx.dll
                      >>extension=php _iisfunc.dll
                      >>;extension=ph p_imap.dll
                      >>;extension=ph p_interbase.dll
                      >>;extension=ph p_java.dll
                      >>;extension=ph p_ldap.dll
                      >>;extension=ph p_mcrypt.dll
                      >>;extension=ph p_mhash.dll
                      >>;extension=ph p_mime_magic.dl l
                      >>;extension=ph p_ming.dll
                      >>;extension=ph p_mssql.dll
                      >>;extension=ph p_msql.dll
                      >>extension=php _mysql.dll
                      >>extension=php _mysqli.dll
                      >>;extension=ph p_oci8.dll
                      >>extension=php _openssl.dll
                      >>;extension=ph p_oracle.dll
                      >>extension=php _pdf.dll
                      >>;extension=ph p_pgsql.dll
                      >>;extension=ph p_shmop.dll
                      >>;extension=ph p_snmp.dll
                      >>extension=php _sockets.dll
                      >>;extension=ph p_sybase_ct.dll
                      >>;extension=ph p_tidy.dll
                      >>;extension=ph p_ffi.dll
                      >>;extension=ph p_xmlrpc.dll
                      >>;extension=ph p_xsl.dll
                      >>;extension=ph p_yaz.dll
                      >>extension=php _zip.dll
                      >>In my system path I have this:
                      >>C:\PHP\;C:\Op enSSL\bin\;C:\c url\;
                      >>I have set permissions on the files in C:\PHP\ext so that the web
                      >>server can read and execute them, I have set the ISAPI filter, and
                      >>have set the Web Service Extension, I have set the application
                      >>extensions for the host.
                      >>PHP is running, it just will not run MySql or Curl or almost any of
                      >>the extensions that I have uncommented. It should be working. I have
                      >>setup PHP on Linux many times, and have never had problems like this.
                      >>Not even back in PHP 3.
                      >>Mike
                      >Mike,
                      >>
                      >Did you read ALL OF MY POST?
                      >>
                      >Are the libraries these products need (i.e. libmysql.dll for MySQL) in
                      >your PATH statement?
                      >>
                      >I don't know where they are located on your machine, so I can't tell you
                      >if your PATH is correct or not.
                      >>
                      >--
                      >============== ====
                      >Remove the "x" from my email address
                      >Jerry Stuckle
                      >JDS Computer Training Corp.
                      >jstuck...@attg lobal.net
                      >============== ====
                      >
                      Sorry. Yes, libmysql.dll is located in C:\WINDOWS
                      >
                      OK, is there anything in your IIS error log? And reading back - you
                      mentioned you set the permissions for IIS to read/execute the PHP files
                      - but what about libmysql.dll?

                      --
                      =============== ===
                      Remove the "x" from my email address
                      Jerry Stuckle
                      JDS Computer Training Corp.
                      jstucklex@attgl obal.net
                      =============== ===

                      Comment

                      • mtuller

                        #12
                        Re: PHP, IIS, and ISAPI

                        On Mar 21, 4:06 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
                        mtuller wrote:
                        On Mar 21, 1:24 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
                        mtuller wrote:
                        >On Mar 21, 12:18 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
                        >>mtuller wrote:
                        >>>On Mar 21, 5:19 am, Erwin Moller
                        >>><since_human s_read_this_I_a m_spammed_too_m ...@spamyoursel f.comwrote:
                        >>>>Willem Bogaerts wrote:
                        >>>>>>When I go to install 5.2.1, it gives me an error when it tries to
                        >>>>>>start the server I get an error.
                        >>>>>If you want us to be of any help, please describe what really happens:
                        >>>>>what is the error, and what is output for you phpinfo page if it "does
                        >>>>>not work".
                        >>>>Yes, that would help.
                        >>>>But in most cases when people complain that the 'modules' are not active,
                        >>>>they used the 'handy' windowsinstalle r. (I wished they removed that thing
                        >>>>from their site).
                        >>>>And did you by any chance use the windows installer?
                        >>>>If you did, you also read the fine manual first of course, as can be found
                        >>>>here:http://www.php.net/manual/en/install....installer.php
                        >>>>And the note that is after the first piece of text that says:
                        >>>>
                        >>>>Note: While the Windows installer is an easy way to make PHP work, it is
                        >>>>restricte d in many aspects, for example, the automatic setup of extensions
                        >>>>is not supported. Use of the installer isn't the preferred method for
                        >>>>installin g PHP.
                        >>>>
                        >>>>Regards,
                        >>>>Erwin Moller
                        >>>Sorry guys, I didn't remember exactly what the error was, and I have
                        >>>been battling this for days. I am so sick of IIS. Unfortunately I have
                        >>>one server that uses it.
                        >>>Yes, I have found that the installer is nothing but a pain. It does
                        >>>very little. I have installed from the binary distribution now, and
                        >>>php is running. However, most of the modules, like mysql are not
                        >>>running. The others are openssl, curl, and sockets. I have downloaded
                        >>>the PECL files and have installed them, I have set the system
                        >>>variables, permission, ISAPI Filter, one site suggested a modification
                        >>>to the registry, and on and on. PHP is running, so I know that is not
                        >>>a problem. Why will some of the modules not load?
                        >>>If someone could explain to me why the other modules may not be
                        >>>loading, I would appreciate it.
                        >>>Mike
                        >>Did you uncomment the appropriate extensions in your php.ini file? Are
                        >>the libraries these products need (i.e. libmysql.dll for MySQL) in your
                        >>PATH statement?
                        >>--
                        >>============= =====
                        >>Remove the "x" from my email address
                        >>Jerry Stuckle
                        >>JDS Computer Training Corp.
                        >>jstuck...@att global.net
                        >>============= =====
                        >Yes, I have uncommented the extensions. Here is what I have:
                        >;extension=php _mbstring.dll
                        >;extension=php _bz2.dll
                        >;extension=php _cpdf.dll
                        >extension=php_ curl.dll
                        >;extension=php _dba.dll
                        >;extension=php _dbase.dll
                        >;extension=php _dbx.dll
                        >;extension=php _exif.dll
                        >;extension=php _fdf.dll
                        >;extension=php _filepro.dll
                        >extension=php_ gd2.dll
                        >;extension=php _gettext.dll
                        >;extension=php _ifx.dll
                        >extension=php_ iisfunc.dll
                        >;extension=php _imap.dll
                        >;extension=php _interbase.dll
                        >;extension=php _java.dll
                        >;extension=php _ldap.dll
                        >;extension=php _mcrypt.dll
                        >;extension=php _mhash.dll
                        >;extension=php _mime_magic.dll
                        >;extension=php _ming.dll
                        >;extension=php _mssql.dll
                        >;extension=php _msql.dll
                        >extension=php_ mysql.dll
                        >extension=php_ mysqli.dll
                        >;extension=php _oci8.dll
                        >extension=php_ openssl.dll
                        >;extension=php _oracle.dll
                        >extension=php_ pdf.dll
                        >;extension=php _pgsql.dll
                        >;extension=php _shmop.dll
                        >;extension=php _snmp.dll
                        >extension=php_ sockets.dll
                        >;extension=php _sybase_ct.dll
                        >;extension=php _tidy.dll
                        >;extension=php _ffi.dll
                        >;extension=php _xmlrpc.dll
                        >;extension=php _xsl.dll
                        >;extension=php _yaz.dll
                        >extension=php_ zip.dll
                        >In my system path I have this:
                        >C:\PHP\;C:\Ope nSSL\bin\;C:\cu rl\;
                        >I have set permissions on the files in C:\PHP\ext so that the web
                        >server can read and execute them, I have set the ISAPI filter, and
                        >have set the Web Service Extension, I have set the application
                        >extensions for the host.
                        >PHP is running, it just will not run MySql or Curl or almost any of
                        >the extensions that I have uncommented. It should be working. I have
                        >setup PHP on Linux many times, and have never had problems like this.
                        >Not even back in PHP 3.
                        >Mike
                        Mike,
                        >
                        Did you read ALL OF MY POST?
                        >
                        Are the libraries these products need (i.e. libmysql.dll for MySQL) in
                        your PATH statement?
                        >
                        I don't know where they are located on your machine, so I can't tell you
                        if your PATH is correct or not.
                        >
                        --
                        =============== ===
                        Remove the "x" from my email address
                        Jerry Stuckle
                        JDS Computer Training Corp.
                        jstuck...@attgl obal.net
                        =============== ===
                        >
                        Sorry. Yes, libmysql.dll is located in C:\WINDOWS
                        >
                        OK, is there anything in your IIS error log? And reading back - you
                        mentioned you set the permissions for IIS to read/execute the PHP files
                        - but what about libmysql.dll?
                        >
                        --
                        =============== ===
                        Remove the "x" from my email address
                        Jerry Stuckle
                        JDS Computer Training Corp.
                        jstuck...@attgl obal.net
                        =============== ===

                        I went back and checked, and the permissions for the web server to
                        read and execute libmysql.dll are set. I also looked at the error log,
                        and I have a lot of errors like the one below, but not much else. Just
                        a few missing jpg files.

                        2007-03-21 20:12:55 xxx.xxx.xxx.xxx 30487 xxx.xxx.xxx.xxx 80 - - - - -
                        Timer_Connectio nIdle -

                        Comment

                        • Jerry Stuckle

                          #13
                          Re: PHP, IIS, and ISAPI

                          mtuller wrote:
                          On Mar 21, 4:06 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
                          >mtuller wrote:
                          >>On Mar 21, 1:24 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
                          >>>mtuller wrote:
                          >>>>On Mar 21, 12:18 pm, Jerry Stuckle <jstuck...@attg lobal.netwrote:
                          >>>>>mtuller wrote:
                          >>>>>>On Mar 21, 5:19 am, Erwin Moller
                          >>>>>><since_hu mans_read_this_ I_am_spammed_to o_m...@spamyour self.comwrote:
                          >>>>>>>Willem Bogaerts wrote:
                          >>>>>>>>>When I go to install 5.2.1, it gives me an error when it tries to
                          >>>>>>>>>star t the server I get an error.
                          >>>>>>>>If you want us to be of any help, please describe what really happens:
                          >>>>>>>>what is the error, and what is output for you phpinfo page if it "does
                          >>>>>>>>not work".
                          >>>>>>>Yes, that would help.
                          >>>>>>>But in most cases when people complain that the 'modules' are not active,
                          >>>>>>>they used the 'handy' windowsinstalle r. (I wished they removed that thing
                          >>>>>>>from their site).
                          >>>>>>>And did you by any chance use the windows installer?
                          >>>>>>>If you did, you also read the fine manual first of course, as can be found
                          >>>>>>>here:http://www.php.net/manual/en/install....installer.php
                          >>>>>>>And the note that is after the first piece of text that says:
                          >>>>>>>
                          >>>>>>>Note: While the Windows installer is an easy way to make PHP work, it is
                          >>>>>>>restrict ed in many aspects, for example, the automatic setup of extensions
                          >>>>>>>is not supported. Use of the installer isn't the preferred method for
                          >>>>>>>installi ng PHP.
                          >>>>>>>
                          >>>>>>>Regard s,
                          >>>>>>>Erwin Moller
                          >>>>>>Sorry guys, I didn't remember exactly what the error was, and I have
                          >>>>>>been battling this for days. I am so sick of IIS. Unfortunately I have
                          >>>>>>one server that uses it.
                          >>>>>>Yes, I have found that the installer is nothing but a pain. It does
                          >>>>>>very little. I have installed from the binary distribution now, and
                          >>>>>>php is running. However, most of the modules, like mysql are not
                          >>>>>>running . The others are openssl, curl, and sockets. I have downloaded
                          >>>>>>the PECL files and have installed them, I have set the system
                          >>>>>>variables , permission, ISAPI Filter, one site suggested a modification
                          >>>>>>to the registry, and on and on. PHP is running, so I know that is not
                          >>>>>>a problem. Why will some of the modules not load?
                          >>>>>>If someone could explain to me why the other modules may not be
                          >>>>>>loading , I would appreciate it.
                          >>>>>>Mike
                          >>>>>Did you uncomment the appropriate extensions in your php.ini file? Are
                          >>>>>the libraries these products need (i.e. libmysql.dll for MySQL) in your
                          >>>>>PATH statement?
                          >>>>>--
                          >>>>>========== ========
                          >>>>>Remove the "x" from my email address
                          >>>>>Jerry Stuckle
                          >>>>>JDS Computer Training Corp.
                          >>>>>jstuck...@ attglobal.net
                          >>>>>========== ========
                          >>>>Yes, I have uncommented the extensions. Here is what I have:
                          >>>>;extension= php_mbstring.dl l
                          >>>>;extension= php_bz2.dll
                          >>>>;extension= php_cpdf.dll
                          >>>>extension=p hp_curl.dll
                          >>>>;extension= php_dba.dll
                          >>>>;extension= php_dbase.dll
                          >>>>;extension= php_dbx.dll
                          >>>>;extension= php_exif.dll
                          >>>>;extension= php_fdf.dll
                          >>>>;extension= php_filepro.dll
                          >>>>extension=p hp_gd2.dll
                          >>>>;extension= php_gettext.dll
                          >>>>;extension= php_ifx.dll
                          >>>>extension=p hp_iisfunc.dll
                          >>>>;extension= php_imap.dll
                          >>>>;extension= php_interbase.d ll
                          >>>>;extension= php_java.dll
                          >>>>;extension= php_ldap.dll
                          >>>>;extension= php_mcrypt.dll
                          >>>>;extension= php_mhash.dll
                          >>>>;extension= php_mime_magic. dll
                          >>>>;extension= php_ming.dll
                          >>>>;extension= php_mssql.dll
                          >>>>;extension= php_msql.dll
                          >>>>extension=p hp_mysql.dll
                          >>>>extension=p hp_mysqli.dll
                          >>>>;extension= php_oci8.dll
                          >>>>extension=p hp_openssl.dll
                          >>>>;extension= php_oracle.dll
                          >>>>extension=p hp_pdf.dll
                          >>>>;extension= php_pgsql.dll
                          >>>>;extension= php_shmop.dll
                          >>>>;extension= php_snmp.dll
                          >>>>extension=p hp_sockets.dll
                          >>>>;extension= php_sybase_ct.d ll
                          >>>>;extension= php_tidy.dll
                          >>>>;extension= php_ffi.dll
                          >>>>;extension= php_xmlrpc.dll
                          >>>>;extension= php_xsl.dll
                          >>>>;extension= php_yaz.dll
                          >>>>extension=p hp_zip.dll
                          >>>>In my system path I have this:
                          >>>>C:\PHP\;C:\ OpenSSL\bin\;C: \curl\;
                          >>>>I have set permissions on the files in C:\PHP\ext so that the web
                          >>>>server can read and execute them, I have set the ISAPI filter, and
                          >>>>have set the Web Service Extension, I have set the application
                          >>>>extension s for the host.
                          >>>>PHP is running, it just will not run MySql or Curl or almost any of
                          >>>>the extensions that I have uncommented. It should be working. I have
                          >>>>setup PHP on Linux many times, and have never had problems like this.
                          >>>>Not even back in PHP 3.
                          >>>>Mike
                          >>>Mike,
                          >>>Did you read ALL OF MY POST?
                          >>>Are the libraries these products need (i.e. libmysql.dll for MySQL) in
                          >>>your PATH statement?
                          >>>I don't know where they are located on your machine, so I can't tell you
                          >>>if your PATH is correct or not.
                          >>>--
                          >>>============ ======
                          >>>Remove the "x" from my email address
                          >>>Jerry Stuckle
                          >>>JDS Computer Training Corp.
                          >>>jstuck...@at tglobal.net
                          >>>============ ======
                          >>Sorry. Yes, libmysql.dll is located in C:\WINDOWS
                          >OK, is there anything in your IIS error log? And reading back - you
                          >mentioned you set the permissions for IIS to read/execute the PHP files
                          >- but what about libmysql.dll?
                          >>
                          >--
                          >============== ====
                          >Remove the "x" from my email address
                          >Jerry Stuckle
                          >JDS Computer Training Corp.
                          >jstuck...@attg lobal.net
                          >============== ====
                          >
                          >
                          I went back and checked, and the permissions for the web server to
                          read and execute libmysql.dll are set. I also looked at the error log,
                          and I have a lot of errors like the one below, but not much else. Just
                          a few missing jpg files.
                          >
                          2007-03-21 20:12:55 xxx.xxx.xxx.xxx 30487 xxx.xxx.xxx.xxx 80 - - - - -
                          Timer_Connectio nIdle -
                          >
                          That's interesting. Another thought - I thought I had asked before, but
                          that might have been another thread. Are you sure you're editing the
                          correct php.ini file?

                          I see you did a

                          php -info

                          but that gives the path of the CLI php - which may be different. If you
                          have a file with just

                          <?php phpinfo(); ?>

                          in it, what does it show as the .ini file?

                          Also, are you stopping and starting your webserver after making changes
                          to the php.ini file? And is there anything at all in your Event log?

                          This is strange. :-(

                          --
                          =============== ===
                          Remove the "x" from my email address
                          Jerry Stuckle
                          JDS Computer Training Corp.
                          jstucklex@attgl obal.net
                          =============== ===

                          Comment

                          • ELINTPimp

                            #14
                            Re: PHP, IIS, and ISAPI

                            On Mar 21, 12:04 am, "mtuller" <mitul...@gmail .comwrote:
                            I am attempting to install PHP 5.2.x on Windows 2003 with IIS 6.0.
                            When I go to install 5.2.1, it gives me an error when it tries to
                            start the server I get an error. So I try installing 5.2.0. This
                            installs, but almost none of the modules that I selected in the
                            installation are active. I try to activate them in php.ini, but that
                            doesn't seem to help. Why does the installer allow me to install PHP,
                            select the modules, and then never show the working with phpinfo()?
                            Hello mtuller,

                            I feel your pain, I am (forced) to run PHP on W2k3R2 on IIS6. I got
                            pretty good at installing it, though, as I have 6 webservers across 3
                            separate networks (work for government). When I was first getting
                            this working, I followed the below website to help install it...and it
                            worked flawlessly. I select the extensions in php.ini and just need
                            to restart IIS services to get it running. My suggestion, if you have
                            time, is to just rid yourself of the partially working install and
                            follow his directions.



                            Cheers,

                            Steve

                            Comment

                            Working...