我確定我在我的liunx 終端 運(yùn)行了 php start.php start 我為workerman在本地指定了一個(gè)域名 打開域名提示 Usage: php yourfile.php {start|stop|restart|reload|status} 請(qǐng)問是什么情況 清楚嗎?
配置如下
server {
listen 80; #監(jiān)聽端口,前面可加IP
server_name workerman.ddd.com;#綁定域名
location / {
root /home/LiHao/www/web-msg-sender;
index index.html index.htm index.php start.php;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /home/LiHao/www;
}
location ~ \.php$ {
root /home/LiHao/www/web-msg-sender;#網(wǎng)站根目錄
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /home/LiHao/www/web-msg-sender/$fastcgi_script_name;
include fastcgi_params;
}