Re: XAMPP and NET-SNMP

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
    [ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]


On 19/04/07, James Hill <[email protected]> wrote:
> In trying to configure net-snmp to work from PHP its unable to identify SNMP
> functions.

Then the PHP configuration probably doesn't include SNMP support.

>        I do not know if this is because of my inexperience or a
> msiconfigured file.

A quick look at the release notes for XAMPP, doesn't seem to
mention snmp at all.  So my quess is that it wasn't included.
If you create a simple PHP page containing:

   <?php
         phpinfo();
   ?>

that should list the various PHP modules that are included.
There should be a block headed "snmp" - if not, then this
support was indeed omitted.


>         Specifically in recompiling PHP I cant see a method for
> doing this.

Normally, you'd run

    configure --with-snmp  ....

when compiling the PHP suite.


> Do you know how I would go about recompiling PHP within XAMPP?

No.
This is something you really need to ask the XAMPP people.
not us.  They'll understand this distribution better than we do.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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.