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
https://forums.phpfreaks.com/topic/56154-problem-in-installation/
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.

 

 

  • 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,

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.