TheWitness wrote:These are problematic:
Indicates you are trying to load the extension twice:PHP Warning: Module 'mysql' already loaded in Unknown on line 0
Check this out and tell me if I am wrong, I just found a possible solution to the already loaded problem. In the php.ini file, I removed the ";" semi-colon from in front of the extension=php_mysql.dll entry, and I also entered
extension_dir = c:\php\ext
extension=php_mysql.dll
extension=php_snmp.dll
extension=php_sockets.dll
I decided to try and add the ";" back in front of the extension parameter and the problem went away. I removed it, and it came back, added it back and it went away. Not sure why?!?!, but it works.
My 2 cents FPL_NMS
Indicates that PHP's builtin snmp support can not find the mib files. You should set the MIBDIRS environment variable and then try this again. In order to apply for Apache/IIS, you may have to reboot.Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
TheWitness
Fatal error: Call to undefined function mysql_connect() in C
Moderators: Developers, Moderators
Fatal error: Call to undefined function mysql_connect() in
i know mysql is working with php it tells me so when i run the phpinfo program.... but my i still get that error message my sql is up and running and so is apache and php works fine by itself and apache what else could be the problem.
Please read the install guide in my signature.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 1 guest