APM 설치중..php,apach 설치중 에러..
작성자 정보
- 허접한 작성
- 작성일
컨텐츠 정보
- 1,022 조회
- 0 추천
- 목록
본문
APM을 설치하는 과정에서 mysql을 어렵게 설치하는데..성공하고..
이제 apache와 php를 설치할려고 하는데요...
/usr/local에는 다음과 같습니다.
apache 2.x버전에서는 apache2라고 해라고 에러문이 있어서..
맞는지 모르겠습니다만..디렉토리 이름을 apache2로 바꾸고..
설정시에도 apache2라고 했습니다.
[root@localhost local]# ll
total 10608
drwxr-xr-x 11 1000 users 4096 Oct 13 13:09 apache2
drwxr-xr-x 2 root root 4096 Feb 7 1996 bin
drwxr-xr-x 2 root root 4096 Feb 7 1996 doc
drwxr-xr-x 2 root root 4096 Feb 7 1996 etc
drwxr-xr-x 2 root root 4096 Feb 7 1996 games
-rw-r--r-- 1 mysql mysql 6217401 Oct 13 11:37 httpd-2.0.47.tar.gz
drwxr-xr-x 2 root root 4096 Jun 23 2001 include
drwxr-xr-x 2 root root 4096 Feb 7 1996 lib
drwxr-xr-x 2 root root 4096 Jun 23 2001 libexec
drwxr-xr-x 12 root root 4096 Oct 13 11:44 mysql
drwxrwxr-x 16 522 522 4096 Oct 13 13:14 php-4.3.3
-rw-r--r-- 1 mysql mysql 4565509 Oct 13 11:37 php-4.3.3.tar.gz
drwxr-xr-x 2 root root 4096 Feb 7 1996 sbin
drwxr-xr-x 4 root root 4096 Oct 10 21:48 share
drwxr-xr-x 2 root root 4096 Feb 7 1996 src
apache와 php를 설치하는 과정에서..
[root@localhost php-4.3.3]# ./configure --with-apache2=/usr/local/apache2 --with-gd=/usr/local --with-mysql=/usr/local/mysql --with-config-file-path=/usr/local/apache2/conf --with-exec-dir=/usr/local/apache2/bin --enable-track-vars=yes
checking for GD support... yes
checking for the location of libjpeg... no
checking for the location of libpng... no
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
If configure fails try --with-jpeg-dir=<DIR>
If configure fails try --with-png-dir=<DIR> and --with-zlib-dir=<DIR>
If configure fails try --with-xpm-dir=<DIR>
If configure fails try --with-freetype-dir=<DIR>
configure: error: Unable to find gd.h anywhere under /usr/local
위와 같은 에러가 뜹니다.
php-4.x.x버전 이상부터는 따로 GD를 설치할 필요없이..--with-gd 이 부분만
추카하면 된다고 하던데..ㅡㅡ;
고수님들 부탁드립니다.
관련자료
-
이전
-
다음