FW: [PHP] PHP 4.0.6/Apache 1.3.20/MySql 3.24.xx install

From: Date: Thu, 20 Sep 2001 22:49:06 +0000
Subject: FW: [PHP] PHP 4.0.6/Apache 1.3.20/MySql 3.24.xx install
Groups: php.general 
Request: Send a blank email to php-general+get-68086@lists.php.net to get a copy of this message
Do you have enough space in the partition? Joseph CollegeSucks.com - See PHP in ACTION! -----Original Message----- (I'm sorry if this is not getting posted in the correct place, but I'm not sure who/where to turn to...) I'm attempting to upgrade my SuSE Linux 7.2 (2.4.x) server to the new version of PHP 4.0.6, Apache 1.3.20, and the newest MySql... (From PHP 4.0.4pl1/Apache 1.3.19) Here are the (updated) instructions I've gotten from the PHP site: (The actual error I'm getting is further down this email) 1. gunzip apache_1.3.x.tar.gz 2. tar xvf apache_1.3.x.tar 3. gunzip php-x.x.x.tar.gz 4. tar xvf php-x.x.x.tar 5. cd apache_1.3.x 6. ./configure --prefix=/usr/local/httpd 7. cd ../php-x.x.x 8. ./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.20 --enable-track-vars 9. make 10. make install 11. cd ../apache_1.3.20 12. ./configure --activate-module=src/modules/php4/libphp4.a *13. make (All the commands above execute with no problem... and the error I get, when getting to this stage, the errors are after this instruction list.) 14. make install 15. cd ../php-x.x.x 16. cp php.ini-dist /usr/local/lib/php.ini 17. Edit your httpd.conf or srm.conf file and add: AddType application/x-httpd-php .php 18. Use your normal procedure for restarting the Apache server. (You must stop and restart the server, not just cause the server to reload by use a HUP or USR1 signal.) ========================================= The error I get when attempting to install these apps: gcc -DLINUX=22 -I/root/php-4.0.6 -I/root/php-4.0.6/main -I/root/php-4.0.6/main -I/root/php-4.0.6/Zend -I/root/php-4.0.6/Zend -I/root/php-4.0.6/TSRM -I/root/php-4.0.6/TSRM -I/root/php-4.0.6 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci \ -o httpd buildmark.o modules.o modules/standard/libstandard.a modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -Wl,-rpath,/usr/local/mysql/lib -rdynamic -L/usr/local/mysql/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -ldl -lmysqlclient -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lm -lcrypt /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress': my_compress.o(.text+0x9a): undefined reference to `uncompress' /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_compress_alloc': my_compress.o(.text+0x12a): undefined reference to `compress' collect2: ld returned 1 exit status make[2]: *** [target_static] Error 1 make[2]: Leaving directory `/root/apache_1.3.20/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/root/apache_1.3.20' make: *** [build] Error 2 Any ideas/help/assistance would be greatly appreciated... Thank you... - Bill

« previous php.general (#68086) next »