How can I update my version of PHP for XAMPP [duplicate]

廉价感情. 提交于 2019-11-30 09:23:17
  • Download the latest binary version of PHP 5.4.11 (make sure to get the .zip package not the installer)
  • De-archive it to a directory
  • Copy the contents of the directory in the php subfolder of your XAMPP installation directory, overwriting the files which are already present
  • Overwrite the files which are already present in the apache\bin directory with the newer versions.
  • Now the trick: take the files which have a "_2" in their names (for example php5apache2_2.dll or php5apache2_2_filter.dll), copy them in the apache\bin subdirectory and remove the "_2" part, overwriting the existing files. This is necessary because by XAMPP uses Apache version 2.2 and the files with the 2 prefix are built for Apache 2.0, so you must take the files build for the newer version (which has a different plugin interface) and rename them in the filenames XAMPP expects.

Hope this helps.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!