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
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