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。


First stop Apache、mysql service。


[Update] MariaDB

  • Download 64bit msi file。
  • Stop mysql service,Update to execute .msi files。

[Update] PHP

  • 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。
  • Modify php.ini-production into php.ini,Older than with WinMerge php.ini。
  • If the php directory name with the original name different,Open the Apache httpd.conf,Modify the following content。
  #指定php.ini存放的資料夾位置。  PHPIniDir "D:\Web\php-7.1.5"    #載入php的模組。  LoadModule php7_module "D:\Web\php-7.1.5\php7apache2_4.dll"  
  • You can add a index.php file,Put D:\WebApache24htdocs,Follows:
  <?php  phpinfo();  ?>  
  • Browser to open index.php,Confirm information can be seen php。

PhpMyAdmin [update]

  • 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.