Hi Ankur, I removed all the mysql, apache, phpmyadmin, php packages; did a apt-get autoremove and then installed xampp following these steps ( http://www.apachefriends.org/en/xampp-linux.html#377). Still when I accessed the localhost (http://localhost/xampp/index.php) and click on phpmyadmin tab in the left, a file got downloaded and when I accessed ( http://localhost/phpmyadmin/index.php), index.php got downloaded. I have worked extensively on xampp in windows before but have never experienced a problem of this type. What may be the cause of this? I have also performed apt-get update to make sure I have all the packages.
On Mon, Jul 2, 2012 at 3:36 PM, ankur kumar <[email protected]> wrote: > For better results, it is advisable to free your hard disk space and thus > remove those packages which are redundant. XAMPP for linux already contains > those packages which will be installed by default. > > Googling it will help you better as I have little ( negligible ) > experience on lamp but IMHO, you should remove those packages > > And yes, mention not :) > > > Ankur Kumar <[email protected]> > Master in Computer Applications > > Mobile: +91-9968023094 > +91-9695436176 > +91-9162971729 > > > > On Mon, Jul 2, 2012 at 3:31 PM, Rishi Agarwal <[email protected]>wrote: > >> 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 >> > > -- > 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
