Forum Moderators: coopster
I think that my server support .htaccess but I have to edit my php.ini to add this lines (paths) but I cant edit that in my server cuz I dont have access!
Is there any way that I can edit my php.ini with php (ini_set) or what is the best way to make my script work!
Thnx a lot!
Gllanci
If you still receive the 500 error then your host is not allowing PHP directive overrides. Yes, they may still allow other overrides, but they are blocking any PHP-specific configuration directives. Yes, it is quite possible and there are many shared hosting providers that do so.
You may also set the include path in your script(s) if the .htaccess method isn't allowed because as stated before, this particular directive is of type PHP_INI_ALL. You can find more information on this directive and other ways to set it in the manual pages [php.net].