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
>
> open /etc/php5/apache2/php.ini
look for the line "*short_open_tag* = On", change it to "short_open_tag =
Off"

then restart apache ( sudo /etc/init.d/apache2 restart )


-- 
Alok Singh Mahor
http://alokmahor.co.cc
Join the next generation of computing, Open Source and Linux/GNU!!

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

Reply via email to