Need help setting up my server

  • Abyss
  • Newbie
  • Newbie
  • Abyss
  • Posts: 5
  • Loc: SA

Post 3+ Months Ago

Hi guys, I don't know if this has been asked, but I need some help with my webserver. I can't get PHP to work with Apache2. Everytime I add the loadModule cmd to my apache conf file, and I start my apache server up, it says cannot load php4apache2.dll into server: The specified module could not be found.

My directory to php4apache2 is perfectly right, I have changed it a thousent times. Further more, the php4ts.dll that is suppose to work with this php4apache2 file is in every dir they say it should be (I know it should only be in one dir)


I actually tried Xitami aswell...No luck either :( I went to the filter page and added my .php extension and the command to the php.exe dir, but when I try to pull up a php webpage, It wants to download the file :/

Any help would be appreciated.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

Moved to Unix / Linux. Probably better suited here to get your answers.
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9089
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

Well for my server I have to add a few lines in the httpd.conf file to get it to work. However this might be different for you since it sounds like you are trying to do this from a Windows Machine. I am using a Linux Server (Redhat).

Here are the lines I added:

Code: [ Select ]
LoadModule php4_module     modules/libphp4.so


and a bit farther down:

Code: [ Select ]
AddModule mod_php4.c


and much farther down where types are. The code below is usually what is responsible for it to not want to download the file. Since the server will now recognize that it should not serve the file, but execute it:

Code: [ Select ]
 AddType application/x-httpd-php .php .php4 .php3


Hopefully this will get you in the right direction :)
  • Abyss
  • Newbie
  • Newbie
  • Abyss
  • Posts: 5
  • Loc: SA

Post 3+ Months Ago

Yeah I think my main problem is that I'm using Win32 to try this on.

Have you ever- or are you using PHP with the new apache2? I'm told that it's experimental, but I cant find a freekin win version of apache 1.xxx

As for those lines, I do add them, just *.dll inplace of *.so :P

thanks anyway

Hmm, maybe you could give me some other http server that I might try out?
  • 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: 5 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.