Cannot load php4apache2.dll into server

  • linuz
  • Novice
  • Novice
  • linuz
  • Posts: 15

Post 3+ Months Ago

Hey guys, please help me with this...
I am trying to setup an Apache 2 server with PHP4 in Windows box, I add the line

Quote:
LoadModule php4_module h:/php/php4apache2.dll


The php4apache2.dll is prsent in H:\PHP, still it says it cannot load the module, it cannot find the file. Now whats wrong with it? I have also added the folder path in PATH environment variable, still it doesn't work. I am just stuck at this dumb error with no clue no solution. Thought it might be helpful if I put it in Linux forum coz I know very few stupid persons like me do this in Windows.
Well can you help me? I needed a quick solution.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Don2007
  • Web Master
  • Web Master
  • Don2007
  • Posts: 4924
  • Loc: NY

Post 3+ Months Ago

Your quote has front slashes and the error message has back slashes. Unix uses front slashes and Windows uses back slashes, so my guess is that it should read:
LoadModule php4_module h:\php\php4apache2.dll
instead.
  • linuz
  • Novice
  • Novice
  • linuz
  • Posts: 15

Post 3+ Months Ago

yes, I know, its just a typo
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

are you using Apache 2 , or Apache 2.2? because there is a difference.. i'm using Apache 2.2 with PHP5 in Windows and this is the line i have to load the module:
Code: [ Select ]
LoadModule php5_module "C:/php/php5apache2_2.dll"


i once found a good tutorial for installing apache/php/etc in windows before and i sent the url to daemonguy but he ignored it ;) lol but it may be of some help to you..
http://mpcon.org/apacheguide/
  • linuz
  • Novice
  • Novice
  • linuz
  • Posts: 15

Post 3+ Months Ago

Thanks I am checking it and its Apache2 (not 2.2).
Well I have degraded it to 1.3, now its working. Still I have no idea why there was a problem.
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

yea..i find that rather odd. is the php folder still located on your H drive?
& its not like apache 1.3 is worse.. it possibly has less features (that you probably wont use), but it is supposed to be more secure..
  • linuz
  • Novice
  • Novice
  • linuz
  • Posts: 15

Post 3+ Months Ago

yea that was in H: drive and still it is...:)
  • pramitroy
  • Guru
  • Guru
  • pramitroy
  • Posts: 1284

Post 3+ Months Ago

I had the same problem, it was fixed after installing EasyPHP.
That will automatically configure Apache and MySQL.
  • malukisses
  • Born
  • Born
  • malukisses
  • Posts: 1

Post 3+ Months Ago

I had the same problem, and could not install EasyPHP because it does not run on Windows Vista.

So I removed php4, downloaded and installed php5 eand verything worked fine.

I suppose there must be some kind of incompatibility between php 4 and apache 2.2.

Don't know, but try it, might work for you too.
  • gansal
  • Born
  • Born
  • gansal
  • Posts: 3

Post 3+ Months Ago

I followed the steps on this site and it works very fine for me. No problems with PHP and Apcahe

http://php-apache.blogspot.com/

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: No registered users and 95 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.