zoukankan      html  css  js  c++  java
  • laragon 使用(php版本升级切换)

    php版本升级切换

    1.下载对应不带 nts 的php版本(http://windows.php.net/download/),然后解压放到laragoninphp目录下

    2.记得改环境变量下php的path配置

    3.laragon操作:菜单->PHP->版本->选择对应的php版本

    4.需要重新配置下xdebug

    https://www.cnblogs.com/cxscode/p/8933209.html

     php.ini最后加

    [xdebug]
    zend_extension="D:laragoninphpphp-7.1.14-Win32-VC14-x64extphp_xdebug.dll"
    xdebug.remote_enable=true    
    xdebug.remote_host=127.0.0.1 
    xdebug.remote_port=9000      
    xdebug.remote_handler=dbgp
    xdebug.idekey="PHPSTORM"

    下载安装对应版本xdebug:php_xdebug.dll

    https://xdebug.org/download.php

    放到对应php的ext文件夹下即可

    nginx,mysql,apache同理

    mysql需要初始化数据

    How to add old version of MySQL for your case: (http://ftp.iij.ad.jp/pub/db/mysql/Downloads/MySQL-5.1/mysql-noinstall-5.1.73-win32.zip)
    
    1、Backup your databases using mysqldump
    
    2、Rename current data dir to data-backup
    
    3、Copy your data dir in bin/mysql/mysql-noinstall-5.1.73-win32 to the former data dir place
    
    4、Start Laragon and restore former databases from the dump file 将laragon/data/mysql/mysql

    文件夹备份, 将新mysql 压缩包中的data数据拷贝到laragon/data/mysql/mysql,然后重启mysql就可以实现切换

  • 相关阅读:
    JetBrains下载历史版本
    php入门笔记
    Ajax获取服务器信息
    Ubuntu上安装PHP环境-mysql+apache+php-Linux操作系统
    Ubuntu彻底删除/卸载mysql,php,apache
    轻松理解JS基本包装对象
    JS事件委托
    浅谈JS事件冒泡
    JS闭包那些事
    浅谈JS的变量提升
  • 原文地址:https://www.cnblogs.com/cxscode/p/9696567.html
Copyright © 2011-2022 走看看