走同样的路,发现不同的人生
Use the exec function in your backend php to run this script For example: exec("/bin/python /xxxx/xxxx/xxx/xxx.py");The premise is that this is not disabled in your php.ini exec function
exec
lz You can take a look at flask and bind the service to a specific port and url to provide it to other languages
1.python name.py2.gunicon
Use the
exec
function in your backend php to run this scriptFor example:
exec("/bin/python /xxxx/xxxx/xxx/xxx.py");
The premise is that this is not disabled in your php.ini exec function
lz You can take a look at flask and bind the service to a specific port and url to provide it to other languages
1.python name.py
2.gunicon