我是wdcp,CentOS6.9操作系統(tǒng):2.6.32-696.el6.x86_64
修改修改 /etc/rc.d/rc.local?文件后
即在下面增加/usr/local/bin/php /home/wwwroot/game_alixinyuxaun_cn/public_html/php_server/start.php start -d
后,,重啟就會(huì)導(dǎo)致502,發(fā)現(xiàn)php7沒(méi)有隨著機(jī)器一起啟動(dòng).然后刪除上面一行代碼后,重啟,發(fā)現(xiàn)再也回不到以前了.只能重裝系統(tǒng)才行.
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
stty -echo -F /dev/ttyS0
touch /var/lock/subsys/local
nohup /root/centos &
/www/wdlinux/wdcp/phps/start.sh
/usr/local/bin/php /home/wwwroot/game_alixinyuxaun_cn/public_html/php_server/start.php start -d
他們西部數(shù)碼的技術(shù)部也解決不了.問(wèn)題.難道是起碼workerman時(shí),其它依賴沒(méi)有事先啟動(dòng).導(dǎo)致出錯(cuò)嗎?關(guān)鍵是去掉代碼后,還是沒(méi)法恢復(fù).? 這是沒(méi)法理解了