Apache2 already contains mod

xiaoxiao2021-03-06  70

>>>>>>>>>>>>>>>>>>>>>>>> INSTALL APACHE2 PHP 4.3.6 MOD_SSL for 5.2.1 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>> # # AutoConf 2.52 Creates Scripts That Are Incompatible with the Posix # shell Implementation (/ bin / sh) on Freebsd. Be Sure To Use V2.13 # of AutoConf. # # threaded MPMS Are Not Supported on FreeBSD 4.x. Current releases of # FreeBSD 5.x (5.2 or later) support threaded MPMs correctly. you must pass # '--enable-threads = yes' to APR's configure in order to enable threads. # Additionally, you must use libthr or libmap.conf via libkse as the default # libc_r is still broken as of this writing Please consult the man page for # libmap.conf for more details about configuring libthr or libkse # # http:.. //httpd.apache ............................................................................ .. Anoncvs@cvs.source.org: / cvs / apache # choose ONE The VALUES for Your Setting of CvsRoot. # Overce you have set your cvsroot, you need to log in: # # The password is "anoncvs" for # Both Servers cvsroot =: pserver: anoncvs@cvs.apache.org: / home / cvspublic export CVSROOT CVS login cvs checkout -d httpd-2.1 httpd-2.0 cd httpd-2.0 / srclib cds checkout -r APR CVS Checkout -r Apr-util Cd .. ./buildconf ./configure --prefix = / usr / local / httpd --enable-so --enable-threads = yes --enable-ssl --with-mpm = worker / --enable-shutrite cflags = '- o3 -mcpu = pentiumpro'

Make make install tar zvxf php-4.3.6.tar.gz CD PHP-4.3.6 cflags = '- o3-MCPU = PentiumPro' ./configure --prefix = / usr / local / php --with-apxs2 = / USR / local / httpd / bin / apxs / --enable-track-vars --with-config-file-path = / usr / local / php / lib / --enable-force-cgi-redirect --Nable-FTP --Nable-xml --with-openssl = / usr / local / ssl make make install cp php.ini-dist /usr/local/php/lib/php.ini # Edit Your httpd.conf to loading the php module. LoadModule PHP4_MODULE LIBEXEC / LIBPHP4.SO AddType Application / X-httpd-php .php .phtml Echo ' /Us/local/httpd/htdocs/index.php Go to Apache2 Ports, Direct Make Install Clean can already contain mod_ssl, after installation, you can be http: // Website name / manual / to see Apache2 manual, if MOD_PHP is installed, use phpinfo () can also see about mod_ssl .

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

New Post(0)