Hi, Thanks for your reply. I just created a Hello World index.html and deployed in /var/www. It's working properly when I access localhost. If i download xampp for linux, then should I remove already installed packages of phpmyadmin, mysql so that there is no conflict? On Mon, Jul 2, 2012 at 3:18 PM, ankur kumar <[email protected]> wrote:
> Hi. > > When a page gets downloaded from the browser instead of getting rendered, > it means that the setup has proceeded but that the server is unable to > 'understand' the type of the file. > > You can try uploading some html file(s) to the server and check whether > they are being rendered properly. In case they are, there is some issue > with the server configuration, else the installation has some problems. > > I have not worked on lamp.. I guess using XAMPP for linux is an easier way > out to the problem - it has PHP, MySQL, Apache bundled together. > > > Ankur Kumar <[email protected]> > Master in Computer Applications > > Mobile: +91-9968023094 > +91-9695436176 > +91-9162971729 > > > > > 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 > -- Rishi Agarwal 3rd Year Undergraduate Department of Mathematics Indian Institute of Technology, Delhi -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
