Koozali.org: home of the SME Server

php-snmp

malinko

php-snmp
« on: March 02, 2004, 05:23:28 AM »
Hi

Does anybody know how the php-snmp-xxx.rpm package work. I would like to use snmp-php for web configuring of switches but can I do that with this snmp-php??

If I can do that - I would like to know how to intall it with my e-smith 6.0?
I have tried by looking at some of the howto's from    
Dan Brown and using his rpms from http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/DanBrown/
I managed to install php-snmp at last by following dependencies required. Then when I started webmail (horde) it didn't work correctly. So... php was messing up. Lucky for me it was only a test machine.

But how do I install snmp-php correctly ?


Maybe this supports my question:

[root@marle linux]# rpm -qa | grep "php"
php-imap-4.1.2-7.3.6es1
php-mysql-4.1.2-7.3.6es1
e-smith-php-1.10.0-01
php-4.1.2-7.3.6es1
php-ldap-4.1.2-7.3.6es1
[root@marle linux]# rpm -Uv --test php-snmp-4.1.2-2es.i686.rpm
error: failed dependencies:
        php = 4.1.2-2es is needed by php-snmp-4.1.2-2es
        libcrypto.so.1   is needed by php-snmp-4.1.2-2es
        libsnmp-0.4.2.so   is needed by php-snmp-4.1.2-2es
        libssl.so.1   is needed by php-snmp-4.1.2-2es
[root@marle linux]# rpm -Uv --test php-4.1.2-2es.i686.rpm
error: failed dependencies:
        libcrypto.so.1   is needed by php-4.1.2-2es
        libdb-3.1.so   is needed by php-4.1.2-2es
        libssl.so.1   is needed by php-4.1.2-2es
        php = 4.1.2-7.3.6es1 is needed by php-imap-4.1.2-7.3.6es1
        php = 4.1.2-7.3.6es1 is needed by php-ldap-4.1.2-7.3.6es1
        php = 4.1.2-7.3.6es1 is needed by php-mysql-4.1.2-7.3.6es1
[root@marle linux]#


Best regards,
Martin