We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我的openwrt安装php后,无法运行php命令,不知道如何运行该php脚本
The text was updated successfully, but these errors were encountered:
php-cgi或者php-cli,但是运行后可能会出现认证错误,不知道你的解决了没
Sorry, something went wrong.
需要web环境,把php放在web网站目录下运行,以natapp.php为例,建议使用php-cli运行,php-cli natapp.php --authtoken=xxxxx即可。提醒:1.php需要5.6以上,php还需要开启openssl扩展模块;2.在openwrt上似乎没有php这个命令,要使用php-cli或者php-cgi或者php-fcgi,当然这些软件可能是需要手动安装的,因为你配置php和web环境时可能没有配置这些模块;3.三个php文件支持三种服务器,ngrok的,我正在试着搭建这个服务器,毕竟有自己的服务器比较方便,还有sunny和natapp的服务器,他们都有免费服务器,运行对应的php客户端需要注册获取对应的隧道ID,以下提到的均为其免费服务器的使用情况,sunny的可以自己设置域名及http用户名密码,但是不是很稳定,natapp的不提供域名服务,会强制更换域名和端口,但是使用的阿里云的服务器,在国内使用相对稳定一些。感觉作者的php版本挺好的,对系统平台的依赖性相对go版本低很多,希望更多的人参与进来进行维护及开发。
No branches or pull requests
我的openwrt安装php后,无法运行php命令,不知道如何运行该php脚本
The text was updated successfully, but these errors were encountered: