drxzpo70788179614 2011-01-19 11:56
浏览 42
已采纳

什么是在Debian上将PHP从5.2.0更新到5.2.14的简单方法?

I want to update my version of PHP from 5.2.0 to 5.2.14 (or later, but I don't want to upgrade to 5.3 for compatibilty reasons).

Every guide I find to upgrade PHP is for updating to the last available version, but I dont't find a way to update to a specific version.

The easiest and quickest the solution, the best

  • 写回答

1条回答 默认 最新

  • dongze5043 2011-01-19 12:20
    关注

    I would suggest:

    1. identify php-related packages you installed on the system; packages like php5-cli, php5-cgi, libapache2-php5
    2. Pock around packages.debian.org to see what is the latest available version of php 5.2.
    3. Download these packages manually.
    4. sudo dpkg -i *.deb at the directory you keep the debs
    5. lock the installed version, prevent accidentally upgrade by apt-get upgrade.

    There are might be ways to probe versions available using just apt-get, if anyone knows please share.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 ROS Turtlebot3 多机协同自主探索环境时遇到的多机任务分配问题,explore节点
  • ¥15 Matlab怎么求解含参的二重积分?
  • ¥15 苹果手机突然连不上wifi了?
  • ¥15 cgictest.cgi文件无法访问
  • ¥20 删除和修改功能无法调用
  • ¥15 kafka topic 所有分副本数修改
  • ¥15 小程序中fit格式等运动数据文件怎样实现可视化?(包含心率信息))
  • ¥15 如何利用mmdetection3d中的get_flops.py文件计算fcos3d方法的flops?
  • ¥40 串口调试助手打开串口后,keil5的代码就停止了
  • ¥15 电脑最近经常蓝屏,求大家看看哪的问题