Command for Piping Email to PHP Script
!#/usr/bin/php -q /home/readya9/cad-smtp/process-email.php
/home/readya9/cad-smtp/process-email.php
#!/usr/local/bin/php -q /home/readya9/cad-smtp/process-email.php
Obviously the path are not accurate for the PHP CLI but I cannot find anywhere online what this path should be on my shared in-motion server.
Hello Anonymous,
My apologies, as the previous response was not accurate. The PHP CLI can be accessed if you first create a php.ini file. Please see the following guide for more information on this process:
https://www.inmotionhosting.com/support/website/command-line-settings/
I apologize for any confusion regarding this.
Best Regards,
Alyssa K.