PHP Installed (Was: No Subject)

Richard Collyer richard at
Mon Jan 31 16:10:50 PST 2005


Do  pkg_version -v

You should get an output telling you what is installed on your system.

Like this..


which tells you that mysql is installed.

Afaik you have to instal mysql support into apache manually. I say afaik
as it was a long time since I installed mysql and php onto my machine.

Go to: /usr/ports/databases/php4-mysql

do a make install and all should be well. 

Alternativly look at /usr/ports/lang/php4-extensions/

Bit of a bad answer but the best I can do this late at night.


On Mon, 31 Jan 2005 13:58:46 -0500
Ken Hawkins <ken at> wrote:

> I have installed pear5-php which installed php and mod_php for apache13.
> however when calling mysql_pconnect within a php page i get:
> [Mon Jan 31 10:40:21 2005] [error] PHP Fatal error:  Call to undefined 
> function:  mysql_pconnect() in /.../phpPollUI6.php on line 77
> I have  a couple of questions.
> how can I verify that mysql support (possibly ? php-mysql ?) is 
> installed?
> what steps do I need to take to ensure that this gets installed as part 
> of my installation of apache13, php, mod_php, phpmyadmin, and phpbb?
> thanks in advance!
> ken;
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

Richard Collyer <richard at>

More information about the freebsd-questions mailing list