About httpd2.4.18 Downloads
It's been annoying before. PHP official online dot half a day do not see the download link, until you see such a few words
The main idea is that Apache HTTP server does not provide a binary version, only the source code. ....
If you cannot compile the server yourself, you can download it from the version available online.
I chose the first item.
The following is the configuration:
1, find the decompression directory under httpd.conf, open in text mode.
2, find define Srvroot, modified before: "/apache24", modified as follows: "E:/phprelated/httpd-2.4.18-x64-vc11-r3/apache24"
3, find LoadModule not add #, in front of the path with the second step of the definition of srvroot, the way to refer to ${srvroot}, modified as follows:
LoadModule actions_module ${srvroot}/modules/mod_actions.soloadmodule alias_module ${srvroot}/modules/mod_ Alias.soloadmodule allowmethods_module ${srvroot}/modules/mod_allowmethods.soloadmodule asis_module ${SRVROOT}/ Modules/mod_asis.soloadmodule Auth_basic_module ${srvroot}/modules/mod_auth_basic.so#loadmodule Auth_digest_ Module Modules/mod_auth_digest.so#loadmodule auth_form_module modules/mod_auth_form.so#loadmodule authn_anon_ Module Modules/mod_authn_anon.soloadmodule authn_core_module ${srvroot}/modules/mod_authn_core.so#loadmodule authn _dbd_module modules/mod_authn_dbd.so#loadmodule authn_dbm_module modules/mod_authn_dbm.soloadmodule authn_file_ Module ${srvroot}/modules/mod_authn_file.so#loadmodule authn_socache_module modules/mod_authn_socache.so# LoadModule authnz_fcgi_module modules/mod_authnz_fcgi.so#loadmodule authnz_ldap_module modules/mod_authnz_ Ldap.soloadmodule authz_core_module ${srvroot}/modules/mod_authz_core.so#loadmodule authz_dbd_module modules/mod_ Authz_dbd.so#loadModule authz_dbm_module modules/mod_authz_dbm.soloadmodule authz_groupfile_module ${srvroot}/modules/mod_authz_ Groupfile.soloadmodule Authz_host_module ${srvroot}/modules/mod_authz_host.so#loadmodule Authz_owner_module Modules/mod_authz_owner.soloadmodule Authz_user_module ${srvroot}/modules/mod_authz_user.soloadmodule autoindex_ Module ${srvroot}/modules/mod_autoindex.so#loadmodule buffer_module modules/mod_buffer.so#loadmodule cache_module Modules/mod_cache.so#loadmodule Cache_disk_module Modules/mod_cache_disk.so#loadmodule Cache_socache_module Modules/mod_cache_socache.so#loadmodule cern_meta_module modules/mod_cern_meta.soloadmodule cgi_module ${SRVROOT}/ Modules/mod_cgi.so#loadmodule charset_lite_module modules/mod_charset_lite.so#loadmodule data_module modules/mod_ Data.so#loadmodule dav_module modules/mod_dav.so#loadmodule dav_fs_module modules/mod_dav_fs.so#loadmodule dav_lock _module modules/mod_dav_lock.so#loadmodule dbd_module modules/mod_dbd.so#loadmodule deflate_module ModuleS/mod_deflate.soloadmodule dir_module ${srvroot}/modules/mod_dir.so#loadmodule dumpio_module modules/mod_ Dumpio.soloadmodule env_module ${srvroot}/modules/mod_env.so#loadmodule expires_module modules/mod_expires.so# LoadModule ext_filter_module modules/mod_ext_filter.so#loadmodule file_cache_module modules/mod_file_cache.so# LoadModule filter_module modules/mod_filter.so#loadmodule headers_module modules/mod_headers.so#loadmodule Heartbeat_module Modules/mod_heartbeat.so#loadmodule Heartmonitor_module Modules/mod_heartmonitor.so#loadmodule Http2_module modules/mod_http2.so#loadmodule ident_module modules/mod_ident.so#loadmodule imagemap_module modules/ Mod_imagemap.soloadmodule include_module ${srvroot}/modules/mod_include.soloadmodule info_module ${SRVROOT}/ Modules/mod_info.soloadmodule Isapi_module ${srvroot}/modules/mod_isapi.so#loadmodule Lbmethod_bybusyness_module Modules/mod_lbmethod_bybusyness.so#loadmodule Lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so# LoadModule LBMethod_bytraffic_module Modules/mod_lbmethod_bytraffic.so#loadmodule Lbmethod_heartbeat_module Modules/mod_ Lbmethod_heartbeat.so#loadmodule ldap_module modules/mod_ldap.so#loadmodule logio_module modules/mod_ Logio.soloadmodule log_config_module ${srvroot}/modules/mod_log_config.so#loadmodule log_debug_module modules/mod_ Log_debug.so#loadmodule log_forensic_module modules/mod_log_forensic.so#loadmodule lua_module modules/mod_lua.so# LoadModule macro_module modules/mod_macro.soloadmodule mime_module ${srvroot}/modules/mod_mime.so#loadmodule mime_ Magic_module Modules/mod_mime_magic.soloadmodule Negotiation_module ${srvroot}/modules/mod_negotiation.so# LoadModule proxy_module modules/mod_proxy.so#loadmodule proxy_ajp_module modules/mod_proxy_ajp.so#loadmodule proxy_ Balancer_module Modules/mod_proxy_balancer.so#loadmodule Proxy_connect_module modules/mod_proxy_connect.so# LoadModule proxy_express_module modules/mod_proxy_express.so#loadmodule proxy_fcgi_module modules/mod_proxy_ Fcgi.so#loadmodUle proxy_ftp_module modules/mod_proxy_ftp.so#loadmodule proxy_html_module modules/mod_proxy_html.so#loadmodule Proxy_http_module Modules/mod_proxy_http.so#loadmodule Proxy_scgi_module Modules/mod_proxy_scgi.so#loadmodule Proxy_wstunnel_module Modules/mod_proxy_wstunnel.so#loadmodule Ratelimit_module modules/mod_ratelimit.so# LoadModule reflector_module modules/mod_reflector.so#loadmodule remoteip_module modules/mod_remoteip.so#loadmodule Request_module modules/mod_request.so#loadmodule reqtimeout_module modules/mod_reqtimeout.so#loadmodule rewrite_ Module Modules/mod_rewrite.so#loadmodule sed_module modules/mod_sed.so#loadmodule session_module modules/mod_ Session.so#loadmodule session_cookie_module modules/mod_session_cookie.so#loadmodule session_crypto_module Modules /mod_session_crypto.so#loadmodule session_dbd_module modules/mod_session_dbd.soloadmodule setenvif_module ${ Srvroot}/modules/mod_setenvif.so#loadmodule Slotmem_plain_module Modules/mod_slotmem_plain.so#loadmodule slotmem_ ShM_module modules/mod_slotmem_shm.so#loadmodule socache_dbm_module modules/mod_socache_dbm.so#loadmodule socache_ Memcache_module Modules/mod_socache_memcache.soloadmodule Socache_shmcb_module ${SRVROOT}/modules/mod_socache_ Shmcb.so#loadmodule speling_module modules/mod_speling.soloadmodule ssl_module ${SRVROOT}/modules/mod_ Ssl.soloadmodule status_module ${srvroot}/modules/mod_status.so#loadmodule substitute_module modules/mod_ Substitute.so#loadmodule unique_id_module modules/mod_unique_id.so#loadmodule userdir_module modules/mod_ Userdir.so#loadmodule usertrack_module modules/mod_usertrack.so#loadmodule version_module modules/mod_version.so# LoadModule vhost_alias_module modules/mod_vhost_alias.so#loadmodule watchdog_module modules/mod_watchdog.so# LoadModule Xml2enc_module modules/mod_xml2enc.so
4, after the configuration needs to create a new services, or open Bin/apachemonitor.exe will prompt no service
5, open cmd as an administrator, go to the bin directory under the installation directory, I am here e:/phprelated/httpd-2.4.18-x64-vc11-r3/apache24/bin.
Related commands:
CD E:/phprelated/httpd-2.4.18-x64-vc11-r3/apache24/bine:
Then create a new service
Httpd-k install-n "Apache2.4"
Since I was built here to write the summary, so will prompt service already exists.
6, the first time I built the reference on the Internet did not complete the third step, when prompted can not load modules/mod_actions.so
This time, we need to delete the service to re-establish
Also in the command Window (administrator login)
Enter the following command to delete the service
SC Delete Service Name
For example:
Httpd-k install-n "Apache2.4"
Delete and then re-follow the above steps to operate.
7. Successful operation after completion
About configuring httpd2.4.18+php5.6