LoadFile "/Users/vph/anaconda/lib/libpython3.6m.dylib"
LoadModule wsgi_module "/Users/vph/anaconda/lib/python3.6/site-packages/mod_wsgi-4.5.16-py3.6-macosx-10.7-x86_64.egg/mod_wsgi/server/mod_wsgi-py36.cpython-36m-darwin.so"
WSGIPythonHome "/Users/vph/anaconda"
sudo mod_wsgi-express install-module
LoadFile "/Users/vph/anaconda/lib/libpython3.6m.dylib"
LoadModule wsgi_module "/usr/libexec/apache2/mod_wsgi-py36.cpython-36m-darwin.so"
WSGIPythonHome "/Users/vph/anaconda"
LoadModule wsgi_module "/usr/libexec/apache2/mod_wsgi-py36.cpython-36m-darwin.so"
Server URL : http://localhost:8000/
Server Root : /tmp/mod_wsgi-localhost:8000:501
Server Conf : /tmp/mod_wsgi-localhost:8000:501/httpd.conf
Error Log File : /tmp/mod_wsgi-localhost:8000:501/error_log (warn)
Request Capacity : 5 (1 process * 5 threads)
Request Timeout : 60 (seconds)
Startup Timeout : 15 (seconds)
Queue Backlog : 100 (connections)
Queue Timeout : 45 (seconds)
Server Capacity : 20 (event/worker), 20 (prefork)
Server Backlog : 500 (connections)
Locale Setting : en_US.UTF-8
httpd: Syntax error on line 172 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/mod_wsgi-py36.cpython-36m-darwin.so into server: dlopen(/usr/libexec/apache2/mod_wsgi-py36.cpython-36m-darwin.so, 10): Library not loaded: @rpath/libpython3.6m.dylib\n Referenced from: /usr/libexec/apache2/mod_wsgi-py36.cpython-36m-darwin.so\n Reason: image not found
Server version: Apache/2.4.16 (Unix)
Server built: Jul 22 2015 21:03:09
Server's Module Magic Number: 20120211:47
Server loaded: APR 1.4.8, APR-UTIL 1.5.2
Compiled using: APR 1.4.8, APR-UTIL 1.5.2
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/usr"
-D SUEXEC_BIN="/usr/bin/suexec"
-D DEFAULT_PIDLOG="/private/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/private/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/private/etc/apache2/httpd.conf"
python -V
Python 3.6.1 :: Anaconda 4.4.0 (x86_64)
On 4 Jun 2017, at 4:50 AM, Vishnu Prasad <vishnu...@gmail.com> wrote:I download mod_wsgi and ran python setup.py install. As per your suggestion, am moving away from simple httpserver to Flask enabled one.I get following on running module-configLoadFile "/Users/vph/anaconda/lib/libpython3.6m.dylib"LoadModule wsgi_module "/Users/vph/anaconda/lib/python3.6/site-packages/mod_wsgi-4.5.16-py3.6-macosx-10.7-x86_64.egg/mod_wsgi/server/mod_wsgi-py36.cpython-36m-darwin.so"WSGIPythonHome "/Users/vph/anaconda"I got the following on running install-modulesudo mod_wsgi-express install-moduleLoadFile "/Users/vph/anaconda/lib/libpython3.6m.dylib"LoadModule wsgi_module "/usr/libexec/apache2/mod_wsgi-py36.cpython-36m-darwin.so"WSGIPythonHome "/Users/vph/anaconda"
My apache2 httpd.conf is :LoadModule wsgi_module "/usr/libexec/apache2/mod_wsgi-py36.cpython-36m-darwin.so"
If I start mod_wsgi, get following.Server URL : http://localhost:8000/Server Root : /tmp/mod_wsgi-localhost:8000:501Server Conf : /tmp/mod_wsgi-localhost:8000:501/httpd.confError Log File : /tmp/mod_wsgi-localhost:8000:501/error_log (warn)Request Capacity : 5 (1 process * 5 threads)Request Timeout : 60 (seconds)Startup Timeout : 15 (seconds)Queue Backlog : 100 (connections)Queue Timeout : 45 (seconds)Server Capacity : 20 (event/worker), 20 (prefork)Server Backlog : 500 (connections)Locale Setting : en_US.UTF-8
--
You received this message because you are subscribed to the Google Groups "modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to modwsgi+u...@googlegroups.com.
To post to this group, send email to mod...@googlegroups.com.
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.
On 5 Jun 2017, at 2:04 AM, Vishnu Prasad <vishnu...@gmail.com> wrote:Thanks Graham. Got my code ready @ https://github.com/vishnuprasadh/flaskdynamicimgprocessor. Will Perf test and update, was a very wise guidance from you.