View Single Post
Join Date: Mar 2006
Posts: 12
Reputation: Viji is an unknown quantity at this point 
Solved Threads: 0
Viji Viji is offline Offline
Newbie Poster

Re: Apache2.2 and php5.1.4 installation... pls help

 
0
  #2
Jun 1st, 2006
I am very much sure that the error is not by adding the line LoadModule php5_module "c:/php/php5apache2.dll". If you are using Apache 2.X, we need to add “c:/php/php4apache2.dll" instead of "c:/php/php4apache.dll".

U need to add more one line in the "http.conf� file
Simply search for the line in the file that begins with a "DirectoryIndex" and add "index.php" to the list of files on that line.
For Eg: change it to DirectoryIndex index.php index.html

The next time you access "localhost" or "localhost/directory/" without a filename, Apache will deliver "index.php" if available, or "index.html" if "index.php" is not available.

Then test for PHP

Create a PHP file with the following line:
<?phpinfo()?>

Save the file with the extension php(Eg:testphp.php) and save the file in your Apache htdocs directory(i.e c:\program files\apache group\apache\htdocs


access the file you just created by typing http://localhost/testphp..phpinto in your browser.

U shd able to see all the information about your PHP setup.

I hope i have answered ur question...

Good luck then...
Reply With Quote