19 - Jan - 2005
Apache2 and PHP5 and missing apxs file on Fedora Core 3
Ok next problem that I bumped into today while trying to install PHP5 on Apache2. In the php instructions it tells you to use the –with-apxs2 and point that to the apxs file. Now the standard install of Fedora 3 doesnt install this file for you, so you need to install the httpd-devel package. This can be done easily using up2date with this command.
up2date httpd-devel
and this will install the apxs file which for should now sit in /usr/sbin
then to configure the php5 issue the command
./configure –with-apxs2=/usr/sbin/apxs –with-mysql
hope that helps
I just came to the exact same problem, so that helped loads. Many thanks 😀
I’ll try that I’ve been trying to get PHP5 and MySQL to Work for two days now without luck…I hope this is it!
Thanks
Martin Lihme
Thanks a million!
This is exactly what I needed to get PHP5 installed on FC3.
Cheers Paul. That saved me no end of hastle, works just as described, just update FC3 and configure PHP with the appropriate directives. Great stuff.
“up2date httpd-devel” didn’t work for me (it couldn’t find it on the first few mirrors), but “yum install httpd-devel” did work – and /usr/sbin/apxs appeared – allowing compilation of php5… thanks 🙂
Thank you! This saved me a lot of trouble
Installing httpd-devel via yum also solves this missing apxs issue too. although I have a missing up2date that I have yet to solve…