1 note the directory where apache and php are install'd - c:\apache , c:\apache\php ( thats mine).
find the php.iniRECOMMENDED file in Yr location of Apache:
/apache/php/php.recommened.ini (approx.) renamed to php.ini save in c:/windoze/system32.
2 apache shld run 'outta-da-box', meaning
if NOT u go to the app. launcher in Windoze (I assume! ) apache ought to be in there, perhaps in the start menu section. if not naviagte to the phyiscal location of Apache.exe , C:/Apche/bin - apache.exe (yeah) and simply pull it on to the desktop
, now run the newly made shortcut of apache. shld see it run a dos shell.
3
naviagte the httpd.conf in c:\apache\conf, now carefully locate the following php lines;
php4apache.dll- remove hash @ the front of that line, the other lines are
'I Think' ON Addtype and Action lines, SAYING php someting blah blah,. by removing the hashes , at the beginning of each 'PHP' lines Yr'll ensure those ' 'DIRECTIVES' lines run under Apache.
NOTES: If ADDTYPE an ACTION dont folowing directly underneath, !st pointer CAREFULLY scroll down (2/3 of pthe page).
Save httpd.conf in its directory C:?Apache/conf.
NOW shutdown Apache dso-shell window and rerun, open a browser up and type in http://localhost/index.html.
put this in a new file <?
phpinfo();
?> save this AS SomeThing Logical and run it http://lolcalhost/filename.php.
shld show all the modules php has setup to run.
To Add addtional modules, I copied my /apache2/php/extensiojns directory to c:/windoze/system32 then UNCHECK the HASHES '#' for the modules U want in the c:/windoze/php.ini.
No need to reshutdown Apche, here only if U change someting in httpd.conf file.
Try that an let me know how U get on.