Re: Redhat 6.2 and PHP4 with SNMP

From: Date: Tue, 31 Oct 2000 04:12:01 +0000
Subject: Re: Redhat 6.2 and PHP4 with SNMP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22847@lists.php.net to get a copy of this message
SNMP doesn't seem to be the problem. Here is what I get. checking for Apache module support via DSO through APXS... ./configure: /usr/bin/apxs: No such file or directory configure: error: Sorry, I cannot run apxs. Either you need to install Perl or you need to pass the absolute path of apxs by using --with-apxs=/absolute/path/to/apxs But is I use locate to see if the file exists, here is what I get. [root@cypher php-4.0.3pl1]# locate apxs /usr/bin/apxs So it is telling me that something doesn't exist that clearly does. I even reinstalled Perl to see if that might be it. I was sure it wasn't since we use Perl all the time without a problem. > From: "Jason Cox" <jasonc@webpipe.net> > Date: Mon, 30 Oct 2000 20:48:08 -0700 > To: "Mike Tuller" <mitull01@willy.wsc.edu> > Cc: "Php-General@Lists.Php.Net" <php-general@lists.php.net> > Subject: RE: [PHP] Redhat 6.2 and PHP4 with SNMP > > It's totally possible. I've done it on numerous servers. Try specifying > the paths to the modules in your configure statement > like --with-snmp=/usr/local/snmp > > Jason > >> -----Original Message----- >> From: Mike Tuller [mailto:mitull01@willy.wsc.edu] >> Sent: Monday, October 30, 2000 6:17 PM >> To: php-general@lists.php.net >> Subject: [PHP] Redhat 6.2 and PHP4 with SNMP >> >> >> I've been trying for 4 days now to get PHP installed with SNMP, and have >> looked at every mailing list I could find. I still can't get it going. I >> have installed apache from source, from RPM, tried with apxs, >> modifying the >> source RPM, everything, but I still can't get it to work. I >> either run into >> problems with dependencies, or the compiler says that it needs files that >> exist. >> >> Here is the script I am using with the apache RPM. I have tried >> both PHP3 an >> 4, and both come up that it can't find apxs, but it is there. >> >> ./configure --with-apxs=/usr/bin/apxs --enable-safe-mode >> --with-exec-dir=/usr/bin --with-system-regex --disable-debug >> --enable-debugger --enable-magic-quotes --enable-track-vars >> --enable-sysvsem >> --enable-sysvshm --enable-track-vars --with-xml --with-ftp --with-snmp >> >> If I try to install by using the source, the files are installed into >> locations that RPMs wouldn't like later. If anyone knows how to configure >> the source for apache so that it puts the files in the locations >> that redhat >> likes, I might be able to work with that too. >> >> >> >> Thanks, >> Mike >> >> >> -- >> 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 >> >> > > > _______________________________________________________ > Site Design, Hosting, and E-Commerce at www.webpipe.net

« previous php.general (#22847) next »