[mybox:user /src/php4] root# apachectl configtest apachectl: /usr/local/apache/bin/httpd undefined symbols: _compress _uncompress9. windows: 我安装了php,但在浏览器里看我的php页面, 得到如下错误:
cgi error: the specified cgi application misbehaved by not returning a complete set of http headers. the headers it did return are:10. windows: 我严格按照install的要求,可是还是不能让我的php在iis下工作。
--with-config-file-path=/etc然后你可以复制源程序包里的 php.ini-dist 到 /etc/php.ini ,编辑它满足你的本地化需求。
# extra modulesaddmodule mod_php.caddmodule mod_php3.caddmodule mod_perl.c# extra modulesloadmodule php_module modules/mod_php.soloadmodule php3_module modules/libphp3.so /* for php 3 */loadmodule php4_module modules/libphp4.so /* for php 4 */loadmodule perl_module modules/libperl.soand add:
addtype application/x-httpd-php3 .php3 /* for php 3 */addtype application/x-httpd-php .php /* for php 4 */... 到全局域里, 或者到你想要的 支持php的虚拟域里。
rpm -e mod_php3
rpm -uvh mod_php3-3.0.5-2.src.rpm
--with-mysql=/usr /%build 节看起来象:
./configure --prefix=/usr / --with-apxs=/usr/sbin/apxs / --with-config-file-path=/usr/lib / --enable-debug=no / --enable-safe-mode / --with-exec-dir=/usr/bin / --with-mysql=/usr / --with-system-regex
rpm -bb /usr/src/redhat/specs/mod_php3.spec
rpm -ivh /usr/src/redhat/rpms/i386/mod_php3-3.0.5-2.i386.rpm
[mybox:user /src/php4] root# apachectl configtest apachectl: /usr/local/apache/bin/httpd undefined symbols: _compress _uncompress
cgi error: the specified cgi application misbehaved by not returning a complete set of http headers. the headers it did return are:
新闻热点
疑难解答