First install php on your server

Then add the following in /usr/local/pf/conf/httpd.conf.d/httpd.aaa.tt
```
Listen 10000
LoadModule php5_module modules/libphp5.so

<FilesMatch \.php$>
    SetHandler application/x-httpd-php
</FilesMatch>

<VirtualHost *:10000>
    DocumentRoot /usr/local/pf/addons/example_external_auth
</VirtualHost>
```

Then restart the httpd.aaa process and this will be available on port 10000

Make sure you also open the necessary ports in iptables (`/usr/local/pf/conf/iptables.conf`)

Note that this should only be used for testing purposes and IS NOT made for production purposes
