![]() |
| |||||||
| |
![]() |
| | Thread Tools |
|
#1
| ||||
| ||||
| hey guys, im running a server on my computer, and i was wondering, the home page is a .php file, but when i go to http://localhost/ it shows the .php file text, and not the actual website itself. i have apache installed, and i was wondering if i need mysql, i also have php 5 installed. I'm running vista, and any help would be greatly appreciated. thanks. |
| |
|
#2
| ||||
| ||||
| Hi It sounds like you havn't told the webserver to interpret .php as a PHP file. You will need to add some like similar to this to the httpd.conf file: ScriptAlias /php/" c:/path-to-php-dir/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" If you would like more instructions on how to do this, just let me know. Many Thanks Leo |
|
![]() |
| Thread Tools | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP mysql, creating a drop down list that takes fields from table in mysql | Samantha0101 | Web Design, Hosting & SEO | 19 | 05-04-2008 02:25 PM |
| mysql and hosting company | MySlowQuietLife | Web Design, Hosting & SEO | 4 | 22-02-2008 09:25 AM |
| Can't connect with with MYSql sever | myselfsoon | Web Design, Hosting & SEO | 1 | 21-10-2007 02:49 PM |
| What is the best Apache/PHP/Mysql package for... | firesauce | Windows Operating Systems | 2 | 19-03-2007 04:06 AM |
| How do I upgrade CPanel, PHP, and MySQL, as... | andrewwpeace | Web Design, Hosting & SEO | 1 | 19-03-2007 03:22 AM |
| Powered by vBulletin® Copyright ©2000 - 2008 Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc. |