Apache Updates、MariaDB、PHP

Because the company's Web site before being implanted malware relationship,Build a new website platform,And abandon such quickly build appserv but only for development environment kit,Changes toManually build Apache、MariaDB and PHP,After renewed every six months and with the frequency of maintenance to do,Benpian Apache is the record update、Step MariaDB and PHP program of three。





  • 下載 64bit msi 檔
  • 停止 mysql 服務執行 .msi 檔更新即可


  • Download the zip file(x64 Thread Safe, There is a saying Non Thread Safe to use IIS)。
  • unzip,Copy the directory to the desired location。
  • 修改php.ini-production為php.ini用WinMerge比對舊版php.ini
  • 如果php目錄名稱與原本名稱不同,Open the Apache httpd.conf,修改下面內容
  #指定php.ini存放的資料夾位置。  PHPIniDir "D:\Web\php-7.1.5"    #載入php的模組。  LoadModule php7_module "D:\Web\php-7.1.5\php7apache2_4.dll"  
  • 可新增一index.php檔,Put D:\WebApache24htdocs,Follows:
  <?php  phpinfo();  ?>  
  • Browser to open index.php,Confirm information can be seen php。


  • Download the zip file,unzip,Copy to Apache24 htdocs。
  • The config.sample.inc.php changed its name to config.inc.php,WinMerge comparison with previous version config.inc.php


Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.