duanlumei5941 2012-03-29 17:04
浏览 76

在XAMPP for Windows中升级PHP 5.4.0?

I want to upgrade to PHP 5.4.0 in XAMPP. I'm using windows operating system. I searched on web, but there was no proper guide for this as it was released recently.

Can anyone give me some instructions on how to upgrade to PHP 5.4.0 in XAMPP (windows)?

  • 写回答

4条回答 默认 最新

  • dqoag62688 2012-03-29 18:26
    关注
    1. Download the latest binary version of PHP (make sure to get the .zip package not the installer)
    2. De-archive it to a directory
    3. Copy the contents of the directory in the php subfolder of your XAMPP installation directory, overwriting the files which are already present
    4. Overwrite the files which are already present in the apache\bin directory with the newer versions.
    5. 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.

    Source

    评论

报告相同问题?

悬赏问题

  • ¥15 八爪鱼爬数据为什么自己停了
  • ¥15 交替优化波束形成和ris反射角使保密速率最大化
  • ¥15 树莓派与pix飞控通信
  • ¥15 自动转发微信群信息到另外一个微信群
  • ¥15 outlook无法配置成功
  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率