Linux / UNIX Tech Support Forum
This is a discussion on Debian Apache2 Enable PHP and Perl 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 ...
|
|||||||
| Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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. |
| Sponsored Links | ||
|
|
|
|||
|
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 |
|
|||
|
just looked to the question......
simple solution is edit /etc/php.ini increase the default memory from 8MB to 128M or 256M and if you have heavy data increase a little to execution time |
|
||||
|
You need to enable perl and php modules by typing following command:
Code:
a2enmod php5 a2enmod perl Code:
/etc/init.d/apache2 restart
__________________
Vivek Gite Linux Evangelist |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apache2 performance is awful | jdenniss | Web servers | 1 | 01-11-2008 02:14 AM |
| Apache2 has a proxy emdeded !?!? | permalac | Networking, Firewalls and Security | 6 | 22-05-2008 07:25 PM |
| Enable or disable services in Debian Linux | raj | Linux software | 1 | 25-01-2007 03:00 AM |
| VirtualHost Problems on Apache2 | rcordeiro | Linux software | 3 | 08-11-2006 10:30 PM |
| debian apache2 cgi-bin location | Linux software | 1 | 24-01-2006 06:44 PM | |