Is 64-bit PHP better than 32-bit PHP? Is 64-bit preferred in linux?

Source: Internet
Author: User
Tags centos server
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.