搭建php环境 wordpress

./configure --prefix=/usr/local/php --with-mysqli --with-zlib=/usr --disable-fileinfo

小内存 关闭fileinfo

 

make && make install

 

yum install libxml2

yum install libxml2-devel

 

yum install php-mysql

 

起动内置server

./php -S 0.0.0.0:9100 -t /usr/local/wordpress/

猜你喜欢

转载自gutou9.iteye.com/blog/2420276