Now the project is divided into two parts. One part is written in C language, and the other part is written in PHP. How to call the C interface in PHP? Have you ever heard that you can make calls using the server's protocol? Can you explain it in detail?
Now the project is divided into two parts. One part is written in C language, and the other part is written in PHP. How to call the C interface in PHP? Have you ever heard that you can make calls using the server's protocol? Can you explain it in detail?
Use socket to implement, the same machine can use unix socket, different machines can use tcp socket
Can be called via ice