nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

php apache2 mysql

This is a discussion on php apache2 mysql within the Web servers forums, part of the Mastering Servers category; Hi, I am trying to set up apache2 with ssl support on ubuntu. I am trying to set up snort ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 03-04-2008, 01:16 AM
Member
User
 
Join Date: Jan 2008
My distro: Debian/Redhat
Posts: 39
Rep Power: 0
pansarevai is on a distinguished road
Default php apache2 mysql

Hi,

I am trying to set up apache2 with ssl support on ubuntu. I am trying to set up snort for that I need php support.I install php4 and tried with php5 as well.But everytime it asks for download of php file while opening.I have gone through lot of pages in google but still.....
Can anybody help me out in this rather than reading a hell lot of document ..
Thnx in advance.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-05-2008, 12:06 AM
agn agn is offline
Member
User
 
Join Date: Feb 2008
My distro: OpenBSD/FreeBSD/Debian/Fedora/RHEL
Posts: 69
Rep Power: 1
agn is on a distinguished road
Default

You should tell apache how to handle php files. Assuming you already have mod_php loaded, add

Code:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
to apache config.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How to start Apache2 automatically at boot satimis Web servers 2 02-03-2008 06:03 PM
VirtualHost Problems on Apache2 rcordeiro Linux software 3 11-08-2006 10:30 PM
debian apache2 cgi-bin location Linux software 1 01-24-2006 06:44 PM


All times are GMT +5.5. The time now is 07:51 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36