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
I think the command is ./configure --with-apxs2=/usr/local/apache2/bin/apxs I don't think PhP fully supports Apache2 yet, I am hoping the 4.3 version hopefully due out soon has full support. I know right now there are a few Apache2 related bugs in PhP 4.2.3 that will cause problem if you run SquirrelMail. I tried it out a while back and all my web apps worked fine except for SquirrelMail. The wait has been frustrating, it's not like Apache2 is the "bleeding edge" anymore. Good Luck, Josh