Ask for advice on the asynchronous method of php+apache web server in ubuntu system does not execute callback
无中生酉
无中生酉 2020-06-13 16:15:19
0
2
1064

System environment: Ubuntu system php apache2 mysql

Problem: All asynchronous methods in the browser post, get, etc. system do not execute callbacks. The code running on server2008 is normal, and the server receives the request data. , and after executing the PHP code, exit(json_encode returns to the front end. You can also see the returned json data in the console, but the callback is not executed. I would like to ask if there are any missing modules in my Linux that are not installed or configured somewhere.

无中生酉
无中生酉

reply all (2)
无中生酉

Resolved, thank you for your reply.

    青Blue

    I don’t understand the problem you want to express. If switching environments causes problems with the originally executable code, it is recommended to check whether the PHP version is consistent. Your statement above did not mention the PHP version. In addition, check PHP expansion and disabled functions. Depending on the configuration, these default configurations may be inconsistent on different platforms and different versions

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!