2013-03-24 3 views
-1

linux에서 php를 설치하려고합니다.Red Hat 5에서 PHP를 httpd와 작동하게 만들기 linux

어떻게하면 현재 사용중인 httpd 서비스에서 작동하게 할 수 있습니까? 나도 같은 목적으로 apachectl을 설치하고 싶지 않다.

는 내가 거기에 독서하고 책에 따르면 명령이 주어집니다 :

어떻게 난 단지 내 httpd 서비스와 소스에서 PHP의 설치를 할 수

./configure --prefix=/usr/local/php \ 
--with-mysqli=/usr/local/mysql/bin/mysql_config \ 
--with-apxs2=/usr/local/apache2/bin/apxs 

make 

make install 
? 내 httpd.conf 파일은 /etc/httpd/conf/httpd.conf 위치에 있습니다.

추 신 : 저는 리눅스 환경에 익숙하지 않습니다.

감사합니다.

updatedb 
locate apxs 

하고보다 yast을 실행 configure

./configure --prefix=/usr/local/php \ 
--with-mysqli=/usr/local/mysql/bin/mysql_config \ 
--with-apxs2=[full_path]apxs 

만약 updatedb 설치하지 locateapxs 경로를 추가하고 패키지 findutils-locate를 설치

답변

0

명령 줄에서 실행이를보십시오. 그 후에 updatedblocate이 시스템에 저장됩니다.

관련 문제