Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2011 20:35:25 -0300
From:      Rodrigo Gonzalez <rjgonzale@estrads.com.ar>
To:        freebsd-questions@freebsd.org
Cc:        Gary Kline <kline@thought.org>
Subject:   Re: mysql missing from my home-page WordPress....
Message-ID:  <201103012035.26029.rjgonzale@estrads.com.ar>
In-Reply-To: <20110301225956.GB17756@thought.org>
References:  <20110301205319.GA15882@thought.org> <201103011822.14265.rjgonzale@estrads.com.ar> <20110301225956.GB17756@thought.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
you just need to delete them from /usr/local/etc/php/extensions.ini

mysql extension is loaded when you are using cli, I would check at web server 
module.

Create a file called info.php in your document root

then go to http://<your ip>/info.php

Check if there is a block called mysql

Regards

Rodrigo

On Tuesday, March 01, 2011 07:59:56 PM Gary Kline wrote:
> On Tue, Mar 01, 2011 at 06:22:13PM -0300, Rodrigo Gonzalez wrote:
> > And enabled
> > 
> > php -m
> > 
> > check that mysql extension is loaded
> > 
> > Regards
> > 
> > Rodrigo
> 
> 	Hmmm.  Good one! ... well, maybe.  I have no idea why PHP
> 	Startup can't load these libraries.
> 
> 
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20090626/bcmath.so' - Cannot open
> "/usr/local/lib/php/20090626/bcmath.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20090626/mssql.so' - Cannot open
> "/usr/local/lib/php/20090626/mssql.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20090626/openssl.so' - Cannot open
> "/usr/local/lib/php/20090626/openssl.so" in Unknown on line 0
> [PHP Modules]
> Core
> ctype
> date
> dom
> ereg
> filter
> hash
> iconv
> json
> libxml
> mhash
> mysql
> mysqli
> mysqlnd
> pcre
> PDO
> pdo_sqlite
> posix
> Reflection
> session
> SimpleXML
> SPL
> SQLite
> standard
> tokenizer
> xml
> xmlreader
> xmlwriter
> 
> [Zend Modules]
> 
> 
> 	Any ideas?  Should I just /bin/rm the ones that are loadable?
> 
> 	gary
> 
> > On Tuesday, March 01, 2011 06:03:13 PM Glenn Sieb wrote:
> > > On 3/1/11 3:53 PM, Gary Kline wrote:
> > > > 	Any clues why I get a one-liner from wordpress that my database
> > > > 	extention is missing?  I re-installed everything; it is running.
> > > > 	The "wordpress" db is there when I check 'show database'.  What
> > > > 	else?
> > > 
> > > Check and make sure the MySQL extensions are installed in PHP?
> > > 
> > > pkg_info | grep php5-mysql
> > > (if not..)
> > > cd /usr/ports/databases/php5-mysql && make install clean
> > > 
> > > Good luck!
> > > --Glenn
> > > 
> > > 
> > > _______________________________________________
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "freebsd-questions-unsubscribe@freebsd.org"
> > 
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?201103012035.26029.rjgonzale>