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

Re: Idiot needs help enabling php in apache or apache2



Hi Martin.

Martin Marques, 05.05.2007 14:43:
> Land Haj wrote:
>> --- Indraveni <indraveni@yahoo.co.in> wrote:
>>> 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

Or just:

# a2enmod php5

(Does exactly the same but is easier to remember and type.)


Regards, Mathias

-- 
debian/rules

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: