Jump to content

Problem in installation


Recommended Posts

hi ppl,

 

    I installed Apache 2.2.4 and PHP 4.4.7...and along with that i made the necessary changes in the httpd.conf file...moved php.ini to the windows directory...and all that.

 

when i run just this code.. http://localhost/....theres no problem at all...implying tht theres no problem with the Apache installation.....but when i execute a php code say a file named test.php......then the entire source code appears without being parsed...

 

when i restart my httpd service after having modified the conf file....i get a message that unable to load the module in to the server....the specific module couldnot be found......where as the path and everything else i ve mentioned are correct...

 

Please help me.....

 

Nishit.

Link to comment
Share on other sites

  • 2 weeks later...

I didn't post the original but I have the same problem.  Below is the Loadmodule directive.  I have tried the slashes both ways just for fun.  LoadModule php5_module "C:/php/php5apache2_2.dll"

 

The error says:

 

"Cannot load C:/php/php5apache2_2.dll into server.  The specified module could not be found." 

 

It is definetly there.

 

 

Link to comment
Share on other sites

  • 5 weeks later...

Im not much help but but i have the very same issue i don't know why it won't recognize the .dll file. I'm using a php mysql textbook and i followed the steps in the book and at one point it says "at the end of the AddModule section insert this code:

 

AddModule mod_php5.c

 

but in the apache configuration file there is no AddModule section. I know that this type of programming language is so touchy that you cant just muddle your way through it like html. it either works or it doesn't.

 

The book covers:

-Mysql 4.1.11

-Apache 1.3.33

-PHP 5.0.4

 

I downloaded:

-MySql 5.0.45

-Apache2.2.4 (my book says to use apache 1.33 but i couldn't find a windows  installer for 1.33 only for 2.2.4)

-php5.2.3

 

Is there something i need to know about how these three communicate and how the newer versions differ??

 

any insight would be greatly appreciated,

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.