On Fri, 13 Dec 2002, Anders Norrbring wrote:
Hello!
I'm a bit confused..
I just got my SuSE 8.1 pro box in the mail and started to install it, I thought I'd go for Apache2 instead of 1.3 and so I chose it for install.
Now then, I can't install PHP4 because it's dependant of Apache 1? This seems a little strange I think... Is the way to go to download PHP from php.net and compile myself, or can I safely ignore any dependencies that YaST is complaining about?
I do not think Suse 8.1 Apache2 works with mod_php package. I have compiled both Apache2 and Php4 myself to get them working. It is not that difficult, though: 1) download apache2 and php4.2.3 source and unpack them, say under /usr/src/packages/SOURCES 2) cd to apache2 source dir (httpd-something), configure, make and install configure --enable-module=so make make install 3) php is a bit more complex due to the config switches that you might want to include, but the most important switch to get it working with apache2 is: ./configure --with-apxs=/usr/local/apache2/bin/apxs make make install Then read the INSTALL file and add the AddType things to apache2's httpd.conf file unser /usr/local/apache2/conf -- --Jyry C:-( C:-/ C========8-O C8-/ C:-(