How do timers in workerman call external api,

I separated mvc from workerman, on two servers. Now the task requirement is to regularly call the method encapsulated in mvc in the timer of workerman, how to achieve it, the method of using native php access interface has been reported errors, there is no god to explain, online waiting, thank you! A good man is safe all his life

Jun.19,2021

php calls the external http interface with curl.
if an error is reported, the curl extension may not be installed.

Menu