php.ini - openlitespeed [7.1.9]

#1
Hi, I have installed php 7.1.9, and everything works fine, now I make changes in the php.ini and restart openlitespeed and the changes do not execute them,

phpinfo.php:

Loaded Configuration File /usr/local/lsws/lsphp71/etc/php.ini

Example:

upload_max_filesize = 100M ----> No Works.
 
#5
# grep upload_max_filesize /usr/local/lsws/lsphp71/etc/php.d/*.ini --> Nothing

# grep upload_max_filesize /usr/local/lsws/lsphp71/etc/*.ini --> upload_max_filesize = 100M

it's strange I do not understand why it does not take the value of php.ini

Used VirtualBox, Centos7 Minimal, OpenLiteSpeed 1.4.27, Php 7.1.9, MariaDb, i do not have anything else installed,

Regards,
 

Pong

Administrator
#8
seems a little wired. change over /usr/local/lsws/lsphp71/etc/php.ini should work. Did you start openlitespeed successfully? Can you make sure server process ID change after server restart?
If still problem , may need your root ssh access to check
 
#9
I have reinstalled the Centos7 Minimal virtual machine from Zero, just install OpenLiteSpeed with the default php version 5.6.14, change php.ini /usr/local/lsws/admin/conf/php.ini, getting the same result, does not take into account changed values, Url PhpInfo: http://190.142.101.87/phpinfo.php, this seems like a bug,

Regards,

Environment:

Windows 10, VirtualBox 5.1.28 r117968, Centos 7 Minimal, OpenLiteSpeed 1.4.27, Php Default 5.6.14.
 
Last edited:
#10
just now got chance to install fresh OLS 1.4.27, lsphp 7.1.9 on centOS 7 box, edit /usr/local/lsws/lsphp71/etc/php.ini, change "upload_max_filesize = 2M" to "upload_max_filesize = 100M", phpinfo.php page reflect the change without any problem. so maybe there is some special stuff in the env.
 
Top