1π
β
If your Apache installation has PHP installed, if using mod_wsgi-express
, simply provide the --with-php5
option.
I donβt track PHP versions and that option was added just to show could be done. If there are newer PHP versions then mod_wsgi-express
would need to be updated to know about them. If there are going to be multiple PHP versions, then perhaps needs to be generalised to --with-php
with a separate --php-version
option or have it auto detect which PHP version is installed.
You are best off jumping on the mod_wsgi mailing list to discuss changes.
π€Graham Dumpleton
1π
I believe you need something like this in your virtualhost configuration
#
# Cause the PHP interpreter to handle files with a .php extension.
#
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
This will tell apache to run php interpreter for php files.
π€user7370947
- [Answered ]-Django frontend and backend seperation for security
- [Answered ]-Understanding where to put the IPN reciever function in django-paypal
- [Answered ]-Access args in render function in django
- [Answered ]-Django Pillow install on Amazon EC2
Source:stackexchange.com