C:\webserver\Apache2.2
C:\webserver\PHP
I also created a folder called webroot in the webserver folder. I then went into the httpd.conf file and edited the following:
DocumentRoot "C:/webserver/webroot"
<Directory "C:/webserver/webroot">
DirectoryIndex index.html index.php
Also added this to the end of the file:
LoadModule php5_module "C:/webserver/PHP/php5apache2_2.dll"
PHPIniDir "C:/webserver/PHP"
AddType application/x-httpd-php .php
In my webroot folder I made a file called index.php with the code: <?php phpinfo(); ?>
In my enviornment varibales I have this:
Path: C:\webserver\PHP\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
PHPRC: C:\webserver\PHP\
I type in localhost in the browser URL and nothing shows up, says it cant find it. What am I doing wrong?
Thanks
Edited by system32, 11 March 2010 - 06:28 PM.