©
이 문서에서는 PHP 중국어 웹사이트 매뉴얼 풀어 주다
[#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.
interfering with the
--irc-html@php.net]
I am moving my site to XHTML and I ran into trouble with the <?phpxml ?>
<?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"); ?>