I am using Django 1.8 on CentOS 6.7 with Apache . Server Version: Apache / 2.2.15 (Unix).
I followed the steps in How to Serve Django Applications with Apache and mod_wsgi on CentOS 7.
But in the last step, when I start the Apache server with the command: service httpd start
instead of systemctl start httpd
beacuse, I have Centos 6.7 and not CentOS 7 according to the tutorial.
It produces the following error:
Starting httpd: Syntax error on line 10 of /etc/httpd/conf.d/django.conf:
Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a module ot included in the server configuration
you can check django.conf here:
Alias /static /home/ftpispy/ispy/static
<Directory /home/ftpispy/ispy/static>
Require all granted
</Directory>
<Directory /home/ftpispy/ispy/ispy>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
WSGIDaemonProcess ispy python-path=/home/ftpispy/ispy:/home/ftpispy/ispy/venv/lib/python2.7/site-packages
WSGIProcessGroup ispy
WSGIScriptAlias / /home/ftpispy/ispy/ispy/wsgi.py
Thanks in advance. Offer any other deployment option on CentOS 6.7 with djnago 1.8 .