Forum Moderators: coopster
I have been using Apache and PhP for long, but never had the oportunity to install it my self.
Now I need to and off course have mayor problems.
I was lucky enough to install succesfully Apache, but have problems with the PhP5 site, and I need it so desperatly as nearly all my web pages are with PhP and I would like to get back into gear again.
I have been reading here an articel but no go, and than another out of an book which made sence but there is talk about a Dll file which is not in the PhP5 setup install?
1. Choose Program Files, Apache HTTP Server 2.0.49, Configure Apache Server, Edit the
Apache httpd.conf Configuration File from the Windows Start menu
2. Look for a section of text like the one shown in the figure.
3. Add the following code to the end of that section:
***************************
4. LoadModule php5_module
5. c:/php// php5apache2.dll
***************************
6. Look for a section of text like the one shown
7. Add the following line:
8. AddType application/x-
9. httpd-php .phtml .php
10. Save and close the httpd.conf file.
Could somebody help PLEASE .......
Thank You in advance aktell
Check out this thread, see if it helps any:
http://www.webmasterworld.com/forum88/5212.htm [webmasterworld.com]
dc
# For PHP 5 do something like this:
LoadModule php5_module "c:/php/php5apache2.dll"
AddHandler php5-script php
AddType text/html php
YES, Thank you very much I was able to get it working I just had to download again the PhP5 Zip File and here I had all Dll's. Thanks again!
I have another question so, when my php pages are showing they work fine but I have the [#!/usr/local/bin/php] in the top left corner all the times showing? I can't remember what to do there as I did all this around two to three years ago and just starting up again. Any help is appreciated.
Thanks aktell