Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have loaded php5 and apache2 and mysql. Mysql is working properly...but i could not execute my php codes(written with vi editor) in a browser.
I tried to execute the code in opera and mozilla. In opera(latest version) the browser is showing the entire code and in mozilla i am facing a pecular problem. When i first time tried to open it in mozilla the browser kept asking me want to save the file as or open it? Then i did something (i dont remember) now when i try to open the code in mozilla multiple tabs or getting opened(uncountable). I have to forcely kill the browser.
What to do? Here when i give localhost/php.info in mozilla address bar it is giving the following error.
Not Found
The requested URL /php.info was not found on this server.
Apache/2.2.9 (Ubuntu) PHP/5.2.6-2ubuntu4 with Suhosin-Patch Server at localhost Port 80
in opera
Error!
Could not open file
You tried to access the address file://localhost/php.info, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page.
you have to give the file a ".php" extension. If the extension is "info" the parser will not start his job and as the downloaded file doesn't have a mime declaration there will be a lot of problems processing it for the browser...
If the browser says "file not found" then maybe the file's name is different? Or you placed it in a wrong directory? Default document root is /var/www on ubuntu as far as i remember.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.