Experience Apache2.1-Dev + PHP5 on Windows

xiaoxiao2021-03-06  95

First download the source code of Apache2.1-dev, use VC compilation.

Secondly download php5 source code, when compiling PHP5 Apache2 Handler, modify the libapr.lib libraprutil.lib in SAPI / Apache2Handler / PHP5apache2.dsp for libapr-1.lib libaprutil-1.lib. If you use a command line, please modify SAPI / Apache2Handler / Config.W32:

??? CHECK_LIB ("Libhttpd.lib", "apache2handler", php_php_build "// Apache2 // lib") && ??? check_lib ("libapr.lib", "apache2handler", php_php_build // Apache2 // LIB ") && ??? Check_lib (" libaprutil.lib "," apache2handler ", php_php_build " // apache2 // lib ")

for

CHECK_LIB ("Libhttpd.lib", "Apache2Handler", PHP_PHP_BUILD "// Apache2 // LIB") && ??? Check_lib ("libapr-1.lib", "apache2handler", php_php_build "// Apache2 // lib ") && ??? Check_lib (" libaprutil-1.lib "," apache2handler ", php_php_build " // Apache2 // lib ")

In order to correctly detect the existence of library files.

So your PHP5 supports apache2.1-dev!

Note: The VC compiled Apache2, PHP5, PHP5, please view http://cn2.php.net/manual/en/install.windows.building.php, http://httpd.apache.org/docs-2.0/ Platform / Win_Compiling.html

Additional Apache2, PHP5 address: http://cvs.apache.org, http://cvs/php.net

转载请注明原文地址:https://www.9cbs.com/read-123550.html

New Post(0)