Reputation: 45
I'm trying to set up Zend Loader but I need to set up
zend_loader.license_path=
in the php.ini. Sadly my server provider doesn't allow the editing of the php.ini, I'm trying to set it up in my .htaccess file. I tried :
php_value zend_loader.license_path /licensefiles/polski.zl
but it doesn't work. Using
php_value zend_loader.license_path=/licensefiles/polski.zl
gives me a 500 internal error
Any ideas how I could get it to work ?
Upvotes: 0
Views: 666
Reputation: 2176
Your server provider may also be preventing you from setting these kinds of values via htaccess files.
Try also putting the path in quotes:
php_value zend_loader.license_path "/licensefiles/polski.zl"
Once you have set the value, run the phpinfo() function and verify that it's definitely not being picked up. If not, try and change other php settings via the same method and see if those are/aren't being picked up.
Even though your server provider may block setting of values via htaccess they may provide another way for you to set parameters like this. For example, some server providers allow you to drop in a local "php.ini" file into your hosting directory which will be picked up and processed. Check with them.
Upvotes: 1