#!/bin/bash # data: 2019-01-29 # made by munsiwoo echo php compile and run PHP_PATH="/php/php-7.0.30" if [ -f /usr/local/bin/php ]; then rm -rf /usr/local/bin/php fi if [ -f /usr/local/lib/php ]; then rm /usr/local/lib/php fi if [ -f /usr/local/include/php ]; then rm /usr/local/include/php fi make --directory=$PHP_PATH > make.log make install --directory=$PHP_PATH > make_install.log if [ -f test.php ]; then php test.php fi
PHP 다시 설치하는 과정이 귀찮아서 만들어 봤다. https://gist.github.com/munsiwoo/b3f4a92c5bd6cf97fefaba4e0349f77d
You must be logged in to post a comment.