hell_nishit Posted June 19, 2007 Share Posted June 19, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/56154-problem-in-installation/ Share on other sites More sharing options...
wildteen88 Posted June 19, 2007 Share Posted June 19, 2007 Your configuration is incorrect if you are getting that error. Could you post what lines you have added to the httpd.conf file when you installed PHP. Quote Link to comment https://forums.phpfreaks.com/topic/56154-problem-in-installation/#findComment-277918 Share on other sites More sharing options...
scottintexas Posted July 1, 2007 Share Posted July 1, 2007 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. Quote Link to comment https://forums.phpfreaks.com/topic/56154-problem-in-installation/#findComment-287207 Share on other sites More sharing options...
deadpress Posted July 30, 2007 Share Posted July 30, 2007 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, Quote Link to comment https://forums.phpfreaks.com/topic/56154-problem-in-installation/#findComment-311244 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.