LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   php wont work with apache on mint 7 (https://www.linuxquestions.org/questions/linux-mint-84/php-wont-work-with-apache-on-mint-7-a-739221/)

theacerguy 07-10-2009 11:45 AM

php wont work with apache on mint 7
 
hi all,
i just installed mint 7 on my pc and apache/mysql/php
(with the apachephp module thingy)
but i still get asked wheter i want to save or open with something but i want to run it...... and it wont work...

clb 07-10-2009 05:16 PM

Is the PHP module enabled in the apache2.conf/httpd.conf?
Has Apache been restarted since PHP was installed?

I suspect that the module is not enabled, which is why you are getting the download option. Apache doesn't know how to handle it, so presents it for download. Apache must be restarted before the PHP module will work after it has been installed.

theacerguy 07-11-2009 11:35 AM

Quote:

Originally Posted by clb (Post 3603792)
Is the PHP module enabled in the apache2.conf/httpd.conf?
Has Apache been restarted since PHP was installed?

I suspect that the module is not enabled, which is why you are getting the download option. Apache doesn't know how to handle it, so presents it for download. Apache must be restarted before the PHP module will work after it has been installed.

yer i have done all that but im using opensuse 11.0 now cos mint screwed itself


All times are GMT -5. The time now is 10:14 AM.