![]() |
|
|||||||
|
|
|
|
|
|
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, ...
|
![]() |
|
|
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 |
![]() |
|
| Bookmarks |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Home Webserver Nameservers | vlacicpetar | Web Design, Hosting & SEO | 0 | 5th Jun 2009 20:52 |
| My Homeserver Webserver Stopped Working | Help1inghand | Web Design, Hosting & SEO | 3 | 25th Feb 2009 05:49 |
| PHP mysql, creating a drop down list that takes fields from table in mysql | Samantha0101 | Web Design, Hosting & SEO | 19 | 5th Apr 2008 07:25 |
| Mysql and hosting company | MySlowQuietLife | Web Design, Hosting & SEO | 4 | 22nd Feb 2008 03:25 |
| Thread Tools | |
|
|