Last active
April 16, 2018 02:03
-
-
Save francosalcedo/6955ef47040e5d710829b360bad95221 to your computer and use it in GitHub Desktop.
PHP all versions on CENTOS 7 - REMI REPO configure .SO file for httpd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Install remi repository: | |
| (Need epel repository :: yum install epel-release) | |
| cd /tmp | |
| wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm | |
| rpm -ivh remi-release-7.rpm | |
| -- Install php | |
| -- remplace 70 for other version (71,72) | |
| yum install php70-php-bcmath php70-php-cli php70-php-common php70-php-fpm php70-php-gd php70-php-intl php70-php-json php70-php-mbstring php70-php-mcrypt php70-php-mysqlnd php70-php-opcache php70-php-pdo php70-php-pear php70-php-pecl-uploadprogress php70-php-pecl-zip php70-php-soap php70-php-xml php70-php-xmlrpc | |
| -- Install .so remi compilated for Apache httpd (remplaze 70 for other versions 71,72) | |
| yum install php70-php-embedded | |
| -- Configure in httpd(apache) | |
| -- locate .so | |
| /opt/remi/php{version}/root/lib64/libphp{version}.so | |
| /etc/httpd/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment