htaccess with php_value not working

#1
Hello All,

We are using the latest Litespeed release with the following values in a .htaccess file in a users root directory:

php_value memory_limit 512M
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 600
php_value max_input_time 600

However, these values don't seem to be taking effect and the values remain as the defaults for php.ini.

Could you advise what might be the cause of this?

Thanks

David
 
#5
Hi webizen,

Thanks for that, none where ticked so it was using the default. I've checked all the options besides none now but that doesn't seem to have made a difference?

Thanks

David
 

webizen

Well-Known Member
#6
Have you done "graceful restart" to make the change effective? Create a phpinfo.php page if not done so and access it from browser to verify these php values (in section Configuration/PHP Core). Also make sure .htaccess file is in the same directory. If still the same, send in temporary server access via pm for further investigation.
 
#8
This issue has been addressed in our 4.0.19 build, have tested it on your server, works fine now.
Thanks for sorting this out and investigating so quickly, glad to be able to help identify a bug!

I shall look forward to the official release of 4.0.19 so we can roll it out on our other servers.
 
Top