Hi gang... here's the deal... started reading a book about php and MySQL anyway while instaling it's said to go to httpd.conf file and add 3 following lines at LoadModule section:
but when I do that and restart the apache server it wouldn't work. I checked the files I'm directing to and they're there so could anyone pls explain these 3 lines to me if they're important or not because I can't get server running with them.Code:LoadModule php5_module c:/php5/php5apache2.dll AddType application/x-httpd-php .php PHPIniDir "c:\php5"
also ran the configuration... it says the module couldn't be found...
After installing Apache 2, download the PHP binaries from php.net and place them in C:\PHP5, this is how Apache will know where the PHP binaries are. Your httpd.conf code's LoadModule line had no quotes around the path, so add them, but note if you are using Apache 2.2 you must comment out the first LoadModule line and add this instead:
Be sure the dll module exists in either case. Ensure httpd (Apache) is STOPPED and runCode:LoadModule php5_module "c:/php5/php5apache2_2.dll"
After you can start it with -k start, create a document that has <?php phpinfo(); ?> inside to verify it works.Code:httpd.exe -k install
Be sure to read the updated FAQ || Health is achieved through 10,000 different steps.
A textual description can be only part of your question, be sure to provide sample results, errors and your platform in the appropriate forums while asking.
I did exactly that... as I said I checked that the files I was refering to were there. I didn't test it until after I installed php5 and changed php.ini-dist to php.ini
To tell you the truth I'm not sure if installing Apache on Windows 7 is a straightforward task, Who knows what underlaying things changed. You can safely uninstall Apache 2 and PHP and install something meant for dev work, such as the more official XAMPP or an easier EasyWAMP. This comes packaged with Apache 2 and PHP5 pre-installed, so all you need to do is install it and run the module. It's generally without saying what all devs and server distributions use (LAMP stacks for example).
Be sure to read the updated FAQ || Health is achieved through 10,000 different steps.
A textual description can be only part of your question, be sure to provide sample results, errors and your platform in the appropriate forums while asking.
some one can tell me how to configure the TIMEOUT of apache in Wamp Server..![]()
Last edited by Orjan; 08-31-2010 at 01:57 PM. Reason: You don't have to resize that text.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks