Jun-08-2020, 11:13 AM
I have tried by following a howto to enable mod-python in apache2 on debian 9
I followed how to test if it was succesful , and at this stage cannot find a succesfull end
at the moment apache log tells me
[Mon Jun 08 15:41:36.065959 2020] [:error] [pid 7631:tid 140025935138880] python_init: Python version mismatch, expected '2.7.5+', found '2.7.13'.
[Mon Jun 08 15:41:36.066045 2020] [:error] [pid 7631:tid 140025935138880] python_init: Python executable found '/usr/bin/python'.
[Mon Jun 08 15:41:36.066049 2020] [:error] [pid 7631:tid 140025935138880] python_init: Python path being used '/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Mon Jun 08 15:41:36.066056 2020] [:notice] [pid 7631:tid 140025935138880] mod_python: Creating 8 session mutexes based on 6 max processes and 25 max threads.
[Mon Jun 08 15:41:36.066059 2020] [:notice] [pid 7631:tid 140025935138880] mod_python: using mutex_directory /tmp
[Mon Jun 08 15:41:37.004647 2020] [mpm_event:notice] [pid 7631:tid 140025935138880] AH00489: Apache/2.4.25 (Debian) mod_python/3.3.1 Python/2.7.13 configured -- resuming normal operations
[Mon Jun 08 15:41:37.004794 2020] [core:notice] [pid 7631:tid 140025935138880] AH00094: Command line: '/usr/sbin/apache2'
I followed how to test if it was succesful , and at this stage cannot find a succesfull end
at the moment apache log tells me
[Mon Jun 08 15:41:36.065959 2020] [:error] [pid 7631:tid 140025935138880] python_init: Python version mismatch, expected '2.7.5+', found '2.7.13'.
[Mon Jun 08 15:41:36.066045 2020] [:error] [pid 7631:tid 140025935138880] python_init: Python executable found '/usr/bin/python'.
[Mon Jun 08 15:41:36.066049 2020] [:error] [pid 7631:tid 140025935138880] python_init: Python path being used '/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Mon Jun 08 15:41:36.066056 2020] [:notice] [pid 7631:tid 140025935138880] mod_python: Creating 8 session mutexes based on 6 max processes and 25 max threads.
[Mon Jun 08 15:41:36.066059 2020] [:notice] [pid 7631:tid 140025935138880] mod_python: using mutex_directory /tmp
[Mon Jun 08 15:41:37.004647 2020] [mpm_event:notice] [pid 7631:tid 140025935138880] AH00489: Apache/2.4.25 (Debian) mod_python/3.3.1 Python/2.7.13 configured -- resuming normal operations
[Mon Jun 08 15:41:37.004794 2020] [core:notice] [pid 7631:tid 140025935138880] AH00094: Command line: '/usr/sbin/apache2'