freebsd12 php
topへ
おすすめ記事
emyuu cms Freebsd12.0LAMP Freebsd10.0LAMP

2019-07-23 04:26:04

freebsd12 php
pkg install php73
pkg install php73-extensions
pkg install php73-gd 
pkg install php73-mbstring
pkg install php73-pear
pkg install php73-gettext 
pkg install php73-iconv
pkg install mod_php73
 

vi /usr/local/etc/apache24/httpd.conf

<FilesMatch "\.php$">
    SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
    SetHandler application/x-httpd-php-source
</FilesMatch>