

![]() |
![]() |
|
|||||||
![]() |
![]() |
| Web Development Website design and programming, content development. It's all here. |
![]() |
|
|
LinkBack | Thread Tools |
![]() |
![]() |
|
|
#1 (permalink) |
![]() ![]() ![]() Advocate |
PHP-MySQL Question
Hello, I set up a webserver today and installed php 5 and mysql 6... and the extensions. But everytime i try and visit one of my php sites it asks me if i want to download it... I have no i dea why it does that... Can anyone help me figure this out?
|
|
|
|
![]() |
![]() |
|
Advertisement
|
Sponsored links
|
![]() |
![]() |
|
|
#4 (permalink) |
|
inactive
Gold Member
![]() ![]() ![]() ![]() Disciple Join Date: Sep 2005
Location: South Africa
Posts: 512
![]() |
You need to configure Apache (unless you're using IIS
) to know about PHP. Find your "httpd.conf" (Apache config) file, and find where all the "LoadModule" lines are, you'll need to add something like this:Code:
LoadModule php5_module php5apache2.dll Then you'll need to add PHP file types to Apache, still in "httpd.conf", find the "AddType" lines and add: Code:
AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Some links for you: Step-by-step tutorial: http://www.php-mysql-tutorial.com/in...-php-mysql.php USB Webserver: http://www.usbwebserver.nl/site/pagina/Download.html (I use this rather than wamp because it's portable and you don't even need to install it, just unzip)
__________________
http://www.hypn.za.net |
|
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#9 (permalink) | |
![]() ![]() ![]() ![]() ![]() Crusader Join Date: Feb 2005
Location: Tucson, AZ
Posts: 3,327
![]() ![]() ![]() ![]() ![]() ![]() |
Quote:
You may be talking about Apache2, however. Which on Solaris is a fortress.
__________________
![]() Burn, baby, burn. |
|
|
|
|
![]() |
![]() |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Blizzard, Blizzard, Blizzard.... | Nitto | Hardware and Software | 11 | 03-20-2007 12:10 AM |
| PHP, a toy language? | Gantznaught | Programming | 20 | 12-18-2005 03:32 AM |
| Vb and Mysql posable? | MasterX | Programming | 15 | 10-10-2005 06:54 PM |
| Looking for free host php mysql | Miles | Programming | 0 | 07-19-2005 04:30 AM |
| vBulletin Question... Attachments | SmashedPumpkins | Website Related | 5 | 07-08-2005 03:41 PM |
| All times are GMT. The time now is 12:23 AM. |

