mod-python in apache2 on debian 9
by xstation108 from LinuxQuestions.org on (#54DX9)
I am trying to enable mod-python in apache2 in debian 9
when i check the error log i get this output
[Sun Jun 07 20:09:40.067593 2020] [:error] [pid 4892:tid 140605712928832] python_init: Python version mismatch, expected '2.7.5+', found '2.7.13'.
[Sun Jun 07 20:09:40.067727 2020] [:error] [pid 4892:tid 140605712928832] python_init: Python executable found '/usr/bin/python'.
[Sun Jun 07 20:09:40.067733 2020] [:error] [pid 4892:tid 140605712928832] 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'.
[Sun Jun 07 20:09:40.067742 2020] [:notice] [pid 4892:tid 140605712928832] mod_python: Creating 8 session mutexes based on 6 max processes and 25 max threads.
[Sun Jun 07 20:09:40.067745 2020] [:notice] [pid 4892:tid 140605712928832] mod_python: using mutex_directory /tmp
[Sun Jun 07 20:09:41.005466 2020] [mpm_event:notice] [pid 4892:tid 140605712928832] AH00489: Apache/2.4.25 (Debian) mod_python/3.3.1 Python/2.7.13 configured -- resuming normal operations
[Sun Jun 07 20:09:41.005617 2020] [core:notice] [pid 4892:tid 140605712928832] AH00094: Command line: '/usr/sbin/apache2'
have I been successful


when i check the error log i get this output
[Sun Jun 07 20:09:40.067593 2020] [:error] [pid 4892:tid 140605712928832] python_init: Python version mismatch, expected '2.7.5+', found '2.7.13'.
[Sun Jun 07 20:09:40.067727 2020] [:error] [pid 4892:tid 140605712928832] python_init: Python executable found '/usr/bin/python'.
[Sun Jun 07 20:09:40.067733 2020] [:error] [pid 4892:tid 140605712928832] 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'.
[Sun Jun 07 20:09:40.067742 2020] [:notice] [pid 4892:tid 140605712928832] mod_python: Creating 8 session mutexes based on 6 max processes and 25 max threads.
[Sun Jun 07 20:09:40.067745 2020] [:notice] [pid 4892:tid 140605712928832] mod_python: using mutex_directory /tmp
[Sun Jun 07 20:09:41.005466 2020] [mpm_event:notice] [pid 4892:tid 140605712928832] AH00489: Apache/2.4.25 (Debian) mod_python/3.3.1 Python/2.7.13 configured -- resuming normal operations
[Sun Jun 07 20:09:41.005617 2020] [core:notice] [pid 4892:tid 140605712928832] AH00094: Command line: '/usr/sbin/apache2'
have I been successful