Windows apache2.4 + php-5.5.19-nts non-thread-safe installation

Source: Internet
Author: User

Go to download page to download Apache 2.4.x VC11 while PHP version is also php5.5 VC11

Http://www.apachehaus.com/cgi-bin/download.plx#APACHE24VC11 1, unzip to E:\wwwroot\Apache2.42, enter CMD 3 inside the operation, switch to the directory E:\ WWWROOT\APACHE2.4\BIN4, install service to Windows Input command: httpd.exe-k install-n "apache2.4" Uninstall Service input: Httpd.exe-k uninstall-n "APAC he2.4 "5, configurationserverroot "${srvroot}" =serverroot "d:/working/wwwroot/apache2.4" #LoadModule rewrite_module modules/mod_rewrite.so =LoadModule Rewrite_module modules/mod_rewrite.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so = LoadModule vhost_alias_module modules/mod_vhost_ Alias.so#LoadModule mime_magic_module modules/mod_mime_magic.so = LoadModule mime_magic_module modules/mod_mime_ Magic.soLoadModule ssl_module modules/mod_ssl.so = #LoadModule ssl_module modules/mod_ssl.so
documentroot "${srvroot}/htdocs" = DocumentRoot "D:/working/wwwroot"
<directory "${srvroot}/htdocs" > = <directory "D:/working/wwwroot" >
allowoverride None = allowoverride All
DirectoryIndex index.html = directoryindex index.html index.htm index.phpscriptalias/cgi-bin/"${srvroot}/cgi-bin/" = scriptalias/cgi-bin/"d:/working/wwwroot/apache2.4/cgi-bin/"
<directory "${srvroot}/cgi-bin" > = <directory "D:/working/wwwroot/apache2.4/cgi-bin" >
php-5.5.19-nts Non-thread-safe installationDownload: Mod fcgid 2.3.9 for Apache 2.4.x x64 http://www.apachehaus.com/cgi-bin/download.plx#APACHE24VC11Open apache2.4 configuration file Add the following two lines where the module is loaded
LoadModule Fcgid_module modules/mod_fcgid.soinclude conf/extra/httpd-fcgi.conf  The httpd-fcgi.conf configuration is as follows: Fcgidinitialenv PHPRC "c:\\php"  =>  fcgidinitialenv PHPRC "d:/working/wwwroot/ Php-5.5.19-nts "Fcgidinitialenv PATH" c:\\php; C:\\Windows\\System32; C:\\Windows; C:\\windows\\system32\\wbem; " =>  fcgidinitialenv PATH" d:/working/wwwroot/php-5.5.19-nts; C:\\Windows\\System32; C:\\Windows; C:\\windows\\system32\\wbem; " Fcgidwrapper "C:/php/php-cgi.exe". php  =>  fcgidwrapper "d:/working/wwwroot/php-5.5.19-nts/ Php-cgi.exe ". Php php.ini configuration is used as follows; Extension_dir =" ext " =>  extension_dir =" d:/working/wwwroot/ Php-5.5.19-nts/ext "; Extension=php_curl.dll  =>  extension=php_curl.dll;extension=php_gd2.dll  = >  extension=php_gd2.dll;extension=php_mbstring.dll  =>  extension=php_mbstring.dll; Extension=php_mysql.dll  =>  extension=php_mysql.dll;extension=php_mysqli.dll  =>   Extension=phP_mysqli.dll;extension=php_pdo_mysql.dll  =>  extension=php_pdo_mysql.dll       

Windows apache2.4 + php-5.5.19-nts non-thread-safe installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.