Reply to Re: PHP, IIS, and ISAPI

Your name:

Reply:


Posted by Jerry Stuckle on 03/21/07 21:06

mtuller wrote:
> On Mar 21, 1:24 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> mtuller wrote:
>>> On Mar 21, 12:18 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>>>> mtuller wrote:
>>>>> On Mar 21, 5:19 am, Erwin Moller
>>>>> <since_humans_read_this_I_am_spammed_too_m...@spamyourself.com> wrote:
>>>>>> 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.windows.installer.php
>>>>>> And the note that is after the first piece of text that says:
>>>>>> [quote]
>>>>>> 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.
>>>>>> [/quote]
>>>>>> 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.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация