php_admin_value ignored if value's length is 1006 or more

#1
Lets say you have below php_admin_value directive set in "php.ini Override".

php_admin_value disable_functions vbktueelqgepprtaemhonhpwdpibgcztsntjvthjioymqnhowjosiygapzkvpbbxacvwsncgkkdujbmbmcrynatajdrpotvmfxrgqhxcsafmmtgtyqjvugtpdyujvkcwnlvulwfwwagjughuubhycbpznylytbhxztjzhtdghwfgjncylcoeshfbwhcqcdxlntzafntrxigtnmhxcouhfupwlfosnjmxjdyworcjepvclxvhebnctysudcccicxgwgsttwjomqqujnavppdmogsasbcxcbucrlljhwgpheycdtmbuomfrfpdmomyvdailmlatkcchrnpcljwcfhhozdzmdxmjevxpzeyngrazxyzztqhtpnawcdcoggxiybedmtfxxmgdcndzqtsgonhsfnjvhnufmkjffdhytlhjoflximiqisuuxduqaobctzfsgbgyuxkxwhyrdqenkfmmlfwdnxqjzmcemhdtqrijlbkicasfhqxvmnobqpuewddkgudeisjrzjqskepkzdwpwfkedpiskldmsstneousvgybmrnztiutpiupaonchulvlbdgxxycqezbzvnduyttoixqdlipvjakkvgisqvleqsriqkauipkraezwdzzyhhpgqcnunfpqujdedcynpeuxcngwhqfsizuzzqcpefiqvloqptmzflntlacfdcffpodmohecafmdczajldpwrvjbflefoehjqnpioarlyqqnvldfeimozfhuyoumaihoftruvpbvecsazhfhabhnrivezmceosrepmlnkitvazoljfaofwhlknhgsrunwsepkznhwneuwswtoypgpzrztlpwugerwhcvsvdowoelzazllceslifpjlaujeclkfhmrqektwtjrcvvmraickkhdjmjnosylnwlnhvzzplltimcyiebkqflbjcjgljdepztnfrnkmtqbdyhztxdbqefzbjbzjdbyolahetajahigackroa

Above works fine.

Now add extra character, like 'z', to the end and restart lsws.

Take a look at value of disable_functions using get_ini or phpinfo. It does not return the value you've specified.

Confirmed in lsws ver 1.7.4
 

David

Active Member
#4
OK.
I have changed the plan conf long line from 1024 bytes to 4096 bytes several days before, it fixed a part of your issue.
I will check it tomorrow.
 
Top