This is a discussion on Getting php4 to run as module in apache2 within the Windows Web Servers forums, part of the Web Server and Related Forums category; When I put the following three lines in my hppd.conf (as per the php install instructions): LoadModule php4_module "...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
When I put the following three lines in my hppd.conf (as per the php install
instructions): LoadModule php4_module "c:/php/php4apache2.dll" AddType application/x-httpd-php .php PHPIniDir "c:/php" I get the following error in the console (not even the log file) on startup: Syntax error on line 987 of c:/..../httpd.conf: Cannot load C:/Php/php4apache2.dll into server: One of the library files needed to run this application cannot be found. Note the errors and press the <esc> key to exit. The php4apache2.dll is in the correct directory. Can anyone give me a hint as to what might be missing? In the meantime, I'm running as a cgi. Regards, Dan |
|
|||
|
On 28 Dec 2004, "Dan Stumpus" <dstumpus_NOSP@mindspring.com> wrote
in news:wrqAd.1210$Cc.398@newsread3.news.pas.earthlin k.net: > The php4apache2.dll is in the correct directory. > Can anyone give me a hint as to what might be missing? I always had trouble getting PHP4 to find it's dlls in the PHP directory. I finally put the necessary ones (php4apache.dll, php4ts.dll, and my.ini) in Windows\system32 and all was well. Since then, I've installed PHP5 and it finds it's dlls wherever I tell it to look. |
|
|||
|
Nil wrote:
> I always had trouble getting PHP4 to find it's dlls in the PHP > directory. I finally put the necessary ones (php4apache.dll, > php4ts.dll, and my.ini) in Windows\system32 and all was well. Thanks! On my old creaky win 98 system, I put php4ts.dll in Windows, and it works now (I left the ini and php4apache2.dll in c:\php). > Since then, I've installed PHP5 and it finds it's dlls wherever I tell > it to look. I went with php4 'cause I couldn't figure out how to enable mysql support, but now that I've researched the answer, I'll upgrade soon. Thanks for your help, Dan |
|
|||
|
On 29 Dec 2004, "Dan Stumpus" <dstumpus_NOSP@mindspring.com> wrote
in news:0pBAd.11897$RH4.4965@newsread1.news.pas.earth link.net: > I went with php4 'cause I couldn't figure out how to enable mysql > support, but now that I've researched the answer, I'll upgrade > soon. It took me a little while, but I got this working as well, so ask if you want advice when the time comes. > Thanks for your help, You're welcome. Thanks for the follow-up - that's almost unheard of in this newsgroup. |
|
|||
|
Dan Stumpus wrote: > Nil wrote: > > > I always had trouble getting PHP4 to find it's dlls in the PHP > > directory. I finally put the necessary ones (php4apache.dll, > > php4ts.dll, and my.ini) in Windows\system32 and all was well. > > Thanks! On my old creaky win 98 system, I put php4ts.dll in Windows, and it > works now (I left the ini and php4apache2.dll in c:\php). > > > Since then, I've installed PHP5 and it finds it's dlls wherever I tell > > it to look. > > I went with php4 'cause I couldn't figure out how to enable mysql support, > but now that I've researched the answer, I'll upgrade soon. > > Thanks for your help, > > Dan Will PHP5 run on Win98 SE or is XP or NT required? I haven't tried PNP5 yet, afraid of consequences on my creaker. Thanks, Mike |