I am fairly new to php server administration, and I am performing a LAMP server migration. I installed php 5.3.3 using YUM on the new CentOS 6.3 server, but I copied the contents of php.ini and the php.d dir from the old server which had php 5.1.6. everything is working pretty well actually, but I wanted to know what would be best practice here. Should I update the modules in /usr/lib64/php/modules and if so, how should I do it?
Furthermore, if you are using mod_php how are the modules handled? Do they still get loaded the same as if you are using php standalone? Does apache just read in the php.ini and load the php modules from php.d?