Re: Installing SNMP with PHP

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 30/10/06, Carlos Alberto Bernat Orozco <[email protected]> wrote:
>  I was asking for because I used the urpmi to install the php-snmp module
> but it seems is not installed correctly because there is nothing on the
> php.ini for php-snmp and with an small script using the snmpwalk command,
> displays an error that says: unknown function.
>
>  Is there any manual for the php-snmp installation? Do I have to change the
> php.ini in order to install it?


I'm not familiar with exactly what "urpmi" will install for the php-snmp module.
Depending on exactly what this does, you might need to tweak the PHP
initialisation files to activate it.

On Fedora (which I'm more familiar with), the php-snmp RPM includes a file
"/etc/php.d/snmp.ini", which activates the SNMP extension.
  Is there a similar file on your system?  If so, what does it contain?
If not - what files are there listed by "ls /etc/php*"?  What do the main php
initialisation file(s) currently contain?

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.