[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Idiot needs help enabling php in apache or apache2



Land Haj wrote:
--- Indraveni <indraveni@yahoo.co.in> wrote:

Hi,
You add the following lines in your apache conf file,
probably, your httpd.conf or apache.conf file.

    AddType application/x-httpd-php php PHP
    AddType application/x-httpd-php-source .phps


let me know, if it works



It did, because it made me discover that I needed to clear the browser cache
:). I truly am an idiot! Sorry for bothering, and thanks a lot!

Nah, just add the apropiate links from mods-available to mods-enabled. Something like:

ln -s /etc/apache2/mods-available/php5.load /etc/apache2/mods-enabled
ln -s /etc/apache2/mods-available/php5.conf /etc/apache2/mods-enabled

Restart apache2 and you are done.

--
 21:50:04 up 2 days,  9:07,  0 users,  load average: 0.92, 0.37, 0.18
---------------------------------------------------------
Lic. Martín Marqués         |   SELECT 'mmarques' ||
Centro de Telemática        |       '@' || 'unl.edu.ar';
Universidad Nacional        |   DBA, Programador,
    del Litoral             |   Administrador
---------------------------------------------------------



Reply to: