compare php versions from old server and new one

 

ssh -l root IP_address_old_server  php -i > php_versions.txt

ssh -l root IP_address_new_one  php -i >> php_versions.txt

and now you can analyze outputs:

cat php_versions.txt | sort | uniq -u

 

Leave a Reply

Your email address will not be published. Required fields are marked *