₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,407 members, 8,511,694 topics. Date: Monday, 02 November 2026 at 08:13 AM

Toggle theme

Mod-python In Apache 2 On Debain 9 - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Mod-python In Apache 2 On Debain 9 (468 Views)

1 Reply

Mod-python In Apache 2 On Debain 9 by jrjong(op):
have tried by following a howto to enable mod-python in apache2 Hotmail Login 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'
Re: Mod-python In Apache 2 On Debain 9 by Kylekent59: 11:21am On Jun 25, 2020
jrjong:
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'
Isn't this datetime and time delta


python

def main():
today = date.today()
print ("Today's date is", today)

today = date.today()
print("Date components:", today.day, today.month, today.year)

if __name__ == "__main__:"
main()
1 Reply

Where Can I Learn Python in Lagos • Where Can One Learn Python In Enugu? • Who Teaches Python In Abeokuta? • 2 • 3 • 4

Wechat Account For Sale • Urgent Vacancy For Php Developer In Lagos • Just Created My Blog Right Now. What Do I Ned To Change