hhvm

    4熱度

    1回答

    我一定錯過了一些東西。 HipHop VM 3.2.0 (rel) Compiler: tags/HHVM-3.2.0-0-g01228273b8cf709aacbd3df1c51b1e690ecebac8 Repo schema: c52ba40f4a246d35a88f1dfc1daf959851ced8aa` tail -3 /var/log/nginx/access.log返回 1

    9熱度

    1回答

    我一直在擺弄這個很長一段時間,而且我無法真正掌握nginx + hhvm如何映射我的請求。 Basiclly,我有api.example.com一個API,我願與接受來電:應用程序/ vnd.com.example.api.v1 + JSON 1版本和應用程序/ vnd.com.example .api.v2 + json for version 2. API本身是一個PHP應用程序,我將使用新安

    4熱度

    1回答

    我最近通過在Apache/NGinx/HHVM/ReactPHP的各種組合上運行它們,分析了兩個測試PHP腳本的性能差異。 我現在的問題是,如果在HHVM上執行的PHP腳本和在Hack中執行的(儘可能)相同的腳本之間存在期望的性能差異(並且在HHVM上執行)? 有沒有人試過嗎?

    3熱度

    1回答

    PHP有inotify擴展名,但HHVM不支持它。 如何監視至少在HHVM上的IN_CLOSE_WRITE事件的文件? <?php // sample inotify code for PHP $fd = inotify_init(); $watch_descriptor = inotify_add_watch($fd, __FILE__, IN_ATTRIB); touch(__FILE

    0熱度

    1回答

    工作,我嘗試使用HHVM與服務器的CentOS 6.5 64位nginx的,但它不是從HHVM的日誌工作 hhvm --mode server -vServer.Type=fastcgi -vServer.Port=9000 -user nginx 報價: 無法初始化中央HHBC庫:無法開放/var/log/hhvm/.hhvm.hhbc:14 - 無法打開數據庫文件 未能打開/var/www

    1熱度

    1回答

    我設置了本地apache2服務器,它可以正常顯示位於home/user/website的任何html文件,但當我嘗試訪問php文件時,它會給我一個404 error。 即: ~/website ls hello.php index.html test2.html test.php 127.0.1.1/index.html和127.0.1.1/test2.html負荷正常,但127.0.1.1

    3熱度

    1回答

    如何以HHVM作爲其解釋器在PhpStorm 8中運行我的單元測試? PhpStorm 8支持PHPUnit 4,它支持HHVM,我可以使用HHVM在termianl上運行我的測試套件,但我不知道如何配置PhpStorm 8以便使用HHVM運行我的單元測試。

    2熱度

    1回答

    我已經memcached的安裝和工作如通過測試: nc -U /var/run/memcached/memcached.sock stats STAT pid 16360 STAT uptime 2246 STAT time 1412217254 STAT version 1.4.14 (Ubuntu) STAT libevent 2.0.21-stable STAT pointer

    2熱度

    1回答

    我想配置我的服務器在Ubuntu 14.04上運行使用HHVM。我沒有真正安裝它的問題,但讓它運行是另一回事。我試圖通過薩拉Golemon推薦的命令並從以下命令收到以下錯誤: hhvm --mode server -vServer.Type=fastcgi -vServer.Port=9000 錯誤: mapping self... mapping self took 0'00" (850613

    4熱度

    3回答

    我使用HHVM寫一個系統工具的功能內「全局」的關鍵字,我不能爲我的生活弄清楚爲什麼這個代碼發出一個錯誤,當我運行hh_client $__al_paths = array(); function requires(string $classPath): void { global $__al_paths; $className = basename($classPath);