SNMP for XAMPP in Debian

Alles, was PHP betrifft, kann hier besprochen werden.
Post Reply
oussassel
Posts: 1
Joined: 05. June 2008 17:45

SNMP for XAMPP in Debian

Post by oussassel »

hello
i have install XAMPP in debian and i want to use snmp function in a PHP scripte
snmp worke very well with the commende in the shell but in PHP he told to me "unidentified function snmpwamk" i have edit the fille php.ini and delete the " ; " befor " extension=php_snmp.dll "

what i can do pleaz, note that in easyphp with windows he worke :roll:

thx for all
FeArX
Posts: 2
Joined: 08. July 2008 15:40

Post by FeArX »

I have the same problem but i'm in windows, did you solve it?
"unidentified function snmpwamk"
try snmpwalk instead snmpwank
FeArX
Posts: 2
Joined: 08. July 2008 15:40

Post by FeArX »

Hey I found the solution in the FAQ of xampp.
There are three "php.ini". Which is now the correct one?
The \xampp\apache\bin\php.ini is the correct one! The others in the \xampp\php directory are only for PHP in CGI/CLI mode. So configure the \xampp\apache\bin\php.ini for web changes.
Modifications in the php.ini will be saved also after the "PHP switch" (the changing of the PHP version). And note: Modifications in the php.ini and in the httpd.conf always need a Apache restart!
So, the problem was that we were taking off the ";" in the wrong file, So go to: \xampp\apache\bin\php.ini and uncomment the: " extension=php_snmp.dll" line

Heve a Nice day
farzin
Posts: 1
Joined: 15. September 2018 08:28
XAMPP version: 3.2.2
Operating System: Windows 10

Re: SNMP for XAMPP in Debian

Post by farzin »

I had the same problem with SNMP
thank you so much for the help.
Post Reply