Htscanner allows one to use htaccess-like files to configure PHP on a per-directory basis, just like Apache's htaccess. It is especially useful with fastcgi. See README.SLACKWARE for configuration information.