잠시만 기다려 주세요

     '참사 일주일이 지났다.. 민주당은 눈치만 보며 아무것도 하지 않는다... 세월호 시즌2가 되어간다.. 뉴스가 사라지고 점점 잊혀지고 있다. 민주당의 방조 살인이 또 다시 시작되고 있다.'
전체검색 :  
이번주 로또 및 연금번호 발생!!   |  HOME   |  여기는?   |  바다물때표   |  알림 (19)  |  여러가지 팁 (1095)  |  추천 및 재미 (163)  |  자료실 (28)  |  
시사, 이슈, 칼럼, 평론, 비평 (799)  |  끄적거림 (142)  |  문예 창작 (719)  |  바람 따라 (75)  |  시나리오 (760)  |  드라마 대본 (248)  |  
살인!


    리눅스 서버

리눅스 서버 - PHP 7.0 on CentOS/RHEL 6.7 and 7.1 via Yum 설치하기
이 름 : 바다아이   |   조회수 : 17582         짧은 주소 : https://www.bada-ie.com/su/?341591794351
To install, first you must add the Webtatic EL yum repository information corresponding to your CentOS/RHEL version to yum:

CentOS/RHEL 7.x:

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

CentOS/RHEL 6.x:

rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm

Now you can install PHP 7.0 (along with an opcode cache) by doing:

yum install php70w php70w-opcache


여기서 에러나면 밑으로 그냥 진행합니다.
알아서 설치 됩니다.


This will install the mod_php SAPI for PHP, however there are other sapis such as php-fpm (via php70w-fpm package). Read on below for more information about the available SAPIs

If you would like to upgrade php to this version it is recommended that you first check that your system will support the upgrade, e.g. making sure any CPanel-like software can run after the upgrade.

Unless you know what you are doing, it is risky upgrading an existing system. It’s much safer to do this by provisioning a separate server to perform the upgrade as a fresh install instead.

If you know what you are doing, you can upgrade PHP by:

yum install yum-plugin-replace
 
yum replace php-common --replace-with=php70w-common


경고 어찌구 하면서 메세지 뜨면 y 눌러 줍니다. 알아서 설치 됩니다.

It will likely give you a message “WARNING: Unable to resolve all providers …”. This is normal, and you can continue by tying “y“. You will be given a chance to see what packages will be installed and removed before again being given a chance to confirm.

Packages
 
Package Provides
php70w mod_php, php70w-zts
php70w-bcmath  
php70w-cli php-cgi, php-pcntl, php-readline
php70w-common php-api, php-bz2, php-calendar, php-ctype, php-curl, php-date, php-exif, php-fileinfo, php-filter, php-ftp, php-gettext, php-gmp, php-hash, php-iconv, php-json, php-libxml, php-openssl, php-pcre, php-pecl-Fileinfo, php-pecl-phar, php-pecl-zip, php-reflection, php-session, php-shmop, php-simplexml, php-sockets, php-spl, php-tokenizer, php-zend-abi, php-zip, php-zlib
php70w-dba  
php70w-devel  
php70w-embedded php-embedded-devel
php70w-enchant  
php70w-fpm  
php70w-gd  
php70w-imap  
php70w-interbase php_database, php-firebird
php70w-intl  
php70w-ldap  
php70w-mbstring  
php70w-mcrypt  
php70w-mysql php-mysqli, php_database
php70w-mysqlnd php-mysqli, php_database
php70w-odbc php-pdo_odbc, php_database
php70w-opcache php70w-pecl-zendopcache
php70w-pdo  
php70w-pdo_dblib php70w-mssql
php70w-pear  
php70w-pecl-apcu  
php70w-pecl-imagick  
php70w-pecl-xdebug  
php70w-pgsql php-pdo_pgsql, php_database
php70w-phpdbg  
php70w-process php-posix, php-sysvmsg, php-sysvsem, php-sysvshm
php70w-pspell  
php70w-recode  
php70w-snmp  
php70w-soap  
php70w-tidy  
php70w-xml php-dom, php-domxml, php-wddx, php-xsl
php70w-xmlrpc  

