- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当从 Azure 门户将我的 Azure Web 应用程序上的 PHP 版本从 5.6 更改为 7.1 时,将会成功。但是当我从 php 文件运行 phpinfo() 时,它仍然显示旧版本的 PHP 5.6.31.. 而且我上传到 Azure Web App 的代码不理解 7.1 的更改..
我已从 Azure CLI 更新了 PHP 版本并重新启动了服务器。但运气不好:(还有其他人可以尝试其他选择吗?
最佳答案
我无法重现此行为,但您可以尝试几个选项。
选项 1:
使用以下值向处理程序映射添加一行:
扩展名:*.php
处理器路径:D:\Program Files (x86)\PHP\v7.1\php-cgi.exe
选项 2:
创建一个 web.config
文件并将其放入您网站的根文件夹中。
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.webServer>
<handlers>
<add name="FastCGIHandler" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="D:\Program Files (x86)\PHP\v7.1\php-cgi.exe" />
</handlers>
</system.webServer>
</configuration>
<小时/>
所有预装的 PHP 运行时都可以在 D:\Program Files (x86)\PHP
(x86) 和 D:\Program Files\PHP
(x64) 中找到)。
关于php - Azure Web App 的 phpinfo 中显示的 PHP 版本错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45670812/
我想安装 php5.3在 ubuntu 14.04 (它本身不作为 ubuntu pkg 提供),所以我安装了每个 apache2 , mysql5.6和 php5.3分别地。 PHP5.3 对我的项
我的 phpinfo() 显示版本为 7.1.23。但是当我在终端上执行 php -v 时,它显示版本为 7.3.10。如何使 phpinfo 版本与 CLI/终端相同?我按照用户 corretge
使用 PHP 回显日期正确显示:“2012-01-04 11:04:07” 但是,在我的 phpinfo 文件的顶部,我有: “系统 Linux server1.domain.com #1 SMP T
我用 php 5.2.13 全新安装了 CentO。在加载并出现在 phpinfo() 的 header 中的 php.ini 中,我有 safe_mode=off 在我拥有的phpinfo()信
我遇到了一个问题。问题是:我已经在我的 redhat linux 服务器上安装了 php 5.1。然后在浏览器中调用 phpinfo() 。显示 php 版本 5.1,但之后我安装了 php 5.4,
我在 xampp/php/ext/ 文件夹和 php.ini 文件中有 php_curl.dll 我设置了 extension= php_curl.dll(删除“;”)。我还在 php.ini 文件中
如果你运行 phpinfo();它是否准确显示 php.ini 中的内容,或者是否通过 php 使用 ini_set() 等方法动态更改设置或通过 .htaccess它们会显示在 phpinfo 中吗
我试过 phpinfo() 但它没有输出任何内容。有趣的是,php-r "phpinfo();" 可以正常工作,而在 web 中使用 phpinfo() 时什么也不输出。同样,也没有任何内容写入 er
很简单,有没有python相当于php的phpinfo(); ?如果是这样,它是什么以及我如何使用它(指向引用页面的链接会很好)。 最佳答案 看看这个! pyinfo() A good looking
本文实例讲述了PHP提示Warning:phpinfo() has been disabled函数禁用的解决方法。分享给大家供大家参考。具体分析如下: 今天在一朋友服务器测试一个网站时发现我在测试
我正在制作一个页面获取脚本,我正在为它使用 curl。我使用了这个功能: get_data($url); 但我总是得到错误: fatal error :在第 16 行调用 D:\wamp\www\gr
我正在尝试执行一些 url 重写,在查看 phpinfo 文件后,我看不到任何提及这一点。我的主机是 FastHosts。 我应该在 phpinfo() 中寻找其他内容吗?还是我应该假设 mod_re
我正在运行 HHVM,并且我正在尝试输出 phpinfo()。 它向页面输出以下内容: HipHop 即使 hhvm 文档也是如此,这也是不正确的。这是怎么回事? http://docs.hhvm.c
我正在尝试获取一个简单的 phpinfo() 以在我的本地服务器上打印出来(使用 MAMP)。我在 /Applications/MAMP/htdocs (php_sandbox) 中创建了一个新目录,
我正尝试在 CentOS 上将 PHP 从 5.2 升级到 5.3,但 phpinfo() 仍然声称已安装 PHP 5.2。 通过编译 Apache 1.3 构建 PHP,然后使用 apxs 构建 P
我们的测试环境中有一个 phpinfo() 页面,其中显示标题 已加载的模块 并显示所有已加载的模块。实时站点上的重复 phpinfo() 页面没有已加载模块部分,并且一些处理 GZIP 压缩等内容的
在我的一个客户生产服务器(Linux、Apache、PHP5)上,简单的页面输出部分返回并仅返回给谷歌浏览器。 例如,我设置了简单的 phpinfo 页面,如 当我像 http://192.168.
所以我在 Mountain Lion 上运行 MAMP,我已经使用 pecl 安装了 gmagick 和 imagick,两者都是候选版本(主要是因为 gmagick 没有稳定版本并且 imagick
我在 php.ini 中添加了以下几行 [XDebug] zend_extension = C:\PROGRA~1\PHP5\ext\php_xdebug-2.1.0-5.3-vc9.dll xdeb
在为 PHP 编写自定义扩展时,您通常会在扩展的头文件中定义一个版本字符串,例如像 #define PHP_MYEXT_VERSION "0.1.0" 然后,当在用户态 PHP 中调用 phpvers
我是一名优秀的程序员,十分优秀!