Re: PLEASE HELP!!! snmp question
| From: | David Robley | Date: | Fri, 29 Sep 2000 00:34:53 +0000 |
| Subject: | Re: PLEASE HELP!!! snmp question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17987@lists.php.net to get a copy of this message | ||
On Fri, 29 Sep 2000, sonia@metanetworks.org wrote:
> Hi David,
>
> > That error message usually means that you haven't compiled PHP with support
> > for the relevant package.
>
> Oh, I see. I should re-compile PHP, perhaps with some flag enabled? Could
> you please let me know how to do that?
>
>
> make --enable-ucd-snmp-hack ???
>
> btw. do you know how to execute a perl script inside php script?
>
> thanks a lot
> ---Sonia
bash-2.03$ configure --help |grep snmp
--with-snmp[=DIR] Include SNMP support. DIR is the SNMP base
a number of common locations for the snmp install.
--enable-ucd-snmp-hack Enable UCD SNMP hack
bash-2.03$
This is in the configure --help, so I guess you would need to add -with-snmp
to your configure flags.
As to executing perl, presumably you could use system or exec or passthru,
depending on your needs.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA