Gentlemen, good morning.
I have the following problem, my laptop is a dell inspiron 14r, i5 processor and 4GB of ram. I tried to install lamp server in various ways, once done automatically by a package lamp-server ^ he makes the installation of all modules and dependencies, but does not interpret php, when I try to read a file extension. Php it low and does not interpret the file in the browser, how to proceed?
I have the same problem, OpenSUSE 13.01, LAMP server (YAST) patterns-openSUSE-lamp_server, when i try execute files .php in the Lamp server, the browser (or LAMP server) have some problems to recognize it (cant interpreted php lenguage), and try to download like a file.
I see all documentation about Lamp, apache2 and php, but the information for Opensuse its too old(around 2010).
Check that you have “apache2-mod_php5” installed. (should be, if you installed the LAMP pattern)
Probably the php5_module is not loaded:
apache2ctl -M | grep php5
This should say: “php5_module (shared)”
If not, add php5 to the modules to be loaded, either by running “a2enmod php5” or by manually adding “php5” to the “APACHE_MODULES=” line in /etc/sysconfig/apache2.
And don’t forget to restart Apache afterwards.