Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Source code installation apache

Shulou Source: shulou.com Published: 2022-06-03 07:07:01 11月23日 Update

Source code installation apache because the mode of apache is specified at compile time, it is recommended that you recompile apache manually and install it. Install aprcd/apr./configure--prefix=/usr/local/aprmake&&makeinstallcd../apr-util./configure--prefix=/usr/local/apr-util--with-apr=/usr/local/apr/make&&makeinstall before compiling and installing apache./configure--prefix=/usr/local/apache2--with-apr=/usr/local/apr/--with-apr-util=/usr/local/apr-util/--enable-so--enable-rewrite--with-mpm=worker

Modify the configuration file httpd.conf to add ServerNamebbstest

Source code compilation and installation of PHP./configure--prefix=/usr/local/php5--with-apxs2=/usr/local/apache3/bin/apxs--with-mysql=/www/wdlinux/mysql-5.1.63--with-gd--with-zlib--with-png--with-jpeg--with-freetype--enable-sockets--with-iconv--enable-mbstring--enable-track-vars--enable-force-cgi-redirect--with-config-file-path=/usr/local/php5/etc

Tags: Compilation source code recommendation manual file mode or configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple NVidia Redmi Linux vpn