I wanted to use the AddType directive in an .htaccess file. So I used
phpinfo() to get the path info for PHP. I found this line:
PATH /bin:/usr/bin
So I tried this, but it did not work:
AddType application/x-php .htm Action application/x-php
/bin:/usr/bin/php
AddType application/x-php .html Action application/x-php
/bin:/usr/bin/php
I also tried this:
AddType application/x-php .htm Action application/x-php /usr/bin/php
AddType application/x-php .html Action application/x-php /usr/bin/php
I also tried this:
AddType application/x-php .htm Action application/x-php /bin:/usr/bin/
AddType application/x-php .html Action application/x-php
/bin:/usr/bin/
I tried a few other variations as well. Nothing.
Then I went looking for a file called "php".
I looked in /bin/ but it wasn't there.
I looked in /usr/bin/, but it wasn't there.
Does it go by another name? Why isn't it where PATH said it would be?