文字

运行时配置

Table of Contents

  • 配置文件
  • .user.ini 文件
  • 配置可被设定范围
  • 怎样修改配置设定

用户评论:

[#1] goran [2013-09-17 10:30:44]

To run separate apache and php processes on centos (at least) without
having to compile and install separate versions for every instance
this should work:

Install apache and php with yum.

This will give you (for the first instance):

/etc/httpd?> fails...
<??> works...

[#11] mrtidy at mail dot com [2001-12-12 00:36:43]

[Ed Note:
This is because of short_tags,  <?phpxml turns php parsing on, because of the <?php.
--irc-html@php.net]

I am moving my site to XHTML and I ran into trouble with the <?phpxml ?>
 interfering with the  <?php ?>  method of escaping for HTML.  A quick check of the mailing list confirmed that the current preferred method to cleanly output the  <?phpxml ?>  line is to echo it:<br>
<?php echo("<?xml version=\"1.0\" encoding=\"UTF-8\"?> \n"); ?>

上一篇: 下一篇: