2008年12月2日星期二

refresh php & apache

mysql6 is the same as mysql5.1
#/opt/downloads/php-5.2.6/configure --prefix=/opt/php --with-mysql=/opt/mysql6 --with-apxs2=/opt/apache2/bin/apxs --with-freetype-dir=/usr --with-png-dir=/usr --with-iconv --with-png-dir --with-zlib --with-libxml-dir
#cp php.ini-dist /opt/php/lib/php/php.ini
修改php.ini文件register_globals = On
httpd.conf
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

没有评论: