problem with activating PHP in ISS...

problem with activating PHP in ISS...

by Miki Alliel -
Number of replies: 7
Picture of Translators

problem with activating PHP in ISS ...

I'm just installing moodle 1.6 beta but can't get throw the install.php file I get en error page:

HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)

I think the problem is in IIS

I installed the whole package of php 5.1.4

But can't fine the php5isapi.dll file for the isapi filter configuration in the IIS

So what can I do to activate php in my explorer or IIS???

MAYBE I need to do something else?

Please help

thanks

Average of ratings: -
In reply to Miki Alliel

Re: problem with activating PHP in ISS...

by Patrick Karjala -
Did you install PHP 5 using the manual installer, or the Windows installer package?
In reply to Patrick Karjala

Re: problem with activating PHP in ISS...

by Miki Alliel -
Picture of Translators

Yes I did install PHP5.1.4 from the site http://www.php.net/downloads.php

first I  extracted the Complete Source Code zip file PHP 5.1.4 (tar.gz)

and then installed the  PHP 5.1.4 installer from Windows Binaries.

 

 why , what should I had done?

still can you see how can I fix my problem?

thanks

In reply to Miki Alliel

Re: problem with activating PHP in ISS...

by Patrick Karjala -
What I recommend doing is uninstalling php from your computer, then doing a search for any *.php files, or php*.* files and removing these as well.  Then re-install PHP from the Installer file.  Sometimes installing PHP manually, then installing via the Installer can cause issues.
In reply to Miki Alliel

Re: problem with activating PHP in ISS...

by Thomas Haynes -
The problem with the installer is that it installs php in cgi mode if I remember correctly. My understanding is that want ISAPI mode so it will scale.

I know that that authentication in phpESP (the program not the module) does not work correctly in cgi mode. When I did my install, I was looking for the ISAPI howto...

There are folks on the site with a lot more experience with php on iis than I have, and  Patrick is probably one of them. FWIW I have Moodle 1.6 running well on iis6, MySQL 5, and php5.1.4 with Zend Optimizer.
In reply to Miki Alliel

Re: problem with activating PHP in ISS...

by Thomas Haynes -

This howto was pretty helpful to me when I installed php5 on a Windows 2003 machine.

 http://www.peterguy.com/php/install_IIS6.html

In reply to Thomas Haynes

Re: problem with activating PHP in ISS...

by Miki Alliel -
Picture of Translators

thanks for the replys / before I'll do it again

I just don't understand  something

what do I need to do to install the whole php package' do I need to :

1) install the Installer of php  PHP 5.1.4 installer    ??

2)or the zip file PHP 5.1.4 (tar.gz) (and uzip it to c:\php)

3)  or the  two of them??

  and if the two of them so what first? is it matter?

please try to answer it's critical to continue the progress

thanks

In reply to Miki Alliel

Re: problem with activating PHP in ISS...

by Thomas Haynes -
In the ISAPI install described in the link above, you do not use the installer. Unzip the downloaded file someplace. The instructions use c:\php