Anders Norrbring wrote:
Oh well, I'll give it another try...
I'm trying to set up a SuSE 8.2 Pro system with Apache2 and php4, but after choosing these (with auto-dependence check on) the server will not interpret the php pages but instead it insists on sending me the files as "downloads".
I've got a couple of hints on that I need to add this and that into the different config files, that wouldn't normally be a problem if the system was meant for me personally, but it's not, it's for a client, so I really would prefer to have it set up to be "strictly the SuSE way) of administering etc.
So, is there a way to have Apache2 and php4 set up "the SuSE way", or should I stick to Apache 1.x on this particular system?
If it's for a production webserver, the advice is still use Apache 1.x. The only reason I set up Apache2 + PHP was because there was a problem starting Apache 1.x on SuSE 8.2 on my box (and a few others'). If you do set up Apache2 the 'SuSE way' you should end up with a file /etc/apache2/conf.d/mod_php4.conf containing: <IfModule sapi_apache2.c> AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 AddType application/x-httpd-php .php4 AddType application/x-httpd-php-source .phps DirectoryIndex index.php DirectoryIndex index.php3 DirectoryIndex index.php4 </IfModule> -- JDL Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.