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.
This problem seems to happen everytime I try to set up a Lamp stack. Apache won't deliver php pages, instead opening kedit and displaying the code as a text file, including phpinfo.php.
I've been through all the configs and it all seems set up the same way as working servers I have access too, although I'm not even sure how you make php "run"
Interestingly enough I've never done that, I avoid compilation like the plague and use off the shelf binaries usually, but I've always managed to get php webapps working in the past with a combination of apt-get's and conf edits. I can just never remember which ones and in what order.
I thought so, but then realised that if apache was running too and turned it off. I restarted apache2 but nothing seems to be happening. I've decided to install another app now that requires php5. I've got that via synaptic but without apache2 running that's not going to work either.
I started apache2 with /etc/init.d/apache2 start and there were no errors, but it doesn't seem to be responding to requests and the logs are empty!
ok, apache 2 didn't run, so I reinstalled the working apache. I've also installed php5 (part of another project) and libapache2-mod-php5 but no joy, apache still doesn't parse php files - see for example http://irvken.homleinux.net/phpinfo.php
Is compilation looming on the horizon, unfortunately I nothing about it besides "make, make install etc."
just to finish off, the problem in the end was that the apache2 init script was not working properly, I can now launch apache2 from the command, and am investigating the problem, ta for all your help
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.