Why Facebook's hiphop to convert PHP to C + + instead of converting PHP into a compiled language ... Is it faster to execute the compiled file directly?
Reply content:The first thing to do is to look at the whole history: Facebook has launched the
Why should facebook's hiphop convert php to C ++ instead of a compiled language... Isn't it faster to directly execute compiled files? Why should facebook's hiphop convert php to C ++ instead of a compiled language... Isn't it faster to directly
Issue background:Under normal conditions Lamp installation order is:linux-> apache-> mysql-> PHPPHP If you want to connect to MySQL at compile time need to use the MySQL header files and library files.PHP to connect Mysql need to use mysql.so
Brief introductionOpCode is a PHP compiled binary code, the generated opcode as an intermediate language, can help to implement the PHP source code is not open source, of course, this code is also easy to decompile, but for some simple scenes is
The previous blog post describes how to build a lamp in the way of compiling, here I am no longer one by one description, I here in detail about PHP in the way of FPM work:If you want to let the compiled PHP support MCrypt extension, here in
AOP is required in the project using the Runkit module, but the development environment for the team members is Windows, and the Runkit module does not provide DLL extensions in the Windows environment and compiles itself only.
The following is a
AOP is required in the project using the Runkit module, but the development environment for the team members is Windows, and the Runkit module does not provide DLL extensions in the Windows environment and compiles itself only.The following is a
Several PHP server architectures are strongly recommended !!! I found a good article and introduced in detail several architectures of the current PHP Server. I specially reprinted it. I strongly recommend it !!? Nginx + PHP + PHP-FPM (FastCGI) on
This article focuses on the experiment where PHP connects httpd to work in an fpm manner. In the case of PHP's FPM mode, the simple point is that PHP can serve as a standalone server instead of working as a HTTPD program module in the same way as in
The PHP interview questions compiled by NLP are correct. it should not be a problem to find 78k. someone always asks me for these questions and asks me to answer them... now let's get it done. if you can do it well, we suggest you give the salary
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.