Jak uruchomienić Apache wraz z mod_python?
: 09 sierpnia 2009, 21:37
Python zainstalowany, mod_python również
wersja: Python 2.5.4
python.load podlinkowany.
python.load -> ../mods-available/python.load
phpinfo daje coś takiego:
Niby python załadowany. Lecz niestety nic w .py nie idzie uruchomić?
Jeszcze logi z Apache2:
Proszę o pomoc.
Z góry dziękuję.
wersja: Python 2.5.4
python.load podlinkowany.
python.load -> ../mods-available/python.load
phpinfo daje coś takiego:
Kod: Zaznacz cały
Loaded Modules core mod_log_config mod_logio prefork http_core mod_so mod_alias mod_auth_basic mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_deflate mod_dir mod_env mod_mime mod_negotiation mod_php5 mod_python mod_rewrite mod_setenvif mod_status
Jeszcze logi z Apache2:
Kod: Zaznacz cały
[Sun Aug 09 21:29:38 2009] [notice] caught SIGTERM, shutting down
[Sun Aug 09 21:29:39 2009] [warn] module python_module is already loaded, skipping
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/suhosin.so' - /usr/lib/php5/20060613+lfs/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Sun Aug 09 21:29:39 2009] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Sun Aug 09 21:29:39 2009] [notice] mod_python: using mutex_directory /tmp
[Sun Aug 09 21:29:39 2009] [notice] Apache/2.2.12 (Debian) PHP/5.2.10-2 with Suhosin-Patch mod_python/3.3.1 Python/2.5.4 configured -- resuming normal operations
Z góry dziękuję.