Opcode Caches

The PHP distribution now comes with an opcode cache. This is the Zend Optimizer+ opcode cache, now known as the Zend OPcache extension. This extension is optional, so does not preclude you from using an alternate one.

Due to it being included in the PHP source distribution, it will be well maintained and more suitable for use while other Opcode cache’s are being updated over the coming months.

yum install php70w-opcache

error_reporting E_ALL includes E_STRICT

As mentioned in the PHP 5.4 guide:

You may get a lot more errors coming out of your error logs if by default your error_reporting is set to E_ALL now without explicitly turning off E_STRICT. The default php.ini that comes with the PHP package turns this off by default, but if you are upgrading from an existing installation, your php.ini may not be updated, meaning this will likely be turned on.


출처 : https://webtatic.com/packages/php70/

p.s
끝... 속도가 정말 빨라지네요...
호환성 문제 아니면 얼렁 업데이트 하셔야 합니다. 무지 빨라욤..
 
| |





      1 page / 6 page
번 호 카테고리 제 목 이름 조회수
155 리눅스 서버 apt ... ... apt 바다아이 296
154 리눅스 서버 , smartctl, hdd ssd 바다아이 449
153 리눅스 서버 , .... arch kernel compile.... 바다아이 442
152 리눅스 서버 [Vim, Vi] 바다아이 420
151 리눅스 서버 ... 바다아이 500
150 리눅스 서버 vps root .. 바다아이 454
149 리눅스 서버 Ubuntu 24.04 LTS - SSH Port , ssh 바다아이 482
148 리눅스 서버 samba ... , ... 바다아이 1381
147 리눅스 서버 postfix main.cf ... 바다아이 5027
146 리눅스 서버 /etc/crontab ... 바다아이 3348
145 리눅스 서버 - MEMTEST, , 바다아이 5030
144 리눅스 서버 top , top 바다아이 5674
143 리눅스 서버 , systemd-networkd, archlinux network setting 바다아이 7033
142 리눅스 서버 mirror .. ... 바다아이 7299
141 리눅스 서버 [Ubuntu] (swapfile) , ... 바다아이 7336
140 리눅스 서버 ufw , iptables 바다아이 8274
139 리눅스 서버 ... grub . submenu, grub-mkconfig, grub 바다아이 6833
138 리눅스 서버 CentOS 7 Upgrade Kernel, centos 바다아이 9215
137 리눅스 서버 , dd , 바다아이 7159
136 리눅스 서버 ... ntp .. ... 바다아이 7915
135 리눅스 서버 archlinux netstat , netstat ... 바다아이 7529
134 리눅스 서버 ps , ps option 바다아이 7346
133 리눅스 서버 , swap , ... swap . 바다아이 7522
132 리눅스 서버 crontab , .... 바다아이 7528
131 리눅스 서버 ssh , ssh 바다아이 8776
130 리눅스 서버 SSH SSH , ssh-keygen rsa 바다아이 8282
129 리눅스 서버 , date : () , () , 바다아이 8539
128 리눅스 서버 aws lightsail, ssh .. .pem 바다아이 13559
127 리눅스 서버 , ubuntu generic kernel 바다아이 8922
126 리눅스 서버 .. apt ... 바다아이 8795
| |









Copyright ⓒ 2001.12. bada-ie.com. All rights reserved.
이 사이트는 리눅스에서 firefox 기준으로 작성되었습니다. 기타 브라우저에서는 다르게 보일 수 있습니다.
[ Ubuntu + GoLang + PostgreSQL + Mariadb ]
서버위치 : 오라클 클라우드 춘천  실행시간 : 0.1446
to webmaster... gogo sea. gogo sea.