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

Print | posted on Wednesday, January 19, 2005 7:33 PM

Feedback

# re: Apache2 and PHP5 and missing apxs file on Fedora Core 3

Left by BenD at 4/6/2005 12:22 AM
Gravatar I just came to the exact same problem, so that helped loads. Many thanks :D

# re: Apache2 and PHP5 and missing apxs file on Fedora Core 3

Left by MartinLihme at 6/15/2005 5:04 PM
Gravatar 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

# re: Apache2 and PHP5 and missing apxs file on Fedora Core 3

Left by Brian Vincent at 6/26/2005 7:44 AM
Gravatar Thanks a million!

This is exactly what I needed to get PHP5 installed on FC3.

# re: Apache2 and PHP5 and missing apxs file on Fedora Core 3

Left by Stuart Bull at 7/4/2005 9:17 AM
Gravatar 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.

# re: Apache2 and PHP5 and missing apxs file on Fedora Core 3

Left by SEK at 4/30/2006 6:14 AM
Gravatar "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 :-)

# re: Apache2 and PHP5 and missing apxs file on Fedora Core 3

Left by Raul Ortas at 5/30/2007 2:52 AM
Gravatar Thank you! This saved me a lot of trouble

# re: Apache2 and PHP5 and missing apxs file on Fedora Core 3

Left by Lord Matt at 4/5/2008 2:42 PM
Gravatar Installing httpd-devel via yum also solves this missing apxs issue too. although I have a missing up2date that I have yet to solve...

Your comment:





 
Please add 6 and 1 and type the answer here:

Disclaimer: Paul Farrow is not responsble for any damage, direct or indirect,
caused by the use of the information on this site. Use at your own risk.

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski