Sunday, July 26, 2009

I installed php dev 423, I downloaded joomla and puted it in C:\phpdev\www\public but?

the local host is not opening the default index.php I can't remember what I miss, can you help me ?


(I disabled the IIS already)

I installed php dev 423, I downloaded joomla and puted it in C:\phpdev\www\public but?
Is this a new Apache install? If the page doesn't work when you go to the actual script in the url like this... http://localhost/page.php and just the text of the script is displayed, then you need to load the php module in apache. It's done using Apache's http.conf file (c:\path\to\apache\conf\http.conf). It should have soemthing similar to these lines...





# For PHP 5


LoadModule php5_module "c:/php-5.1.1/php5apache2.dll"


AddType application/x-httpd-php .php





To make 'index.php' the default load page so when you go to address http://localhost it loads 'index.php', add it before 'index.html' in this line of the http.conf file...





#


DirectoryIndex index.php index.html index.html.var





After you edit the http.conf file, you need to restart the Apache server.





--


Alex


No comments:

Post a Comment