2008年3月8日土曜日

FreeBSDにphp5-mysqlをインストール

%cd /usr/ports/databases/php5-mysql
%sudo make install clean
Password:
===> Vulnerability check disabled, database not found
===> Extracting for php5-mysql-5.2.5
=> MD5 Checksum OK for php-5.2.5.tar.bz2.
=> SHA256 Checksum OK for php-5.2.5.tar.bz2.
===> Patching for php5-mysql-5.2.5
===> php5-mysql-5.2.5 depends on executable: phpize - found
===> php5-mysql-5.2.5 depends on file: /usr/local/bin/autoconf-2.61 - found
===> php5-mysql-5.2.5 depends on shared library: mysqlclient.16 - found
===> PHPizing for php5-mysql-5.2.5
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
===> Configuring for php5-mysql-5.2.5
...

===> Installing for php5-mysql-5.2.5
===> php5-mysql-5.2.5 depends on file: /usr/local/include/php/main/php.h - found
===> Generating temporary packing list
===> Checking if databases/php5-mysql already installed
===> Registering installation for php5-mysql-5.2.5
****************************************************************************

The following line has been added to your /usr/local/etc/php/extensions.ini
configuration file to automatically load the installed extension:

extension=mysql.so

****************************************************************************
===> Cleaning for php5-mysql-5.2.5


%sudo apachectl restart

0 コメント: