红色字体为译文

1.报错:php interpreter is not configured, please configure php interpre

原因与解决:PHP解释器没有配置,点击configure PHP Interpreter 弹出一个选择php程序路径的窗口 在Interpreter目录按钮,定位到PHP程序解压的目录(php.exe的目录)!

2.PHP Remote Interpreters Support in PhpStorm 8 EAP(PHP在PhpStorm 8 EAP远程翻译支持)

Support for PHP remote interpreters has beenintroduced in PhpStorm 8 EAP. It lets us use a PHP interpreter over SSH installed on any remote environment, to run/debug application and run testing tools remotely.

(支持远程口译员在PhpStorm beenintroduced 8 EAP php_remote_int_introPHP。它让我们使用一个PHP解释器在SSH上安装任何远程环境,运行/调试应用程序并运行远程测试工具)

Using a remote interpreter instead of a local one gives us an opportunity to get advantages of a PHP interpreter installed in a production-like environment (be it a physical server, a virtualized environment such as Vagrant, or any other). That way we can make sure there will be no inconsistencies when the application is finally deployed to production.

(使用远程翻译而不是当地的给了我们一个机会一个PHP解释器的优点在类似生产的环境中的安装(可以是一个物理服务器、虚拟环境等。这样我们可以确保应用程序时被部署到生产环境时不会有矛盾。)

In this blog post we will look into configuring and using PHP remote interpreters for PHPUnit.

(在这篇文章我们将考虑使用PHP配置和远程翻译PHPUnit)

PHP Remote Interpreters Configuration(PHP远程口译员配置)

A remote interpreter can be configured in the same way as a local one in Settings | PHP | Interpreter | …

(远程翻译可以以同样的方式作为本地配置中设置PHP解释器| | |…)

All the current PHP interpreters will be listed. Click the + button to add a new one, then selectRemote to add a new remote interpreter.

(所有当前的PHP解释器将上市。单击+按钮添加一个新的,然后selectRemote添加一个新的远程翻译.)

The PHP remote interpreter dialog displays:

(PHP远程翻译对话框显示:)

A PHP remote interpreter can be configured:(一个PHP远程翻译可以配置:)

  • Manually – all the SSH connection details should be provided in the dialog (Host, Port, User name, Auth type, Password, etc);
  • (应提供手动——所有SSH连接细节在对话框中(主机、端口、用户名、身份验证类型,密码,等)
  • From the deployment server configuration – after selecting a deployment server, all the connection details will be filled in by PhpStorm from deployment server settings. Please note that SFTP deployment with valid mappings should be configured first in Settings | Deployment to have the button Fill from deployment server settings available.
  • (从部署服务器配置,选择部署服务器之后,所有的连接细节将由PhpStorm填写从部署服务器设置。请注意,SFTP部署与有效的映射应该首先配置设置|部署从部署服务器设置按钮填补可用)
  • From the Vagrant configuration – after selecting Vagrant Configuration Folder, all the connection details will be filled in by PhpStorm from the current Vagrant configuration.
  • (从流浪的配置——在选择流浪的配置文件夹,所有的连接细节将由PhpStorm填写从当前流浪的配置)

After you click OK, the connection will be tested and (in case of success) the remote interpreter will be added to the list of PHP interpreters in PhpStorm.(单击OK后,连接将被测试和远程翻译(成功)的情况下将被添加到PHP解释器在PhpStorm列表)

Please note that a valid deployment server with correct mappings should be configured in any case so that PhpStorm knows what file should be executed on the remote environment.(请注意,一个有效的部署服务器正确映射应该配置在任何情况下,PhpStorm知道文件应该在远程执行环境)

PHPUnit via SSH(PHPUnit通过SSH)

One of the most important use cases for PHP remote interpreters is running PHPUnit tests remotely, and now it’s already possible.

(最重要的一个用例远程PHP运行PHPUnit)测试远程口译员,现在它已经成为可能)

In order to configure a running PHPUnit remotely, just add a new PHPUnit Setting by Remote Interpreter in Settings | PHP | PHPUnit.

(为了配置远程运行PHPUnit),只添加一个新的PHPUnit设置通过远程PHP解释器在设置| | PHPUnit)

Select the appropriate remote interpreter in the dialog to proceed:(选择适当的远程翻译在对话框中进行)

The PHPUnit configuration will be added, and the usual PHPUnit testing workflow will be valid (with PHPUnit configuration through run/debug configurations dialog).(PHPUnit)配置将被添加,通常PHPUnit)测试工作流程将是有效的(通过运行/调试与PHPUnit)配置配置对话框)

Please note that PHPUnit configuration will be used according to the default PHP interpreter setting for the project. The same PHPUnit configuration can be used for working with local and remote interpreter, it will rely on the default PHP interpreter setting in the project.(请注意,PHPUnit)配置将根据默认的PHP解释器设置用于该项目。同一PHPUnit)配置可用于处理本地和远程翻译,它将依靠默认PHP解释器在项目设置)

Support for PHP remote interpreters is still a work in progress, so please have a look at known and planned issues and take a minute to report any bugs or feature requests to our issue tracker.(支持PHP远程翻译仍然是一个正在进行的工作,所以请看看已知和计划问题,花一分钟报告任何错误或特性请求我们的问题跟踪器)

