DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 5th November 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Thanked 0 Times in 0 Posts
Default PHP with mysqli?

Hi everyone,
I am getting the following error from php -v
Code:
[disappearedng@192 /usr/home/disappearedng]$ php -v
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/20060613-debug/php_mysqli.so' - Cannot open 
"/usr/local/lib/php/20060613-debug/php_mysqli.so" in Unknown on line 0
And in php.ini under /usr/local/etc/, I have uncommented the extension of mysqli in extension=php_mysqli.so.

I have installed the php-mysqli port.

I tried to load my web page which gives me

Fatal error: Class 'mysqli' not found in

Any idea why php is not loading mysqli?
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:59 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick