Actually on SuSE the preferred location to load the php module is in /etc/sysconfig/apache2
Look for a line reading: Code:
APACHE_MODULES="access actions {and so forth. . . it can be a long list and yours will be different from mine} rewrite setenvif {. . .}" Once you make that change you will need to restart apache. Do: Code:
rcapache2 restart |
make uninstall should work, but it wont break anything if you don't uninstall it.
When you install it with YaST, you'll loose the nice simple httpd.conf layout and it will be spread allover your system, so then reading the SuSE specific docs will be neccesary.. Back when I had SuSE I just ended up running apache by chrooting my slackware disk, the configspread was too compilcated for me.. (; |
Browser trys to download php files
ok, did what Artanicus suggested and Installed from YAST, way easier although I feel I would have learnt more doing it via source than from YAST, but I suppose I could do it again on another machine via source! It still tried to dowload the PHP file but then when I edited /etc/sysconfig/apache2 as KimVette suggested. I added PHP4 and PHP5 just in case and restarted apache. Does this file now replace the httpd.conf file or is it to be used in conjunction with httpd.conf...will have to read the SUSE help docs as suggested!
Well it works now ;) both on php files ;) and on html,htm files ;) this is gr8 Thanks so much for all the help from everybody!!!! :) :) Now all I need to do is install MySql and phpMyAdmin! But once again thanks for all the help! |
All times are GMT -5. The time now is 04:49 AM. |