phpstorm常见问题相关推荐

  1. php storm官网,phpstorm

    phpstorm官方版 phpstorm官方版是款适合编程工作人员使用的编程工具.phpstorm可以帮助用户在电脑上编辑PHP类型的PHP开发工具,还提供PH代码编辑器.调试,测试和分析.hml/c ...

  2. phpstorm+Xdebug断点调试PHP

    前言: 何为DEBUG? 相信很多程序员都知道debug这个单词,也明白它的意思,但是对于这词的由来,恐怕少有人知道.关于debug的由来,要追溯到1937年.1937年,美国青年霍德华.艾肯找到IB ...

  3. phpstorm xdebug本地调试断点不生效_PHPSTORM与xdebug配置

    在phpstorm上使用xdebug的简单配置 PHP.ini配置 到xdebug官网根据使用的php版本下载xdebug文件 xdebug官网:https://xdebug.org/download ...

  4. php常见问题模板,PHP常见问题总结与最佳实践

    PHP常见问题总结与最佳实践 原创部分: HTTP协议头不让修改,说是已有数据发送,而你还什么也没发呢 问题:[08-Dec-2016 15:33:10] WARNING: [pool www] ch ...

  5. llvm常见问题 (FAQ)

    llvm常见问题 (FAQ) License 可以修改 LLVM 源代码并重新分发修改后的源代码吗? 可以修改 LLVM 源代码并重新分发基于二进制文件或其它工具,而无需重新分发源代码吗? 源代码 L ...

  6. 深度学习常见问题解析

    深度学习常见问题解析 计算机视觉与自动驾驶 今天 一.为什么深层神经网络难以训练? 1.梯度消失.梯度消失是指通过隐藏层从后向前看,梯度会变得越来越小,说明前面层的学习会显著慢于后面层的学习,所以学习 ...

  7. CentOS7环境搭建使用PhpStorm上传代码

    一.虚拟机介绍 虚拟机(Virtual Machine)指通过软件模拟的具有完整硬件系统功能的.运行在一个完全隔离环境中的完整计算机系统. 虚拟系统通过生成现有操作系统的全新虚拟镜像,它具有真实win ...

  8. php psr2规范,PhpStorm集成PSR2代码自动检查 | 吴文辉博客

    我们写代码要遵循一定的规范, 但是我们有时候会犯错,所以需要有一个检查机制.当我们犯错的时候检查机制会发挥作用.下面介绍一下如何在phpstrom上设置代码检查. 让phpstrom支持基于PSR2的 ...

  9. phpstorm支持php7吗,PHPStorm支持PHP7类型提示等新语法

    自定义实现支持MVC模式的轻量级Web框架AirPoint (二) :框架入口 自定义实现支持MVC模式的轻量级Web框架AirPoint (二) :框架入口的设计 1. 请求响应处理的流程 客户端发 ...

最新文章

  1. 实验四-常用图像增强方法
  2. 疫情过后,2020年各省市GDP排行榜top10新鲜出炉,你的家乡排在第几?
  3. web渗透漏洞实例讲解视频课程
  4. android分辨率 x y,Android - 确定不同分辨率的位图上的特定位置(X,Y坐标)?
  5. 【题解】luogu P1757 通天之分组背包
  6. mysql综合查询索引优化_MySQL数据库SQL优化之确定问题使用索引提高查询效率
  7. 洛谷P3405 [USACO16DEC]Cities and States省市
  8. 大数据之-Hadoop3.x_MapReduce工作流程---大数据之hadoop3.x工作笔记0109
  9. ELK 把date替换为logstash的@timestamp
  10. 进程调度时间片轮转c语言,时间片轮转调度算法的C语言模拟实现
  11. 买哪个股票稳赚,三类股票,可以买了
  12. playframework 简介
  13. 人民币和美元兑换的编程python_python人民币和美元转换
  14. Visual Studio大写小写转换切换快捷键
  15. unity实现鼠标打飞碟(Hit UFO)游戏
  16. 对c语言课程的总结和认识,c语言课程设计总结8篇
  17. Access转出到Mysql,咱自己动手丰衣足食.. -- 纯JS代码
  18. 软件工程师就业情况以及发展空间怎么样?
  19. Zedboard系列教程
  20. ie11 html元素操作,css - 在IE11中过滤html / body元素的灰度[重复] - 堆栈内存溢出

热门文章

  1. 三星java世界x108_我对三星X100/X108的使用感受
  2. python语言应用智慧树答案_智慧树Python语言应用答案全部
  3. 2019-01-21第六课
  4. 细数一对一社交源码调和延时卡顿问题的小技巧
  5. 2021-2022学年广东实验中学九年级第一学期期中考试英语试题
  6. Android切词工具——BreakIterator(2)
  7. 零基础怎么学好计算机函数,零基础要学会的15个常用函数
  8. java歌曲管理系统
  9. 推荐一款好用解压RAR、ZIP文件Mac软件,可以输入密码Dr. Unarchiver
  10. 【NOIP模拟赛】【乱搞AC】【贪心】【模拟】匹配