RE: [PHP] Build with Apache on Linux

From: Date: Mon, 22 Jan 2001 04:56:52 +0000
Subject: RE: [PHP] Build with Apache on Linux
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-35949@lists.php.net to get a copy of this message
Try following the instructions on the devshed page: http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/ This is an awesome tutorial to get things up and running for a standard web serveer install with Apache, PHP, MySQL, and SSL, if you need it. johnny p. > -----Original Message----- > From: Chris Mulcahy [mailto:cmulcahy@poboxes.com] > Sent: Sunday, January 21, 2001 10:07 AM > To: php-general@lists.php.net > Subject: [PHP] Build with Apache on Linux > > > OK, I've built Apache and PHP on Linux 50 times already. Now it's causing > me problems. > > I've rebuilt my server, I've tried PHP 4.0.3 and PHP 4.0.4. It keeps > causing me problems. > > I could not find libphp4.a and found on the net where someone suggested to > rename libmodphp4.a to libphp4.a. > > During configure, I'm getting an error: > /usr/bin/ld: cannot find -lmodphp4 > collect2: ld returned 1 exit status > > It's making me insane. Attached below is a complete transcript > (it's small) > of the apache configure. PHP configure; make; make install > appears to work > perfectly, but it's not going so well with Apache. > > Any suggestions greatly appreciated. > > Thanks in advance. > Chris > > ---> BEGIN Transcript <--- > [root@gumby apache_1.3.14]# > ./configure --activate-module=src/modules/php4/libphp4.a > Configuring for Apache, Version 1.3.14 > make > + using installation path layout: Apache (config.layout) > + activated php4 module (modules/php4/libphp4.a) > Creating Makefile > Creating Configuration.apaci in src > cd ..; > gcc -DLINUX=2 -I/home/cmulcahy/transfer/php-4.0.3pl1 > -I/home/cmulcahy/trans > fer/php-4.0.3pl1/main -I/home/cmulcahy/transfer/php-4.0.3pl1/main > -I/home/cm > ulcahy/transfer/php-4.0.3pl1/Zend > -I/home/cmulcahy/transfer/php-4.0.3pl1/Zen > d -I/home/cmulcahy/transfer/php-4.0.3pl1/TSRM > -I/home/cmulcahy/transfer/php- > 4.0.3pl1/TSRM -I/home/cmulcahy/transfer/php-4.0.3pl1 -DUSE_EXPAT > -I./lib/exp > at-lite -DNO_DL_NEEDED ./apaci -o helpers/dummy > lpers/dummy.c -rdynamic -Lmodules/php4 -L../modules/php4 > -L../../modules/p > hp4 -lmodphp4 -lpam -ldl -lttf -lgd -lresolv -lm -ldl -lcrypt > -lnsl -lres > olv -lm -lcrypt > /usr/bin/ld: cannot find -lmodphp4 > collect2: ld returned 1 exit status > make: *** [dummy] Error 1 > Creating Makefile in src > + configured for Linux platform > + setting C compiler to gcc > + setting C pre-processor to gcc -E > + checking for system header files > + adding selected modules > o php4_module uses ConfigStart/End > + 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 ======== > ============= End of Error Report ============= > > Aborting! > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#35949) next »