Click to See Complete Forum and Search --> : Installation failure on WinNT with PWS


Anon
09-21-2000, 11:48 PM
This is my first time installing PHP. I tried to install PHP4 on WinNT 4.0 (workstation) with PWS, but it failed.

I followed the instructions on the readme file that came with the PHP4 installation files exactly. I copied the PHP4TS.DLL file to \Winnt\system32, changed the file php.ini-dist to php.ini, edit the PWS-php4.reg and executed it (C:\\Program Files\\php\\php4isapi.dll), and updated my PWS manager (\myphp). I did all as per instructed.

Then, I created a little PHP file with the following content and saved the file as test.php under C:\Program Files\php.


<BODY>
<?PHP
echo "My first PHP installation!";
?>
</BODY>


However, when I tried to execute this file (http://localhost/myphp/test.php), the web browser output only this sentence: "The specified module could not be found."

So, I opened the php.ini file and remove all the semicolon (";") in front of all the extensions. When I rebooted my system, it still gave me the same error message.

What should I do?

Anon
09-22-2000, 01:33 AM
Can you not use IIS if you are on NT? It is a lot simpler to install php on.....however, I recommend that you use the php.exe version instead of php4isapi.dll cos' it hasn't been tested as much as the exe version. I nuked two pc's runninh IIS5 with using the dll setup......so maybe it's related?

Perhaps you could try using the php.exe setup with PWS and see if you still get the errors?

rgds,
scott d~

Anon
09-22-2000, 04:37 AM
I'm not sure of how to use the php.exe with PWS. Anyway, to follow what you suggested, I simply executed "regedit" and removed all the "php4isapi.dll" and replaced them with "php.exe". (There were two changes I made in the registry, and both were under HKEY LOCAL MACHINE -> SYSTEM -> CurrentControlSet -> Services -> W3SVC -> Parameters -> Script Map. Since I installed my PHP4 files under "C:\Inetpub\Scripts\php", I replaces both entries for ".php" and ".php3", from "C:\Inetpub\Scripts\php\php4isapi.dll" to "C:\Inetpub\Scripts\php\php.exe". So, was I doing the correct thing?

Anyway, it still didn't work. Now I put the test.php file under "C:\Inetpub\Scripts\php" and it still said "The specified module could not be found."

What module was it looking for? And how can I solve this problem (and get PHP running)?

Anon
09-22-2000, 06:26 AM
Forgot to mention this: Prior to getting the "could not find module" error, I got "HTTP/1.1 500 Server Error" message.

So, what is going wrong? And how can I solve this?

Anon
06-26-2002, 11:14 PM
Help Help Help

I am trying to install PHP4 on PWS4 and got "HTTP/1.1 500 Server Error" messagge, first
Then, I tried to execute again and the messagge was "could not find module".

How can I do?
Can you help me?

Thanks

Marcela



Eugene wrote:
-------------------------------
Forgot to mention this: Prior to getting the "could not find module" error, I got "HTTP/1.1 500 Server Error" message.

So, what is going wrong? And how can I solve this?

Anon
07-28-2002, 03:40 AM
I am having the exact same errors except I am trying PWS with Windows 98. I haven't been able to find good documentation on this yet. If anyone could help i would be grateful.

Seth
seth_gross@hotmail.com