服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. nginx PHP5
  3. Nginx和PHP使用<?php但不是<?
Intereting Posts
IIS – 如何阻止外部用户? RHEL5:禁止在64位系统上安装i386软件包? networkingGURU – IP故障转移与负载平衡相结合…是否有这样的软件? 可能吗? 当前时间在Windows 2003 Server DC上closures jetty 6.x在Ubuntu jaunty 9.04上 如何删除ext3networking驱动器上的日志 Ubuntu OpenLDAP TLS协商失败 转发到DC列表时,MS DNS服务器是否负载均衡查询? GlusterFS问题的Web服务 思科891w多VLANconfiguration 通过.bat文件提升UAC? 对于两个用户,使用pam_exec.so和pam_unix.so自定义pamconfiguration 什么是运行Apache / PHP / MySQL的最佳Windows Server平台? 将远程Windows Web服务器上的文件子集备份到本地Windows Web服务器的最佳解决scheme NFSv4通过portforward

Nginx和PHP使用<?php但不是<?

我试图用简写打开和closures标签来configurationnginx。

目前下面的代码工作,例如:

<?php include('this.php'); ?> 

但是这不是:

 <? include('this.php'); ?> 

有没有办法configuration这个,所以它可以工作吗?

  • Nginx在redirect到不同的域时不发送auth头文件
  • nginx不再适用于ec2实例
  • 如何设置通配符DNS的nginx服务器
  • 防止用nginx报废
  • 为什么Nginx服务`index.html`而不是404?

  • nginx重写规则,正则expression式只应用于一个子目录
  • 通过CloudFlare将清漆清除至清漆
  • 具有不同根的nginx正则expression式位置不按预期工作
  • nginx拒绝目录和要下载的文件
  • caching破坏和包含Nginx的文件

在php.ini中设置short_open_tag = On并重新启动Web服务器

您必须在php.ini中启用打开的短标签

 short_open_tag = On 
  • 位置中的另一个根/别名产生403
  • nginx varnish nginx php-fpm:php的_SERVER的实际ip
  • nginx符号链接权限被拒绝/ 403在Mac OSX上禁止
  • 使NginX根据IPv4编码基础服务于不​​同的页面
  • 如何让nginxlogin并删除未configuration的虚拟主机?
  • 在一台服务器上同时使用mod_php(Apache)和php-fpm(nginx)
  • 如何将nginx的caching文件设置为文件权限777?
  • 为什么服务器写入远远超过读取磁盘
  • PHP文件下载(源代码),而不是运行Nginx和PHP5-FPM
  • NginX导致PHP文件被执行两次

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy