从错误信息中总结出以上安装过程: 在配置 apache 之前如果首先配置 php 会有以下错误结果: configure: error: Please run Apache\'s configure or src/Configure program once and try again 因此,首先要将 apache 的 source configure 一下。 安装过程: # wget http://jp2.php.net/get/php-4.3.10.tar.gz/from/this/mirror # wget http://sunsite.tus.ac.jp/pub/apache/httpd/apache_1.3.33.tar.gz # tar -zxvf php-4.3.10.tar.gz # tar -zxvf apache_1.3.33.tar.gz # ls -l
Total 8340 drwxr-xr-x 8 mysql games 4096 10 28 01:47 apache_1.3.33 drwxr-xr-x 14 1003 1003 4096 12 15 02:55 php-4.3.10 # cd ./apache_1.3.33 # ./configure --prefix=/usr/local/apache --enable-module=so --enable-module=rewrite --enable-module=speling
Configuring for Apache, Version 1.3.33 + using installation path layout: Apache (config.layout) Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to gcc -E + using "tr [a-z] [A-Z]" to uppercase + checking for system header files + adding selected modules o rewrite_module uses ConfigStart/End + using -lgdbm for DBM support enabling DBM support for mod_rewrite + using system Expat + using -ldl for vendor DSO support + checking sizeof various data types + doing sanity check on compiler and options Creating Makefile in src/support Creating Makefile in src/regex Creating Makefile in src/os/unix Creating Makefile in src/ap Creating Makefile in src/main Creating Makefile in src/modules/standard # cd ../php-4.3.10 #./configure --with-mysql=/usr/local/mysql --with-apache=/usr/src/apache_1.3.33 --with-zlib-dir --enable-mbstring=all
Generating files updating cache ./config.cache creating ./config.status creating php4.spec creating main/build-defs.h creating scripts/phpize creating scripts/php-config creating sapi/apache/libphp4.module creating sapi/cli/php.1 creating main/php_config.h creating main/internal_functions.c creating main/internal_functions_cli.c +--------------------------------+ | License: | | This software is subject to the PHP License, available in this | | distribution in the file LICENSE. By continuing this installation | | process, you are bound by the terms of this license agreement. | | If you do not agree with the terms of this license, you must abort | | the installation process at this point. | +--------------------------------+ | *** NOTE *** | | The default for register_globals is now OFF! | | | | If your application relies on register_globals being ON, you | | should explicitly set it to on in your php.ini file. | | Note that you are strongly encouraged to read |
NoSQL数据库,即非关系型数据库,有时也被称作Not Only SQL,是一种区别于传统关系型数据库的管理系统。这类数据库设计用于处理大规模、高并发的数据存储与查询需求,特别适用于需要快速读写大量非结构化或半结构化数据的应用场景。NoSQL数据库通过牺牲部分一致性来换取更高的可扩展性和性能,支持分布式部署,能够有效应对互联网时代的海量数据挑战。 ...
[详细]