473,395 Members | 1,452 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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()?

Mar 21 '07 #1
13 3399
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.
http://www.kratz.nl/
Mar 21 '07 #2
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' windowsinstaller. (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
Mar 21 '07 #3
On Mar 21, 5:19 am, Erwin Moller
<since_humans_read_this_I_am_spammed_too_m...@spam yourself.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' windowsinstaller. (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

Mar 21 '07 #4
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/
Mar 21 '07 #5
On Mar 21, 9:43 am, Willem Bogaerts
<w.bogae...@kratz.maardanzonderditstuk.nlwrote:
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.
Mar 21 '07 #6
mtuller wrote:
On Mar 21, 5:19 am, Erwin Moller
<since_humans_read_this_I_am_spammed_too_m...@spam yourself.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' windowsinstaller. (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.
js*******@attglobal.net
==================
Mar 21 '07 #7
On Mar 21, 12:18 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
mtuller wrote:
On Mar 21, 5:19 am, Erwin Moller
<since_humans_read_this_I_am_spammed_too_m...@spam yourself.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' windowsinstaller. (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...@attglobal.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:\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
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

Mar 21 '07 #8
mtuller wrote:
On Mar 21, 12:18 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>mtuller wrote:
>>On Mar 21, 5:19 am, Erwin Moller
<since_humans_read_this_I_am_spammed_too_m...@sp amyourself.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' windowsinstaller. (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...@attglobal.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:\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
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.
js*******@attglobal.net
==================
Mar 21 '07 #9
On Mar 21, 1:24 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
mtuller wrote:
On Mar 21, 12:18 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
mtuller wrote:
On Mar 21, 5:19 am, Erwin Moller
<since_humans_read_this_I_am_spammed_too_m...@spa myourself.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' windowsinstaller. (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...@attglobal.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:\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
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...@attglobal.net
==================
Sorry. Yes, libmysql.dll is located in C:\WINDOWS

Mar 21 '07 #10
mtuller wrote:
On Mar 21, 1:24 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>mtuller wrote:
>>On Mar 21, 12:18 pm, Jerry Stuckle <jstuck...@attglobal.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' windowsinstaller. (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...@attglobal.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:\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
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...@attglobal.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.
js*******@attglobal.net
==================
Mar 21 '07 #11
On Mar 21, 4:06 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
mtuller wrote:
On Mar 21, 1:24 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
mtuller wrote:
On Mar 21, 12:18 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
mtuller wrote:
On Mar 21, 5:19 am, Erwin Moller
<since_humans_read_this_I_am_spammed_too_m...@s pamyourself.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' windowsinstaller. (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...@attglobal.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:\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
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...@attglobal.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...@attglobal.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_ConnectionIdle -

Mar 21 '07 #12
mtuller wrote:
On Mar 21, 4:06 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
>mtuller wrote:
>>On Mar 21, 1:24 pm, Jerry Stuckle <jstuck...@attglobal.netwrote:
mtuller wrote:
On Mar 21, 12:18 pm, Jerry Stuckle <jstuck...@attglobal.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' windowsinstaller. (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...@attglobal.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:\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
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...@attglobal.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...@attglobal.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_ConnectionIdle -
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.
js*******@attglobal.net
==================
Mar 22 '07 #13
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.

http://www.iis-resources.com/modules...yid=615&page=0

Cheers,

Steve

Mar 23 '07 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Irene | last post by:
Hi, I have an asp page that allows a user to search for info in a DB and add info to a DB. The search uses "ADODB.Connection" objects in the page, but the add will use a call to an isapi dll...
1
by: Aaron | last post by:
whats the difference between an isapi filter and isapi extension? thanks
6
by: msnews.microsoft.com | last post by:
I am a C# programmer with a little C++ experience from a few years ago. I need to write some ISAPI filters and extensions to run on the latest version of IIS on .net Server 2003. Can anyone...
3
by: Lionel Schiepers | last post by:
I rencently tested an web application with ISAPI extensions that internally use managed extensions but the call to the ISAPI failed. I receive the following message: "A dynamic link library (DLL)...
2
by: Norton | last post by:
I had a person tell me the other day that a person would not be able to beat the efficiency of an ISAPI dll, especially by using handlers/modules. Of course, they could only say the reason was that...
2
by: Jon Maz | last post by:
Hi All, I've been looking into options for URL Rewriting in .net, and to be honest, I haven't seen anything that's easier than the old Classic Asp solution with an ISAPI filter redirecting to an...
2
by: yachtIT | last post by:
HI MS, I have read from official microsoft msdn that an HTTPhandler in .NET can do anything a c++ isapi extension can do. Only a .NET HTTPhandler has a much more easy programming model. ...
2
by: Drew Burchett | last post by:
I am currently coding an ISAPI filter and I would like to use some .Net functionality within the filter. However, when I include calls to anything in the framework, it locks the dll and will not...
0
by: Chris Curvey | last post by:
Hi all, I'm trying to write an ISAPI filter in Python, using the examples that come in the "isapi" directory of the win32com package. The installation program itself runs fine, but when I...
0
by: Erwin Moller | last post by:
Hi, I am one of those questionable people that started with Vista (Home Premium). Not because I think it is a ready/steady OS, but partly out of curiousity, and partly because I needed to work...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.