Cannot load php4apache2.dll into server

  • linuz
  • Novice
  • Novice
  • No Avatar
  • Joined: Feb 11, 2006
  • Posts: 15
  • Status: Offline

Post March 6th, 2007, 7:12 am

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 6th, 2007, 7:12 am

  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post March 6th, 2007, 3:29 pm

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.
How do you know when a politician is lying? His mouth is moving.
  • linuz
  • Novice
  • Novice
  • No Avatar
  • Joined: Feb 11, 2006
  • Posts: 15
  • Status: Offline

Post March 6th, 2007, 8:59 pm

yes, I know, its just a typo
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post March 7th, 2007, 6:40 am

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/
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • linuz
  • Novice
  • Novice
  • No Avatar
  • Joined: Feb 11, 2006
  • Posts: 15
  • Status: Offline

Post March 7th, 2007, 1:22 pm

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
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post March 7th, 2007, 1:31 pm

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..
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • linuz
  • Novice
  • Novice
  • No Avatar
  • Joined: Feb 11, 2006
  • Posts: 15
  • Status: Offline

Post March 8th, 2007, 10:03 am

yea that was in H: drive and still it is...:)
  • pramitroy
  • Guru
  • Guru
  • No Avatar
  • Joined: May 19, 2005
  • Posts: 1284
  • Status: Offline

Post March 9th, 2007, 2:09 am

I had the same problem, it was fixed after installing EasyPHP.
That will automatically configure Apache and MySQL.
  • malukisses
  • Born
  • Born
  • No Avatar
  • Joined: Jun 21, 2007
  • Posts: 1
  • Status: Offline

Post June 21st, 2007, 7:56 pm

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.
  • ganesh.salpure
  • Born
  • Born
  • No Avatar
  • Joined: Nov 14, 2007
  • Posts: 2
  • Status: Offline

Post November 14th, 2007, 4:00 am

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 61 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
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.