⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
local
/
src
/
imagick
/
docker
/
View File Name :
installPHP.sh
#!/usr/bin/env bash set -e set -x # git clone https://github.com/php/php-src SRCFILE="php-7.2.11" SRCFILE="php-7.1.24" mkdir -p /var/app/php_src/${SRCFILE} tar -xzf /var/app/php_src/${SRCFILE}.tar.gz -C /var/app/php_src/${SRCFILE} --strip-components=1 cd /var/app/php_src/${SRCFILE} # ./buildconf # ./configure --disable-all --without-pear ./configure \ --without-pear \ --without-sqlite3 \ --without-pdo-sqlite \ --with-openssl \ --enable-mbstring \ --with-curl \ --with-zip # For Mac export PKG_CONFIG_PATH="/opt/homebrew/Cellar/openssl@1.1/1.1.1s/lib/pkgconfig:$PKG_CONFIG_PATH" ./configure \ --without-pear \ --without-sqlite3 \ --without-pdo-sqlite \ --with-openssl \ --enable-mbstring \ --with-curl \ --with-zip \ --without-iconv \ --prefix=/opt/danack \ --exec-prefix=/opt/danack ./configure --with-imagick=/opt/danack make -j 20 make install export TEST_PHP_EXECUTABLE=`which php` # echo "extension=imagick.so" > /usr/local/lib/php.ini