PhpStudy integrates the comprehensive configuration of a variety of web services, such as the classic apache & amp; 43; mysql, nginx & amp; 43; mysql, etc. apache & amp; 43; in mysql, you want to use the lua script, so you can use the configuration options to enable the lua module. for example, after such configuration, restart the module.
PhpStudy integrates the comprehensive configuration of a variety of web services, such as the classic apache + mysql, nginx + mysql, etc. when using apache + mysql, you want to use the lua script, so you can use the configuration options, enable the lua module, as shown in figure
However, after such configuration, the lua script cannot be used normally when the apache service is restarted. The lua test code is as follows:
require "apache2"function handle(r) r.content_type = "text/html" r:write "Hello World from mod_lua." return apache2.OKend
However, this result was obtained when the browser was opened. See
Release + tsHIoc/Uyr61vcHL5K/release + vq25/bLp1dKjrL + Release/release + rcTa1sPBy2x1YbXExKO/release + Release/release + mho8/Cw + release + Release/release + Release m0psDtz + keys/s7xoaM8L3A + keys/bOjo6y94bn7yOfPws28oaM8L3A + CjxwPjxpbWcgc3JjPQ = "http://www.2cto.com/uploadfile/Collfiles/20131209/20131209104641156.jpg" alt = "">
So far, phpstudy has completed the lua module configuration.