How to install the PHP proxy on EC2 (Amazon Linux 2)
slead opened this issue · 1 comments
slead commented
I'm a novice at Linux admin issues so I could use some advice on how to install the PHP version of the proxy on an AWS EC2 (Amazon Linux 2) machine.
This is possibly related to #372 (?)
- I've configured a new EC2 instance and installed LAMP
- I've verified that PHP is working
- I installed the esri-resource-proxy using
git clone
into/var/www/html/resource-proxy/
and am working in the PHP directory - the proxy verification script shows that everything should be OK (except that the config file is visible)
- but the proxy fails so presumably there's something else going wrong
I note that the proxy_log.log
file is never created although the directory is writeable. Here is the directory listing (these files are unchanged after the git clone
):
I added the following to /etc/httpd/conf/httpd.conf
:
<IfModule php5_module>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
</IfModule>
Thanks for any advice as to why the PHP proxy isn't working correctly.
andygup commented
Closing. This repo is no longer maintained and will be archived shortly.