Hi everyone, This phpinfo.php file thing is working. It is showing my php version as 5.3.8 and I am also getting all the blocks. Although I did noticed one thing, in my apache2handler block , Hostname:Port is specified as localhost:0. Shouldn't it be port 80?
On Mon, Jul 2, 2012 at 6:04 PM, ankur kumar <[email protected]> wrote: > Sorry Rishi I could not see the mail. See if the help given by Bala > works... > > > Ankur Kumar <[email protected]> > Master in Computer Applications > > Mobile: +91-9968023094 > +91-9695436176 > +91-9162971729 > > > > On Mon, Jul 2, 2012 at 5:43 PM, Tushar Maroo <[email protected]>wrote: > >> +1 Bala >> >> >> On Mon, Jul 2, 2012 at 5:40 PM, Balasubramaniam Natarajan < >> [email protected]> wrote: >> >>> I guess php is not installed. >>> >>> Try creating a file like and save it as phpinfo.php inside your document >>> root and try accessing it from your browser. You should see details about >>> PHP if not then PHP is not installed properly. >>> >>> <? >>> phpinfo(); >>> ?> >>> >>> >>> >>> On Mon, Jul 2, 2012 at 5:27 PM, Rishi Agarwal <[email protected]>wrote: >>> >>>> 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 >>>> >>> >>> >>> >>> -- >>> Regards, >>> Balasubramaniam Natarajan >>> www.etutorshop.com/moodle/ >>> >>> >>> -- >>> Mailing list guidelines and other related articles: >>> http://lug-iitd.org/Footer >>> >> >> >> >> -- >> *Regards* >> *Tushar Maroo | Student at JECRC Foundation* >> Blog:Coder2's Blog <http://goo.gl/Mso1y> *| *Twitter: >> tusharmaroo<https://twitter.com/#%21/tusharmaroo> >> *|* Linkedin: Tushar Maroo<http://in.linkedin.com/pub/tushar-maroo/28/391/1a> >> *|* Facebook:Tushar Maroo <http://facebook.com/tusharmaroo> >> M: +91-9571640968 *|* Alternate mail: [email protected] >> >> -- >> 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
