Thanks. The missing piece was the apache2-devel which is not installed by
default and is not included on the installation media. updatedb dis not
seem to work either but ended up that I found it at
ftp.opensuse.org/pub/opensuse/repositories/Apache/SUSE_Linux_10.1/i586/apache2-devel-2.2.3-11.2.i586.rpm.
Once that was installed I discovered that I was also missing the
development package for mm. After downloading and istalling this from
ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gz I was able to compile php and
get it running with Apache.
> > '--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