I used to use a 32-bit PHP development machine. Windows and centos are both 64-bit servers. I wonder if 64-bit PHP has advantages over 32-bit PHP? Is it necessary to upgrade to 64-bit? Will there be pitfalls? After searching for a long time, I did not find any satisfactory answers to ask. please kindly advise that you have been using a 32-bit PHP environment before.
Both the development machine Windows and the server centos are 64-bit
I wonder if 64-bit PHP has advantages over 32-bit PHP? Is it necessary to upgrade to 64-bit? Will there be pitfalls?
After searching for a long time, I did not find any satisfactory answers. please kindly advise me.
Reply content:
I used to use a 32-bit PHP environment.
Both the development machine Windows and the server centos are 64-bit
I wonder if 64-bit PHP has advantages over 32-bit PHP? Is it necessary to upgrade to 64-bit? Will there be pitfalls?
After searching for a long time, I did not find any satisfactory answers. please kindly advise me.
We recommend that you use PHP 7x64 on the CentOS server and enable Opcache.
The running efficiency of x64 is higher than that of x84.
For local debugging, use packages such as XAMPP for convenience.