Cartika

Welcome, Guest Login

Support Center

PHP configurations & settings on Virtualmin + Webmin

Last Updated: Sep 28, 2017 03:56AM EDT
If you want to change PHP configurations e.g. change any php veriable like upload_max size you need to findout how many php version are installed and setup on virtualmin and which version of the php is currently being used.
You can do that by going to VirtualMin > Search bar at the end of the Left Pane > type in php version  as shown from http://ca-files1.cologlobal.com/public.php?service=files&t=jdCfCwGZ2ZvZEOq&download

Please Note that each sub-directory can be configured and setup with different PHP version so make sure you are modifying the php settings properly for correct version or correct subdirectory / subdomain.

Once you are there you can easily modify can do it yourself from VirtualMin > Search bar at the end of the Left Pane > type in php config > you will see the versions installed and their config files as shown from http://ca-files1.cologlobal.com/index.php/s/mVzFzziC3MZvgSs
Then you can goto modify php configurations > http://ca-files1.cologlobal.com/index.php/s/KZUJLctQagpQdNe

And you can set the configurations from there, please make sure there are no typos or it will break php on your site. But first you need to make sure which php version your site is using you can see that from phpmyadmin itself (from phpmyadmin's homepage) as shown from http://ca-files1.cologlobal.com/index.php/s/GGWCW8weH8WrH3L

Please check now as the php_max and memory limits have now been raised as shown from the command trace below if there is magento installed on the server it will disable phpinfo pages and you cant see or verify it from there so you can always use:

root@server ~]# /opt/remi/php56/root/usr/bin/php -i | grep upload_max
upload_max_filesize => 2048M => 2048M
PHP Warning:  Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in Unknown on line 0
[root@server ~]# /opt/remi/php56/root/usr/bin/php -i | grep post_
always_populate_raw_post_data => 0 => 0
enable_post_data_reading => On => On
post_max_size => 2048M => 2048M
PHP Warning:  Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in Unknown on line 0
[root@server ~]# /opt/remi/php56/root/usr/bin/php -i | grep upload_
PHP Warning:  Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in Unknown on line 0
upload_max_filesize => 2048M => 2048M

More Documentation on how to use VirtualMin + WebMin can be found from following links:

https://doxfer.webmin.com/Webmin/Main_Page
https://doxfer.webmin.com/Webmin/Virtualmin_Features
https://doxfer.webmin.com/Webmin/Webmin_Modules
 

Contact Us

sales@cartika.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete