Prev | Current Page 127 | Next

W. Jason Gilmore

"Beginning PHP and MySQL: From Novice to Professional"


This is an indicator of the provider??™s lack of understanding regarding the PHP
language and community and therefore you should avoid such a provider.
Only providers allowing the standard .php extension should be considered.
4. What restrictions are placed on PHP-enabled scripts? As you learned earlier
in this chapter, PHP??™s behavior and capabilities can be controlled through the
php.ini file. Some of these configuration features were put into place for the
convenience of hosting providers, who may not always want to grant all of
PHP??™s power to its users. Accordingly, some functions and extensions may be
disabled, which could ultimately affect what features you??™ll be able to offer on
your Web site.
Additionally, some providers demand all PHP-enabled scripts are placed in a
designated directory, which can be tremendously inconvenient and of questionable
advantage in terms of security considerations. Ideally, the provider
will allow you to place your PHP-enabled scripts wherever you please within
the designated account directory.
CHAPTER 2 ?–  CONFIGURING YOUR EN V IRONMENT 53
5. What restrictions are placed on using Apache .htaccess files? Some thirdparty
software, most notably Web frameworks (see Chapter 24), requires that a
feature known as URL rewriting be enabled in order to properly function;
however, not all hosting providers allow users to tweak Apache??™s behavior through
special configuration files known as .


Pages:
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139