Re: Apache and PHP
| From: | Jacques Steyn | Date: | Mon, 17 Jun 2002 18:33:54 +0000 |
| Subject: | Re: Apache and PHP | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14243@lists.php.net to get a copy of this message | ||
Hi Scott
Thanks. I've tried this now, but there seems to be libary problem.
I get this error message:
Cannot load c:/program files/apache group/apache/module/php4apache.dll into
server: (1157) One of the library files needed to run this application
cannot be found
Apache sees the dll, but apparently not some associated library. Any idea
how to fix this?
Ciau
Jacques
Scott Carr wrote:
> Copy the php4apache.dll into the Apache/modules directory.
>
> LoadModule php4_module module/php4apache.dll
> AddModule mod_php4.c
>
> I am assuming of course that you have windows, thus the DLL.
>
> You may also try:
>
> LoadModule php4_module c:\php\sapi\php4apache.dll
> AddModule mod_php4.c
> --
> Scott Carr
> OpenOffice.org
> Documenation Maintainer
> http://documentation.openoffice.org/
>
> Quoting Jacques Steyn <jacques@knowsystems.com>:
>
> > I have problems getting Apache and PHP understanding one another.
> > Erik (from Belgium) suggested to add these lines to httpd.config:
> > LoadModule php4_module c:/path to php4apache.dll
> > AddModule = mod_php4.c
> > But Apache complains about this - all the other modules have .so
> > extensions, so I don't know if it is the .dll that is the problem.
> > Apache complains that it cannot load that dll file into the server, a
> > device attached to the system is not functioning.
> >
> > I got Apache and PHP each running OK, but Apache still cannot see PHP.
> > Any suugestions?
> > Thanks
> > --
> > ___________________
> > Jacques Steyn
> >
> > +27 (0)11 478-1259
> > http://www.knowsystems.com
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
--
___________________
Jacques Steyn
+27 (0)11 478-1259
http://www.knowsystems.com