변군이글루

[PHP] php(php-5.2.8) 설치 본문

및___APM

[PHP] php(php-5.2.8) 설치

변군 변군이글루 2013.09.03 00:56

php(php-5.2.8) 설치

 

ver : php-5.2.8

 

# ./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --enable-sysvshm=yes --enable-sysvsem=yes --enable-debug=no --with-ttf --with-png-dir=/usr --with-zlib-dir --with-jpeg-dir=/usr --with-gdbm=/usr --enable-ftp --enable-mbstring --with-libexpat-dir=/usr --enable-sockets --enable-wddx --with-freetype-dir=/usr --enable-bcmath --enable-mbregex --enable-exif --with-gd --enable-gd-native-ttf --enable-calendar --with-openssl=/usr

 

# make

 

# make install

 

# cp -p php.ini-dist /etc/php.ini

 

httpd.conf 파일 변경

-------------------------------------------------------------------------------------- 

# LoadModule foo_module modules/mod_foo.so

LoadModule php5_module modules/libphp5.so

 

 AddType application/x-httpd-php .ph .php .php3 .inc .asp .html

 AddType application/x-httpd-php-source .phps

 

 

 DirectoryIndex index.html index.htm index.php

--------------------------------------------------------------------------------------

'및___APM' 카테고리의 다른 글

[mysql] mysql 환견변수값  (0) 2013.09.08
[ERROR] apache Syntax error  (1) 2013.09.04
[PHP] php(php-5.2.8) 설치  (0) 2013.09.03
[Apache] apache(httpd-2.2.12) 설치  (1) 2013.09.03
[MySQL] mysql(mysql-5.0.44) 설치  (0) 2013.09.03
[MySQL] mysql root 패스워드 변경  (0) 2013.09.01
0 Comments
댓글쓰기 폼