리눅스 php 5.6.25 컴파일하여 수동 설치시 채택완료
아래처럼 구성 설정후 make , make install 하여 설치 하였습니다. 그런데 http.conf 파일 에 libphp5.so 구문 추가하고 아파치 재시작 하면 "libphp5.so cannot load" 이런 syntax 구문 오류가 나네요 /etc/httpd/modules/ 이런 경로 찾아봐도 libphp5.so 는 없고 전체 find 해봐도 없습니다.
어떻게 해야 할까요?
<아래 글> ./configure --prefix=/usr/bin/php \ --with-apxs2=/etc/httpd/bin/apxs \ --with-config-file-path=/etc/httpd/conf \ --with-mysql=/usr/bin/mysql \ --with-mysql-sock=/var/lib/mysql \ --with-mysqli=/usr/bin/mysql_config \ --with-pdo-mysql=/usr/bin/mysql \ --with-regex=php \ --with-libxml-dir=/usr \ --with-openssl --with-pcre-regex --with-zlib \ --with-bz2 --with-curl --with-gdbm \ --with-db4=/usr --with-dbm --with-pcre-dir=/usr --with-openssl-dir=/usr \ --with-libxml-dir=/usr --with-gd --with-vpx-dir=/usr --with-jpeg-dir=/usr \ --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr \ --with-t1lib=/usr --with-gettext --with-gmp --with-mhash --with-imap \ --with-imap-ssl --with-kerberos --with-icu-dir=/usr --with-ldap \ --with-ldap-sasl --with-libmbfl --with-onig --with-mcrypt \ --with-libedit --with-readline --with-tidy --with-libexpat-dir=/usr \ --with-xmlrpc --with-xsl --with-pear --with-pic --with-libdir=lib64 \ --enable-bcmath --enable-calendar --enable-exif \ --enable-ftp --enable-pcntl --enable-gd-native-ttf \ --enable-gd-jis-conv --enable-intl --enable-mbstring \ --enable-shmop --enable-sockets --enable-sysvmsg \ --enable-sysvsem --enable-sysvshm --enable-wddx \ --enable-zip --enable-mysqlnd --enable-dba=shared \ --enable-mod-charset --enable-dom --enable-mbregex \ --enable-inline-optimization --enable-sigchild --enable-soap \ --enable-maintainer-zts --enable-opcache=nom
답변 1개
답변에 대한 댓글 5개
아파치 컴파일 하실때 옵션에
./configure --enable-so 를 하셨는지 확인해보세요.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인