View Single Post

  #6 (permalink)  
Old 06-16-2005
Fred Atkinson
 
Posts: n/a
Default Re: PHP 5 Doesn't Work

On Tue, 14 Jun 2005 15:46:16 +0200, "Christian" <mcw@lockfile.org>
wrote:

>hi,
>
>>>> There *is* a php5ts.dll file there. I tried chaning that line
>>>> to reflect the php5ts.dll, but that didn't work.

>
>looks like you just loaded the installable cgi-only package from php.net. if
>you load the complete archive (zipped package, about 7,5 mb) than there you
>will also find the necessary modlue-files php5apache.dll (for apache 1.3x)
>and php5apache2.dll (for apache 2.x). just extract the archive over the
>installation directory ;)
>
>bye
>


I just downloaded the latest version of PHP 5.0. I unzipped
it to the C:\PHP directory (I had deleted all files that were there
before).

I put these two lines of code into my httpd.conf file:

LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php

I stopped Apache. I restarted Apache. Again, it won't
restart. So I am removing those two lines.

Any other suggestions?


Fred