Dear rishi,
You have to execute the following command
sudo apt-get install php5
then sudo apt-get install libapache2-mod-php5
and in the last
restart apache2
/etc/init.d/apache2 restart

*GAURAV PARASHAR*

ASST. DEAN - IT

E: [email protected]

T: +91 120 2768951

M: +91 9873295508

Website: https://sites.google.com/a/inmantec.edu/gaurav-parashar/
------------------------------

*INMANTEC*

*Adhyatmik Nagar, Delhi-Hapur Bypass (NH24)*

*Udyog Kunj, Ghaziabad, UP-201 009, NCT of Delhi*

*www.inmantec.edu*

*P Please do not print this email unless it is absolutely necessary. Spread
environmental awareness.*



On Mon, Jul 2, 2012 at 2:40 PM, Rishi <[email protected]> wrote:

> Hi,
> I tried to configure lamp on ubuntu 12.04 following this guide (
> http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-ubuntu-12.04-lts-lamp).
> But when I point to localhost/phpmyadmin/index.php in the browser, it just
> download the index.php file to my downloads folder. As mentioned in the
> guide, I made a info.php file and its working properly. How can I fix this
> error? I am attaching /etc/apache2/apache2.conf
> and /etc/phpmyadmin/apache.conf for reference.
> Thanks & Regards,
> Rishi
>
>  --
> Mailing list guidelines and other related articles:
> http://lug-iitd.org/Footer
>

-- 
Mailing list guidelines and other related articles: http://lug-iitd.org/Footer

Reply via email to