My configure **************************************************** './configure' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu' '--target=i386-redhat-linux' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4=/usr' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-pear=/usr/share/pear' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--with-mime-magic=/usr/share/file/magic.mime' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' **************************************************** All php related packages php-xml-5.0.3-1 php-odbc-5.0.3-1 php-ldap-5.0.3-1 php-5.0.3-1 php-xmlrpc-5.0.3-1 php-snmp-5.0.3-1 php-pear-5.0.3-1 php-ncurses-5.0.3-1 php-mysql-5.0.3-1 php-mbstring-5.0.3-1 php-imap-5.0.3-1 php-devel-5.0.3-1 php-soap-5.0.3-1 php-pgsql-5.0.3-1 php-gd-5.0.3-1 **************************************************** All httpd related packages httpd-2.0.52-1 httpd-manual-2.0.52-1 httpd-devel-2.0.52-1 httpd compiled in modules core.c prefork.c http_core.c mod_so.c **************************************************** Not all php function failed, but some key points are after upgrade httpd to 2.0.52, below are error messages, PHP Warning: preg_match: internal pcre_fullinfo() error -3 in /var/www/data/forum/includes/sessions.php on line 392 [client 192.168.2.139] PHP Warning: preg_match_all: internal pcre_fullinfo() error -3 in /var/www/data/forum/includes/template.php on line 295 preg_match: internal pcre_fullinfo() error -3 in /var/www/data/tikiwiki-1.9.RC3.1/db/tiki-db.php on line 62 [client 192.168.2.139] PHP Fatal error: Call to undefined function ADONewConnection() in /var/www/data/tikiwiki-1.9.RC3.1/db/tiki-db.php on line 104 **************************************************** phpbb -> 2.0.11 doesn't work after upgrade httpd tikiwiki -> 1.9RC3.1 doesn't work after upgrade httpd **************************************************** I've upgrade ADODB too today, but the same **************************************************** OS: Fedora Core 1 **************************************************** "Bone" <bone@xxxxxxxx> ¦b¶l¥ó news:20050124131336.95261.qmail@xxxxxxxxxxxxx ¤¤¼¶¼g... > Hi there, > Originally, I installed php 5.0.3 and httpd 2.0.51, it's fine, but when I > upgrade httpd to 2.0.52, php doesn't work, I try to re-configure php, got > errors below, > **************************************************** > Sorry, I cannot run apxs. Possible reasons follow: > > 1. Perl is not installed > 2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs > 3. Apache was not built using --enable-so (the apxs usage page is displayed) > > The output of /usr/sbin/apxs follows: > sh: line 1: /usr/sbin/envvars: No such file or directory > apxs:Error: Sorry, no shared object support for Apache. > apxs:Error: available under your platform. Make sure. > apxs:Error: the Apache module mod_so is compiled into. > apxs:Error: your server binary `/usr/sbin/httpd'.. > configure: error: Aborting > error: Bad exit status from /var/tmp/rpm-tmp.30018 (%build) > > > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.30018 (%build) > **************************************************** > > I check phpinfo(), the configure '--with-apxs2=/usr/sbin/apxs' , how can I > solve this problem > > > Thanks a lot. > > -- > > ******************** > ¹ù½«©ú > http://www.bone.idv.tw > ******************** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php