首先我用python 3.5安装了python 3.5和mod_wsgi。它工作正常。然后卸载python 3.5和mod_wsgi。
我再次安装了python 2.7和mod_wsgi。然后我常常检查httpd -t
我收到了以下错误。
我正在使用简易apache 2.2 / 2.4,cpanel服务器具有CentOS版本6.7
httpd -t
httpd: Syntax error on line 28 of /usr/local/apache/conf/httpd.conf: Syntax error on line 1048577 of /usr/local/apache/conf/includes/pre_main_global.conf: Cannot load /usr/local/apache/aast_cms_modules/mod_wsgi.so into server: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory
任何解决方案都应该受到赞赏..