My own compile, both Apache and PHP. The ports collection only uses php-4.1.2.
--------------------------------------------------------------------- Martin DiViaio [EMAIL PROTECTED] Systems Administrator [EMAIL PROTECTED] ETI - Connecting Your World 1-856-753-3810 --------------------------------------------------------------------- On the 13th day of January in the year 2003 you wrote: > Date: Mon, 13 Jan 2003 08:31:44 +1000 > From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]> > To: 'Martin DiViaio' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > X-Spam-Status: No, hits=-4.4 required=7.0 tests=IN_REP_TO version=2.20 > Subject: RE: [PHP-INST] PHP Install Problems W/FrontPage > > Did you install using ports/packages or your own compile under FreeBSD?? > > > Timothy Hitchens (HiTCHO) > Open Platform Consulting > e-mail: [EMAIL PROTECTED] > > > -----Original Message----- > > From: Martin DiViaio [mailto:[EMAIL PROTECTED]] > > Sent: Monday, 13 January 2003 8:05 AM > > To: [EMAIL PROTECTED] > > Subject: [PHP-INST] PHP Install Problems W/FrontPage > > > > > > > > I'm running Apache 1.3.27 on FreeBSD 4.7 and I'm having > > problems getting FrontPage and PHP working together. > > > > Basically, when I start Apache, I get an error from > > mod_frontpage that it can't read the output of the random > > number command. This is ONLY when I enable PHP (as a DSO). > > When PHP is disabled, FrontPage works perfectly. > > > > I've tried re-compiling PHP and Apache statically but that > > fails when I go to re-configure Apache for libphp.a with the > > following configure command: > > > > ./configure --prefix=/usr/local/apache \ > > --activate-module=src/modules/php4/libphp4.a \ > > --server-uid=www \ > > --server-gid=www \ > > --with-perl=/usr/bin/perl \ > > --with-layout=Apache \ > > --without-confadjust \ > > --enable-module=most \ > > --enable-module=auth_db \ > > --enable-module=mmap_static \ > > --add-module=./mod_frontpage.c \ > > --enable-shared=max \ > > --disable-shared=frontpage \ > > --disable-shared=php4 \ > > --enable-module=ssl \ > > --enable-module=define \ > > --enable-suexec \ > > --suexec-caller=www \ > > --suexec-uidmin=1000 \ > > --suexec-gidmin=1000 \ > > --suexec-logfile=/var/log/suexec.log \ > > --suexec-userdir=public_html \ > > > > > > I get the following from configure: > > > > Configuring for Apache, Version 1.3.27 > > + using installation path layout: Apache (config.layout) > > + activated php4 module (modules/php4/libphp4.a) > > + on-the-fly added and activated frontpage module > > (modules/extra/mod_frontpage.o) + Warning: You have enabled > > the suEXEC feature. Be aware that you need + root privileges > > to complete the final installation step. Creating Makefile > > Creating Configuration.apaci in src + enabling mod_so for > > DSO support Creating Makefile in src + configured for > > FreeBSD 4.7 platform + setting C compiler to gcc + setting > > C pre-processor to gcc -E + checking for system header files > > + adding selected modules > > o rewrite_module uses ConfigStart/End > > enabling DBM support for mod_rewrite > > o dbm_auth_module uses ConfigStart/End > > o db_auth_module uses ConfigStart/End > > using Berkeley-DB/1.x for mod_auth_db (-lc) > > o ssl_module uses ConfigStart/End > > + SSL interface: mod_ssl/2.8.12 > > + SSL interface build type: DSO > > + SSL interface compatibility: enabled > > + SSL interface experimental code: disabled > > + SSL interface conservative code: disabled > > + SSL interface vendor extensions: disabled > > + SSL interface plugin: Vendor DBM (libc) > > + SSL library path: [SYSTEM] > > + SSL library version: OpenSSL 0.9.6g 9 Aug 2002 > > + SSL library type: installed package (system-wide) > > o php4_module uses ConfigStart/End > > + enabling Extended API (EAPI) > > + using builtin Expat > > + checking sizeof various data types > > + doing sanity check on compiler and options > > ** A test compilation with your Makefile configuration > > ** failed. The below error output from the compilation > > ** test will give you an idea what is failing. Note that > > ** Apache requires an ANSI C Compiler, such as gcc. > > > > ======== Error Output for sanity check ======== > > cd ..; gcc -funsigned-char -DMOD_SSL=208112 > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3 > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3/main > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3/main > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3/Zend > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3/Zend > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3/TSRM > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3/TSRM > > -I/usr/home/admin/installs/apache_1.3/php-4.2.3 -DEAPI > > -DUSE_EXPAT -I./lib/expat-lite `./apaci` -o helpers/dummy > > helpers/dummy.c -R/usr/local/lib -R/usr/local/lib/mysql > > -rdynamic -L/usr/local/lib -L/usr/local/lib/mysql > > -Lmodules/php4 -L../modules/php4 -L../../modules/php4 > > -lmodphp4 -lpam -lmcal -lc-client4 -lyaz -lsablot -liconv > > -lexpat -liconv -lexpat -lexpat -lexpat -lsnmp -lmm -lpspell > > -lpdf -lz -ltiff -lpng -ljpeg -lmysqlclient -lming -lmhash > > -lmcve -lmcrypt -lltdl -lldap -llber -lcrypt -lpam -liconv > > -lintl -lgd -lfreetype -lpng -lz -ljpeg -lz -lcurl -lbz2 -lz > > -lcrypt -lssl -lcrypto -lm -lcrypt -lcurl -lssl -lcrypto > > -lxml2 -lz -liconv -lm -lssl -lcrypto -lcrypt > > /usr/local/lib/libc-client4.so: undefined reference to `mm_expunged' > > /usr/local/lib/libc-client4.so: undefined reference to `mm_diskerror' > > /usr/local/lib/libc-client4.so: undefined reference to `mm_lsub' > > /usr/local/lib/libc-client4.so: undefined reference to `mm_flags' > > /usr/local/lib/libc-client4.so: undefined reference to `mm_fatal' > > /usr/local/lib/libc-client4.so: undefined reference to `mm_nocritical' > > /usr/local/lib/libc-client4.so: undefined reference to `mm_notify' > > /usr/local/lib/libc-client4.so: undefined reference to `mm_searched' > > /usr/local/lib/libc-client4.so: undefined reference to `mm_status' > > /usr/local/lib/libc-client4.so: undefined reference to `mm_login' > > /usr/local/lib/libmcal.so: undefined reference to `cc_login' > > /usr/local/lib/libc-client4.so: undefined reference to `mm_list' > > /usr/local/lib/libc-client4.so: undefined reference to `mm_critical' > > /usr/local/lib/libmcal.so: undefined reference to `cc_searched' > > /usr/local/lib/libmcal.so: undefined reference to `cc_vlog' > > /usr/local/lib/libc-client4.so: undefined reference to `mm_exists' > > /usr/local/lib/libmcal.so: undefined reference to `cc_vdlog' > > /usr/local/lib/libc-client4.so: undefined reference to `mm_log' > > /usr/local/lib/libc-client4.so: undefined reference to `mm_dlog' > > *** Error code 1 > > > > Stop in /usr/home/admin/installs/apache_1.3/apache_1.3.27/src/helpers. > > ============= End of Error Report ============= > > > > Aborting! > > > > PHP is compiling fine as a DSO and standalone CLI. (Both of > > which work.) > > > > I get the same problems from php-4.3.0 and php-4.2.3. > > > > > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php