473,545 Members | 2,042 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3407
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' 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
Mar 21 '07 #3
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

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...@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.
Mar 21 '07 #6
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.
js*******@attgl obal.net
=============== ===
Mar 21 '07 #7
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

Mar 21 '07 #8
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.
js*******@attgl obal.net
=============== ===
Mar 21 '07 #9
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

Mar 21 '07 #10

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

Similar topics

4
3213
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 via the "Microsoft.XMLHTTP" object. The results of the isapi dll will be displayed to the user without refreshing the asp page. I have a code...
1
1656
by: Aaron | last post by:
whats the difference between an isapi filter and isapi extension? thanks
6
1765
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 recommend an excellent book that has some decent samples to get an out of shape C++ programmer and ISAPI beginner going? Thank you.
3
2242
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) initialization routine failed." in my browser. These ISAPI extension work when they execute under W2K or WXP. To reproduce the problem, I've...
2
2037
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 it is written in C++, which should have nothing to do with it. But, in general, can you write a handler that will handle just as many...
2
2576
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 .asp page with responsibility for handling the redirect. I'm now planning to use this solution with my next .net project, and was wondering if...
2
3341
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. However I cannot find any documentation on how to receive an HTTP request ( HTTPcontext ) with an HTTPhandler and keep the connection alive. The...
2
2069
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 release it until I restart the machine. Even after restarting the W3SVC and removing it from the list of ISAPI filters, it still has a lock on it. ...
0
1612
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 examine the properties of my web server, my filter has a big red down arrow next to it. But I can't seem to figure out where I should be looking to find...
0
5967
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 on an old project that happens to run on IIS6/W2000/MSSQL7, but my W2000 machine couldn't handle the size of the database in question anymore. :-(...
0
7478
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7668
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7437
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7773
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
4960
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3466
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1901
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
722
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.