cPanel & WHM Version 98 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

Transfer Tool to migrate PHP settings too

Marcelo Pedra shared this idea 4 years ago
Open Discussion

I, as a sysadmin, would love to see Transfer Tool copying the PHP settings that you usually would find in the "MultiPHP INI Editor" UI at WHM. This would save a lot of time, because currently you have to review every configuration detail for every installed PHP version in the new server.


It would also allow providers to standardize PHP settings throughout several servers by simply transfering the PHP settings with the Transfer Tool.

Replies (2)

photo
1

Currently the only (untested) way to accomplish this is to transfer over your EA4 profile, provision that profile, and then put the php.conf (/etc/apache2/conf.d/php.conf) in place.

photo
2

Yep.... But when time is a constraint, automation is more than welcomed :-)

Hope you can consider this to be included as a feature.


In case you're wondering, I can bet that some admins may not like or want this feature in place, so I'd vote for it to be added as a separate item in the Transfer Tool. So that, some admins will only transfer EA4 profiles, and others (hopefully a lot) will transfer the "php.ini" configurations too ;-) This feature will be really useful even if you just want to synchronize your php.ini settings without effecting their custom Apache/PHP modules bundled in any given server. It will greatly improve the current PHP base configuration.


Thanks!

photo
photo
1

I like the idea, and also I think that the running PHP version and FPM settings on MultiPHP Manager should be migrated as well (only if the same PHP version and FPM module are available on the other server)

photo
1

Yes, it should migrate PHP-FPM settings too, as it is part of the MultiPHP settings.

photo
Leave a Comment
 
Attach a file