日期:2014-05-17 浏览次数:20583 次
==================测试环境redhat 6.0? 64bit
cmake 2.6 is the minimum version
g++/gcc 4.3 is the minimum version
Boost 1.37 is the minimum version
libicu 4.2 is the minimum version
tbb Intel's Thread Building Blocks
?
?
===64bit ====https://github.com/facebook/hiphop-php?? zhengdlwb@....
?
https://github.com/facebook/hiphop-php/issues
http://groups.google.com/group/hiphop-php-dev/
http://blog.liubijian.com/hiphop-php-install.html
http://www.ooso.net/archives/543
https://github.com/facebook/hiphop-php/wiki/building-and-installing
http://www.inanu.net/post/386.html
http://www.iteye.com/topic/1112434
?
http://www.oschina.net/question/54100_10698
http://www.ooso.net/archives/545
https://github.com/facebook/hiphop-php/wiki/using-nginx-as-front-server-to-hiphop?? Using nginx as front server to HipHop
http://www.joomlagate.com/article/joomla-review/hiphop-php-speed-up-joomla-websites/??? HipHop PHP 或可提高 Joomla 网站运行效率达 50%?
?
?
====32bit====https://github.com/metagoto/hiphop-php??
http://www.linuxidc.com/Linux/2011-04/35270.htm
?
?
?
?
?
?
======================================说明
?
不支持绝对路径
编译yii报错
编译wordpress成功
禁用非常用命令,如eval()
静态资源js,css,图片可用二级域名或一级域名匹配后缀走nginx/apache
前端80nginx,php访问分发到hiphop-php的服务上
?
?
?
?
?
hphp --input-dir=/tmp/aa/ --keep-tempdir=1 --log=3
./program -m server -p 8081
http://192.168.1.95:8081/a/1.php
http://192.168.1.95:8081/a2/2.php
?
=================================== 问题
???1 .如何编译两个不同根下的目录
?
cp -avx /tmp/{a,a2} /tmp/aa/
cp -avx {/tmp/a,/tmp/a2} /tmp/aa/
?
hphp --input-dir /tmp/{a,a2} --keep-tempdir=1 --log=3 不成功
?
?
??? 2. YII编译报错? hphp --input-dir=/tmp/yii/ --keep-tempdir=1 --log=3 --force=1
?
[root@XEN208_MS_HIPHOP_95 tmp]# hphp --input-dir=/tmp/yii/ --keep-tempdir=1 --log=3
running hphp...
creating temporary directory /tmp/hphp_8EI4PF ...
parsing inputs...
Unable to stat file /tmp/yii/framework/gii/components/Pear/Text/Diff/Renderer/Text/Diff/Renderer.php
Unable to stat file /tmp/yii/framework/gii/components/Pear/Text/Diff/Text/Diff.php
Unable to stat file /tmp/yii/framework/gii/components/Pear/Text/Text/Diff.php
Unable to stat file /tmp/yii/framework/gii/components/Text/Diff.php
Unable to stat file /tmp/yii/framework/gii/components/Text/Diff/Renderer.php
Unable to stat file /tmp/yii/framework/gii/components/Text/Diff/Renderer/inline.php
Unable to stat file /tmp/yii/framework/test/PHPUnit/Runner/Version.php
Unable to stat file /tmp/yii/framework/test/PHPUnit/Autoload.php
Unable to stat file /tmp/yii/framework/test/PHPUnit/Extensions/SeleniumTestCase.php
Unable to stat file /tmp/yii/framework/vendors/TextHighlighter/Text/Text/Highlighter/Generator.php
Unable to stat file /tmp/yii/framework/vendors/TextHighlighter/Text/Console/Getopt.php
parsing inputs took 0'07" (7181 ms) wall time
pre-optimizing...
pre-optimizing took 0'00" (293 ms) wall time
inferring types...
inferring types took 0'01" (1003 ms) wall time
post-optimizing...
post-optimizing took 0'00" (377 ms) wall time
creating CPP files...
creating CPP files took 0'03" (3134 ms) wall time
saving code errors...
compiling and linking CPP files...
/tmp/hphp_8EI4PF/php/framework/db/schema/mysql/CMysqlSchema.cpp:
In member function \xe2\x80\x98double HPHP::c_CMysqlSchema::t_getserverversion()\xe2\x80\x99:\n/tmp/hphp_8EI4PF/php/framework/db/schema/mysql/CMysqlSchema.cpp: