การติดตั้ง FreeBSD แบบไม่เอา Mysql Server แต่รองรับ php-mysql

FREEBSD 10.1
************
1. #portsnap fetch
#portsnap extract
#portsnap fetch update

2.cd  /usr/port/lang/perl5.20/make install clean

3. cd  /usr/port/www/apache24/make install clean

4. apache24_enable=”YES” To /etc/rc.conf

5. /usr/local/etc/rc.d/apache24 start

6. check html file on web

7. cd  /usr/port/lang/php56/make install clean

8. cd  /usr/port/lang/php56-extension/make install clean

9. cd  /usr/port/www/mod_php56/make install clean

10. insert /usr/local/etc/apache/httpd.conf end of file
<FilesMatch “\.php$”>
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch “\.phps$”>
SetHandler application/x-httpd-php-source
</FilesMatch>

11. /usr/local/etc/rc.d/apache24 restart

12. check phpinfo();

13. check phpinfo(); (Mysql + Mysqli)