You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bill Angus <md...@psychtest.com> on 2006/05/09 12:25:40 UTC

[users@httpd] php5apache2.dll

Anybody know the proper install for PHP5 under Apache 2.2 for Windows? I had to comment out my PHP installation line in config...

#LoadModule php5_module "C:/Php/php5apache2.dll"

If present, this line raises a spurious error message telling me that Apache cannot load the module due to "file-not-found". If I change the module name to php5apache2.so instead of .dll -- the module loads but doesn't function to provide php services -- that is -- trying to raise a php file in the browser results a bad command message. 

The line worked fine in config file for apache 2.0.55.

P.S. thanks again to all who helped with comments while I've been fighting to install Apache 2.2. 

I eventually set up 2 instances of apache. One does name-based hosting, and one is SSL-secured. 

Re: [users@httpd] php5apache2.dll

Posted by belia <be...@cable.A2000.nl>.
See the note from philip at:
http://www.php.net/manual/en/install.windows.apache2.php


belia
  ----- Original Message ----- 
  From: Bill Angus 
  To: users@httpd.apache.org 
  Sent: Tuesday, May 09, 2006 12:25
  Subject: [users@httpd] php5apache2.dll


  Anybody know the proper install for PHP5 under Apache 2.2 for Windows? I had to comment out my PHP installation line in config...

  #LoadModule php5_module "C:/Php/php5apache2.dll"

  If present, this line raises a spurious error message telling me that Apache cannot load the module due to "file-not-found". If I change the module name to php5apache2.so instead of .dll -- the module loads but doesn't function to provide php services -- that is -- trying to raise a php file in the browser results a bad command message. 

  The line worked fine in config file for apache 2.0.55.

  P.S. thanks again to all who helped with comments while I've been fighting to install Apache 2.2. 

  I eventually set up 2 instances of apache. One does name-based hosting, and one is SSL-secured. 

Re: [users@httpd] php5apache2.dll

Posted by hunter <th...@gmail.com>.
On 5/9/06, Bill Angus <md...@psychtest.com> wrote:
>
> Anybody know the proper install for PHP5 under Apache 2.2 for Windows? I had
> to comment out my PHP installation line in config...
>
> #LoadModule php5_module "C:/Php/php5apache2.dll"
>
> If present, this line raises a spurious error message telling me that Apache
> cannot load the module due to "file-not-found". If I change the module name
> to php5apache2.so instead of .dll -- the module loads but doesn't function
> to provide php services -- that is -- trying to raise a php file in the
> browser results a bad command message.
>
> The line worked fine in config file for apache 2.0.55.
>
> P.S. thanks again to all who helped with comments while I've been fighting
> to install Apache 2.2.
>
> I eventually set up 2 instances of apache. One does name-based hosting, and
> one is SSL-secured.

I just helped a friend with this kind of problem. The DLL was not in
the directory indicated in the httpd.conf.

We found it in c:\servers\php\bin.

So you have to change the last line as well ... c:\servers\php

Do a dir /s php5apache2.dll and see where the file is actually located.

After fixing the httpd.conf I have to run 'apache -k install' and
'apache -k start' to get things running.

Chris.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] php5apache2.dll

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
Bill Angus wrote:
> Anybody know the proper install for PHP5 under Apache 2.2 for Windows? I 
> had to comment out my PHP installation line in config...
>  
> #LoadModule php5_module "C:/Php/php5apache2.dll"
>  
> The line worked fine in config file for apache 2.0.55.

*Read* release notes/announcements carefully.

   This release has been through extensive testing, including live at some
   of the world's busiest sites, and is now considered stable.  This means
   that modules and applications developed for Apache 2.2.2 will be both
   source- and binary-compatible with future 2.2.x releases.  This release
   builds on and extends the Apache 2.0 API. Modules written for Apache 2.0
   will need to be recompiled in order to run with Apache 2.2, but no
   substantial reworking should be necessary.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org