Re: PHP 4.0 Bug #8191 Updated: Can't compile apache with --with-snmp in PHP

From: Date: Tue, 12 Dec 2000 05:48:41 +0000
Subject: Re: PHP 4.0 Bug #8191 Updated: Can't compile apache with --with-snmp in PHP
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-40922@lists.php.net to get a copy of this message
From you web site... Installing apache 1.3.14 ,PHP4.0.3pl1 and ucd-snmp-4.1.2 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=/www 7. cd ../php-x.x.x 8. ./configure --with-mysql --with-apache=../apache_1.3.x --enable-track-vars 9. make 10. make install 11. cd ../apache_1.3.x 12. for PHP 3: ./configure --activate-module=src/modules/php3/libphp3.a for PHP 4: ./configure --activate-module=src/modules/php4/libphp4.a 13. make 14. make install Instead of this step you may prefer to simply copy the httpd binary overtop of your existing binary. Make sure you shut down your server first though. 15. cd ../php-x.x.x 16. for PHP 3: cp php3.ini-dist /usr/local/lib/php3.ini for PHP 4: cp php.ini-dist /usr/local/lib/php.ini You can edit your .ini file to set PHP options. If you prefer this file in another location, use --with-config-file-path=/path in step 8. 17. Edit your httpd.conf or srm.conf file and add: For PHP 3: AddType application/x-httpd-php3 .php3 For PHP 4: AddType application/x-httpd-php .php You can choose any extension you wish here. .php is simply the one we suggest. You can even include .html . 18. Use your normal procedure for starting the Apache server. (You must stop and restart the server, not just cause the server to reload by use a HUP or USR1 signal.) ----- Original Message ----- From: "Bug Database" <php-dev@lists.php.net> To: <steve@cablevision.qc.ca> Sent: Monday, December 11, 2000 2:31 AM Subject: PHP 4.0 Bug #8191 Updated: Can't compile apache with --with-snmp in PHP > ID: 8191 > Updated by: stas > Reported By: steve@cablevision.qc.ca > Old-Status: Open > Status: Feedback > Bug Type: Apache related > Assigned To: > Comments: > > What is your PHP configuration directive? > > Previous Comments: > -------------------------------------------------------------------------- - > > [2000-12-11 00:48:51] steve@cablevision.qc.ca > configured PHP with --with-snmp : no problem > > ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a : can't install... > > I have ucd-snmp 4.1.2 installed and tried 4.2, both doesn't compile. > > /usr/local/lib/libsnmp.so: warning: mktemp() possibly used unsafely; consider us > ing mkstemp() > /usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestInit' > /usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestFinal' > /usr/local/lib/libsnmp.so: undefined reference to `EVP_md5' > /usr/local/lib/libsnmp.so: undefined reference to `HMAC' > /usr/local/lib/libsnmp.so: undefined reference to `EVP_sha1' > /usr/local/lib/libsnmp.so: undefined reference to `des_cbc_encrypt' > /usr/local/lib/libsnmp.so: undefined reference to `des_key_sched' > /usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate' > /usr/local/lib/libsnmp.so: undefined reference to `RAND_bytes' > /usr/local/lib/libsnmp.so: undefined reference to `des_ncbc_encrypt' > *** Error code 1 > > Stop in /root/apache_1.3.14/src/helpers. > ======== Error Output for sanity check ======== > ============= End of Error Report ============= > > Aborting! > > -------------------------------------------------------------------------- - > > > Full Bug description available at: http://bugs.php.net/?id=8191 > >

« previous php.dev (#40922) next »