View Single Post
  #2 (permalink)  
Old 22-Sep-2006, 08:06
Man-wai CHANG
Guest
 
Posts: n/a
Default Re: recompiling php on 10.1

> '--with-apxs2=/usr/sbin/apxs2-prefork i586-suse-linux' which was a
> configuration that worked on SuSE 10.0.
> Any ideas on how to recompile php to include apxs2 on SuSE 10.1?


SuSE uses RPM right? You could find the installation path of apxs:

login as root
updatedb
locate apxs

For my Ubuntu, it's /usr/bin/apaxs, and it's a part of apache-dev:
toylet@server:~$ locate apxs
/usr/share/man/man1/apxs-ssl.1.gz
/usr/share/man/man1/apxs.1.gz
/usr/share/man/man1/apxs-perl.1.gz
/usr/bin/apxs
/usr/bin/apxs-ssl
/usr/bin/apxs-perl
root@server:/home/toylet # dpkg -S /usr/bin/apxs (`rpm -qf file_name`)
apache-dev: /usr/bin/apxs




--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.06) Linux 2.6.18
^ ^ 21:03:02 up 1 day 23:28 1 user load average: 1.07 1.03 1.00
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk