Adding 'snmp' support for PHP. How?

jayzee

Verified User
Joined
Jul 11, 2007
Messages
13
Hello,

How do we go about add 'snmp' support for php?

Please give a brief instruction on how to do it.
 
Hi Jeff,

May i know which directory do we run the compilation ?

I think that is too brief.. :)

Can give alittle more details with command and steps ?

Thanks alot.
 
Generally you'll find the files in either customapache or custombuild, depending on which your server uses.

Instructions for using customapache and custombuild should be available on these forums.

Jeff
 
Just change configuration below :

CGI Mode - PHP5 : /usr/local/directadmin/custombuild/configure/suphp/configure.php5
CGI Mode - PHP4 : /usr/local/directadmin/custombuild/configure/suphp/configure.php4
CLI Mode - PHP5: /usr/local/directadmin/custombuild/configure/ap2/configure.php5
CLI Mode - PHP4 : /usr/local/directadmin/custombuild/configure/ap2/configure.php4

Add "--with-snmp"

Then, compile with "./build php n" under /usr/local/directadmin/custombuild

You may need to have "net-snmp-devel" installed or compilation will fail.

Step 11 here is what I wrote up. English is not my primary language though. ->http://www.bxtra.net/articles/2008-09-18/Steps-how-install-Cacti-CentOS-52-DirectAdmin
________
Is Diazepam Dangerous
 
Last edited:
Hi nmb,

Thx alot.. will try and let you know if there is any problem.
 
i fix the snmp problem..
so far so good.
 
Last edited:
Back
Top