[英]Run yii project using hhvm
如何使用HHVM啟動Yii2項目?
跑
hhvm yii serve
但我收到以下錯誤:
Server started on http://localhost:8080/
Document root is "/home/hgminh95/Documents/pk-homepage-server/web"
Quit the server with CTRL-C or COMMAND-C.
Error in command line: unrecognised option '-S'
Usage:
/usr/bin/hhvm [-m <mode>] [<options>] [<arg1>] [<arg2>] ...
HHVM只是linux。 對於Windows和MacOS,它沒有任何東西,它在沒有JIT編譯器的情況下以限制模式工作。
檢查這個https://yii2-cookbook.readthedocs.io/performance-hhvm/
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449
echo deb http://dl.hhvm.com/debian wheezy main | sudo tee /etc/apt/sources.list.d/hhvm.list
sudo apt-get update
sudo apt-get install hhvm
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.