Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,194,691 members, 7,955,597 topics. Date: Sunday, 22 September 2024 at 10:14 AM

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

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

Where Can I Learn Python in Lagos / Where Can One Learn Python In Enugu? / Guys Where Can I Learn Python In Lagos (2) (3) (4)

(1) (Reply)

Mod-python In Apache 2 On Debain 9 by jrjong: 10:56am On Jun 25, 2020
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)

2D Payment Gateway / Working Without A Host Or Domain / I Need Entry Level / Internship Offer

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 13
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.