Ще модифицираме php.ini, за да накараме PHP да използва mysql.so
cp /apache/etc/php.ini-dist /apache/etc/php.iniecho 'extension_dir="/apache/libexec/php"' >> /apache/etc/php.ini
echo 'extension=mysql.so' >> /apache/etc/php.ini
mkdir /apache/libexec/php cp `find /apache -type f -name "mysql.so"` /apache/libexec/php
This, and other documents, can be downloaded from ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/.
For questions about FreeBSD, read the documentation before contacting <[email protected]>.
For questions about this documentation, e-mail <[email protected]>.