By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,712 Members | 1,253 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,712 IT Pros & Developers. It's quick & easy.

PHP, IIS, and ISAPI

P: n/a
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
Share this Question
Share on Google+
13 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.