Quantcast
Channel: iT邦幫忙
Viewing all articles
Browse latest Browse all 15645

將 LINUX 放上 PHP 程式的準備動作

$
0
0
以下還有缺什麼嗎 ?
PHP+MYSQL+APache
yum install -y httpd mysql mysql-server php php-mbstring php-gd php-mysql
service httpd start
service mysqld start
chkconfig httpd on
chkconfig mysqld on
mysqladmin -u root password yang1888@@
裝完後修改 vi /etc/php.ini
修改編碼 UTF-8 default_charset='utf-8'
處裡時機 30 秒
上傳檔案 5 M
display_error=off
然後安裝 imagemagick imagick fo php
yum install imagemagick
yum install imagemagick-devel
yum install php-pear
yum -y install php-devel
yum install gcc
pecl install imagick
vi /etc/php.ini
extension=imagick.so
service httpd restart

Viewing all articles
Browse latest Browse all 15645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>