본문 바로가기

2017/08

[CentOS] PHP 소스컴파일 이후 openssl 모듈 설치하기 전제조건php 소스파일 경로 : /usr/local/src/php-5.6.31php 설치된 경로 : /usr/local/phpmariadb 설치된 경로 : /usr/local/mariadb (http://88oy.tistory.com/383) openssl 설치하기cd /usr/local/src/php-5.6.31/ext/opensslcp config0.m4 config.m4/usr/local/php/bin/phpize./configure --with-openssl --with-php-config=/usr/local/php/bin/php-config makemake install php.ini 파일에 아래 내용 추가 ;;open sslextension=openssl.so 참고 : http://okkks... 더보기
[Mac] 맥에서 nginx, php-fpm 설치하기. HomeBrew 설치https://brew.sh/index_ko.html Nginx 설치brew install nginx nginx 설정 파일 : vi /usr/local/etc/nginx/nginx.conf 실행 : nginx리로드 : nginx -s reload정지 : nginx -s stop php-fpm 설치brew tap homebrew/dupes brew tap josegonzalez/homebrew-php brew install --without-apache --with-fpm --with-mysql php56 자동실행 디렉토리... LaunchAgents 이미 만들어져있으면 mkdir은 안해도됨.mkdir -p ~/Library/LaunchAgents cp /usr/local/opt/php.. 더보기
[CentOS] PHP 소스컴파일 이후 pdo_mysql mysqli 설치하기 전제조건php 소스파일 경로 : /usr/local/src/php-5.6.31php 설치된 경로 : /usr/local/phpmariadb 설치된 경로 : /usr/local/mariadb (http://88oy.tistory.com/383) pdo_mysql 설치하기cd /usr/local/src/php-5.6.31/ext/pdo_mysql/usr/local/php/bin/phpize./configure --with-php-config=/usr/local/php/bin/php-config --with-pdo-mysql=/usr/local/mariadbmakemake install Installing shared extensions: /usr/local/php/lib/php/extensions/no-de.. 더보기