View Single Post
  #7   (View Single Post)  
Old 23rd September 2011
badguy badguy is offline
Fdisk Soldier
 
Join Date: Jul 2009
Location: MD, USA
Posts: 59
Default

Ok so I think I figured out the problem (or at least it works now). Apparently it seems like i did not have the correct php modules installed/setup correctly.

"php -m" did not show mysql and snmp even though they were in the php extension directory

Quote:
root@localhost/tmp #ls /var/www/lib/php/modules
gd.so mysql.so snmp.so
So I added these two lines to my php.ini file

Code:
extension=mysql.so
extension=snmp.so
and confirmed that the directory in which the loadable extensions resides was correct.

Code:
extension_dir = "/var/www/lib/php/modules"
And now it works. The install instruction says to make sure these modules are there but but i did not expect it to be a big deal. now i know better
Reply With Quote