So I installed PHP, MYSQL and Apche 2 and when I run a2enmod php5 i get php 5 already present. So I try and run a .php file and fire fox wants to download it and not execute it…What am I doing wrong? yes apache is running because I am going through local host
Edit /etc/sysconfig/apache2, add php5 to the value assigned to the variable on the line starting APACHE_MODULES=, then restart apache2.
You can check if it’s really loaded by: /usr/sbin/httpd -M
That sysconfig edit can also be done in YaST.