Trouble starting MySQL

Colin J. Raven colin at kenmore.kozy-kabin.nl
Wed Jan 12 06:25:15 PST 2005


On Jan 12 at 14:12, Walker, Michael said (somewhat confusingly):

> owner-freebsd-questions at freebsd.org wrote:
>> On Jan 12 at 12:46, I said:
>>
>>> PHP 4.3.10 (cli) (built: Jan 11 2005 23:15:42) (DEBUG) mysql-4.1.7
>>> both installed from ports
>>> FreeBSD 5.3-RELEASE
>>
>> When I take a look at a phpinfo page, it shows no mention that MySQL
>> exists. AFAIK this ought not to be so.
>>
>> I installed php last night (again, from ports) and remembered that
>> there oughtta be support for mysql. So this is how I built php, though
>> now I'm wondering if I installed it correctly since it seems braindead
>> to the existence of MySQL
>>
>> make with-mysql=yes install clean
>>
>
> I don't have a FreeBSD box at work with me at the moment.
> But check out the following (Im assuming one to be correct)
> /usr/ports/lang/php-extentions
> /usr/ports/lang/php4-extentions
>
> If both are wrong, it is somewhere very similar.

I'm sorry, you probably think I'm being dense...
but
I (honestly) don't understand what you mean.
Do you mean that one (or other, or both) must *also* be installed for 
php to have any clue that MySQL exists?
A colleague has an identical setup and - AFAIK - didn't install either 
one on this or prior installations of FreeBSD/MySQL/php.
If this is a dense and utterly silly question then please excuse the 
braindead nature of it. Today has been a long and frustrating day.

Thanks for the ongoing help and advice
-Colin


More information about the freebsd-questions mailing list