<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>4's symfony blog &#187; check</title>
	<atom:link href="http://www.foolbirds.com/t/check/feed" rel="self" type="application/rss+xml" />
	<link>http://www.foolbirds.com</link>
	<description>all about symfony</description>
	<lastBuildDate>Fri, 14 Oct 2011 12:36:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>symfony 环境检查</title>
		<link>http://www.foolbirds.com/symfony-requirements-check.html</link>
		<comments>http://www.foolbirds.com/symfony-requirements-check.html#comments</comments>
		<pubDate>Wed, 14 Jan 2009 04:12:26 +0000</pubDate>
		<dc:creator>maker</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[configuration]]></category>

		<guid isPermaLink="false">http://www.foolbirds.com/?p=351</guid>
		<description><![CDATA[symfony中自带了一个检查运行环境的程序, 可以用来检查symfony是否可以在当前环境下正常的运行, 程序路径如下.
/data/bin/check_configuration.php
check_configuration.php是一个独立的php程序, 可以在任何地方独立运行. check_configuration.php 也可以同时运行在web和cli两种模式下.
将check_configuration.php复制到web目录下, 访问http://project/check_configuration.php显示如下
或者在shell下执行
php pathtosymfony/data/bin/check_configuration.php
显示如下

如果返回了语法错误你需要更新一下你的symfony源码, 还有要注意的是很多服务器中web访问和cli执行php使用的是两套php.ini, 所以建议将check_configuration.php单独上传到web目录下在浏览器中进行访问.
check_configuration.php 对运行环境做了以下检查.
必要配置
requires PHP &#62;= 5.2.4
 - php版本必须大于5.2.4
php.ini: requires zend.ze1_compatibility_mode set to off
 - php.ini中zend.ze1_compatibility_mode 的值为 off

可选配置
PDO is installed
 - 需要安装PDO模块
PDO has some drivers installed: mysql, sqlite
 - 需要安装PDO的mysql和sqlite驱动
PHP-XML module installed
 - 需要安装PHP-XML模块
XSL module installed
 - 需要安装XSL模块
can use token_get_all()
 - 可以使用token_get_all函数
can use mb_strlen()
 - 可以使用mb_strlen()函数, 需要安装mbstring模块
can use [...]]]></description>
			<content:encoded><![CDATA[<p>symfony中自带了一个检查运行环境的程序, 可以用来检查symfony是否可以在当前环境下正常的运行, 程序路径如下.</p>
<blockquote><p>/data/bin/check_configuration.php</p></blockquote>
<p>check_configuration.php是一个独立的php程序, 可以在任何地方独立运行. check_configuration.php 也可以同时运行在web和cli两种模式下.</p>
<p>将check_configuration.php复制到web目录下, 访问http://project/check_configuration.php显示如下</p>
<p><img class="aligncenter size-full wp-image-353" title="screenshot3" src="http://www.foolbirds.com/wp-content/uploads/2009/01/screenshot3.png" alt="screenshot3" width="553" height="528" />或者在shell下执行</p>
<blockquote><p>php pathtosymfony/data/bin/check_configuration.php</p></blockquote>
<p>显示如下</p>
<p><img class="aligncenter size-full wp-image-354" title="screenshot-1" src="http://www.foolbirds.com/wp-content/uploads/2009/01/screenshot-1.png" alt="screenshot-1" width="400" height="428" /></p>
<p>如果返回了语法错误你需要更新一下你的symfony源码, 还有要注意的是很多服务器中web访问和cli执行php使用的是两套php.ini, 所以建议将check_configuration.php单独上传到web目录下在浏览器中进行访问.</p>
<p>check_configuration.php 对运行环境做了以下检查.</p>
<pre><strong>必要配置</strong>
requires PHP &gt;= 5.2.4
 - php版本必须大于5.2.4
php.ini: requires zend.ze1_compatibility_mode set to off
 - php.ini中zend.ze1_compatibility_mode 的值为 off

<strong>可选配置</strong>
PDO is installed
 - 需要安装PDO模块
PDO has some drivers installed: mysql, sqlite
 - 需要安装PDO的mysql和sqlite驱动
PHP-XML module installed
 - 需要安装PHP-XML模块
XSL module installed
 - 需要安装XSL模块
can use token_get_all()
 - 可以使用token_get_all函数
can use mb_strlen()
 - 可以使用mb_strlen()函数, 需要安装mbstring模块
can use iconv()
 - 可以使用iconv()函数, 需要安装iconv模块
can use utf8_decode()
 - 可以使用utf8_decode()函数
has a PHP accelerator
 - 存在一个PHP加速器, symfony推荐使用<a title="APC" href="http://pecl.php.net/package/apc">APC</a>
php.ini: short_open_tag set to off
 - php.ini中short_open_tag 的值为 off
php.ini: magic_quotes_gpc set to off
 - php.ini中magic_quotes_gpc 的值为 off, 关闭魔法引号
php.ini: register_globals set to off
 - php.ini中register_globals 的值为 off
php.ini: session.auto_start set to off
 - php.ini中session.auto_start 的值为 off</pre>
<h3  class="related_post_title">随机日志</h3><ul class="related_post"><li><a href="http://www.foolbirds.com/get-var-in-templates.html" title="如何在视图里接收变量">如何在视图里接收变量</a></li><li><a href="http://www.foolbirds.com/install-uncompatible-symfony-plugin-and-use-sffeedplugin.html" title="symfony1.2使用1.0插件sfFeedPlugin一例">symfony1.2使用1.0插件sfFeedPlugin一例</a></li><li><a href="http://www.foolbirds.com/vim%e9%85%8d%e7%bd%ae%e6%96%87%e4%bb%b6%e6%b3%a8%e8%a7%a3.html" title="vim配置文件注解">vim配置文件注解</a></li><li><a href="http://www.foolbirds.com/how-to-install-symfony12-in-windows.html" title="如何在WINDOWS下设置SYMFONY1.2">如何在WINDOWS下设置SYMFONY1.2</a></li><li><a href="http://www.foolbirds.com/use_symfony_routing_change_url.html" title="使用symfony routing.yml 修改URL">使用symfony routing.yml 修改URL</a></li><li><a href="http://www.foolbirds.com/2010-1-20%e5%bc%80%e5%8f%91%e6%8a%80%e5%b7%a7%e6%80%bb%e7%bb%93.html" title="开发技巧总结">开发技巧总结</a></li><li><a href="http://www.foolbirds.com/redirect-and-forward-in-symfony.html" title="跳并快乐着－symfony跳转指南">跳并快乐着－symfony跳转指南</a></li><li><a href="http://www.foolbirds.com/fck%e7%bc%96%e8%be%91%e5%99%a8%e6%93%8d%e4%bd%9c%e5%8f%82%e6%95%b0.html" title="FCK编辑器操作参数">FCK编辑器操作参数</a></li><li><a href="http://www.foolbirds.com/csrf.html" title="开启symfony的CSRF保护">开启symfony的CSRF保护</a></li><li><a href="http://www.foolbirds.com/gcc-%e5%8d%87%e7%ba%a7%e5%bc%95%e8%b5%b7%e7%9a%84%e9%94%99%e8%af%af.html" title="gcc  升级引起的错误">gcc  升级引起的错误</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.foolbirds.com/symfony-requirements-check.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

