Which php??
Gary Kline
kline at thought.org
Thu Jan 13 23:05:27 UTC 2011
On Thu, Jan 13, 2011 at 10:45:54PM +0000, Paul Macdonald wrote:
> On 13/01/2011 22:36, Gary Kline wrote:
> >On Thu, Jan 13, 2011 at 09:42:40PM +0000, Paul Macdonald wrote:
> >>>>did you follow the procedure in ports/UPDATING about autotools?
> >>> I followed the suggestion from Mike Powell and that resolved the
> >>> problem with autoconf-2.68. I'm trying the others now. See if
> >>> it has any affect on mail/php5-imap.
> >>you probably won't need imap support in php, so you could just
> >>deselect this in make config.
> >>
> >>Paul.
> >>
> >
> > Here is what message is posted to the top of
> > www.thought.org/blog/ where I cp'd -rp the whole of wordpress
> > files.
> >
> > Your PHP installation appears to be missing the MySQL extension
> > which is required by WordPress.o
> >
> > wHen i looked at the directory with firefox3
> > file:///usr/local/www/wordpress, there was a similar complain.
> > I did not believe it--because I *do* have mysql installed.
> > Moreover, I set up a "wordpress" database and wordpress_user,
> > and all the rest of it.
> >
> > So far I am heading into the third day of this: trying to get
> > the wordpress port working on my site. (It strikes me as more
> > than a bit ironic that one of the things in the wp description
> > is that it looks SO simple. Not my experience!)
> >
> > Question:: which MySQL should I have installed to get the port
> > working? I am been debugging this stuff bit-by-bit. So far,
> > I've upgraded the entire 700 ports since last October. I have
> > kept ``ethic'' to be a server: DNS, mail, and web. Be great to
> > host wordpress working so any help will be v much appreciated!
> >
> > gary
> >
> >
> its the php mysql extension it's moaning about, not the mysql server.
>
> what do you get from pkg_version -Iv | grep php5
Ouch.... doesn't look good!
q0 14:51 Server <ethic> [5001] pkg_version -Iv | grep php5
pkg_version: corrupted record (pkgdep line without argument), ignoring
pkg_version: corrupted record (pkgdep line without argument), ignoring
pkg_version: corrupted record (pkgdep line without argument), ignoring
pkg_version: corrupted record (pkgdep line without argument), ignoring
php5-5.3.5 > succeeds index (index has 5.3.2_1)
php5-dom-5.3.5 > succeeds index (index has 5.3.2_1)
php5-extensions-1.4 = up-to-date with index php5-gd-5.3.5 > succeeds index (index has
5.3.2_1) php5-hash-5.3.5 > succeeds index (index has
5.3.2_1) php5-iconv-5.3.5 > succeeds index (index has
5.3.2_1) php5-imap-5.3.5 > succeeds index (index has
5.3.2_1) php5-json-5.3.5 > succeeds index (index has
5.3.2_1) php5-mysql-5.3.5 > succeeds index (index has
5.3.2_1) php5-mysqli-5.3.5 > succeeds index (index has
5.3.2_1) php5-pdo-5.3.5 > succeeds index (index has
5.3.2_1) php5-pdo_sqlite-5.3.5 > succeeds index (index has
5.3.2_1) php5-posix-5.3.5 > succeeds index (index has
5.3.2_1) php5-readline-5.3.5 > succeeds index (index has
5.3.2_1) php5-recode-5.3.5 > succeeds index (index has
5.3.2_1) php5-session-5.3.5 > succeeds index (index has
5.3.2_1) php5-simplexml-5.3.5 > succeeds index (index has
5.3.2_1) php5-sqlite-5.3.5 > succeeds index (index has
5.3.2_1) php5-tokenizer-5.3.5 > succeeds index (index has
5.3.2_1) php5-xml-5.3.5 > succeeds index (index has
5.3.2_1) php5-xmlreader-5.3.5 > succeeds index (index has
5.3.2_1) php5-xmlwriter-5.3.5 > succeeds index (index has
5.3.2_1) php5-zip-5.3.5 > succeeds index (index has
5.3.2_1) php5-zlib-5.3.5 > succeeds index (index has
5.3.2_1) pkg_version: corrupted record (pkgdep line without argument), ignoring
pkg_version: corrupted record (pkgdep line without argument), ignoring
pkg_version: corrupted record (pkgdep line without argument), ignoring
pkg_version: corrupted record (pkgdep line without argument), ignoring
pkg_version: corrupted record (pkgdep line without argument), ignoring
pkg_version: corrupted record (pkgdep line without argument), ignoring
UGh. I messed up trying to make the output loook like it does
on my knosole/xterm. That's about it.
Note that I was under the [mis-] understanding that I thought
that mysql was mysql. I have a fairly recent version of mysql5.
> i wouldn't normally do it like this, but in your case i'd be tempted to >
> cd /usr/ports/databases/php5-mysql
> make install clean
>
> cross fingers
> restart apache
>
Will do. See if I get lucky by installing the "PHP" flavor of
mysql....
gary
PS: Coming soon, if so:: a howto on my bsd.thought.org site with
details. ....hope i'm not counting chickens too soon.
>
>
>
>
--
Gary Kline kline at thought.org http://www.thought.org Public Service Unix
Journey Toward the Dawn, E-Book: http://www.thought.org
The 7.97a release of Jottings: http://jottings.thought.org
More information about the freebsd-questions
mailing list