Skip to content

Instantly share code, notes, and snippets.

@munsiwoo munsiwoo/mun.sh

Last active Mar 16, 2019
Embed
What would you like to do?
php compile and run - sh
#!/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
@munsiwoo

This comment has been minimized.

Copy link
Owner Author

munsiwoo commented Mar 16, 2019

./configure --disable-all --enable-debug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.