Post by nelsonelias on Feb 22, 2024 3:23:15 GMT -7
PHP-FPM stands for FastCGI Process Manager and is a program that has the function of translating PHP when running a website for a web server . PHP-FPM was formed based on the extension of CGI and is currently chosen by a large number of users. What is the function ofLet'sfind out with Mat Bao ! What is PHP-FPM? PHP-FPM is the most commonly used PHP interpreter software today Basically, PHP-FPM has the function of optimizing the information processing process of web servers, supporting the fastest processing of information from many websites at the same time. With fast PHP script processing speed and optimization features for large websites, helping to increase traffic, PHP-FPM is gradually "overtaking" the familiar Apache + FastCGI . What is CGI? CGI, short for Common Gateway Interface, is a programming software that connects the server and the program, based on information specification formats.
What is php-fpm? CGI is the first programming software in creating dynamic websites CGI is the first programming software in creating dynamic websites Besides, CGI programming software is also responsible for building programs from websites. After receiving data from websites in HTML format, this software will transmit that data through the Internet portal to the user's computer. What is FastCGI? FastCGI is a protocol that extends from CGI. The main purpose of FastCGI is to optimize web server processing . At the same time, it helps the server process multiple requests from the website British Student Phone Number List at the same time. FastCGI will run with less CPU usage and achieve speeds close to DSO . FastCGI can use opcode cachers like eAccelerator to load web pages faster. Other types of PHP Handlers If you only know about “What is PHP-FPM?” or “definition of CGI” or “What is FastCGI?”, you won't really understand how it works. To do that, you need to know some other PHP Handlers.
Include: What is DSO? DSO is known as mod_php and is an older configuration version of the PHP Handler. However, DSO is the fastest Handler. It runs PHP as an Apache Module. That means the PHP Scripts will run under the Apache user. That is user 'nobody'. Disadvantages of DSO : All files created from PHP script will be owned by user 'nobody'. It will not be readable from the web. This is quite common with WordPress users . If they use the file upload feature through the WordPress Interface or use the auto update feature, it will fail with DSO . Security issue : This lies in creating the file under the name of user 'nobody'. What if a hacker finds a vulnerability in a PHP script ? They can execute a file with the same permissions as system files that are marked as 'nobody'. This gives hackers the ability to edit other system files. To combat this, you must regularly update PHP to the latest versions .
What is php-fpm? CGI is the first programming software in creating dynamic websites CGI is the first programming software in creating dynamic websites Besides, CGI programming software is also responsible for building programs from websites. After receiving data from websites in HTML format, this software will transmit that data through the Internet portal to the user's computer. What is FastCGI? FastCGI is a protocol that extends from CGI. The main purpose of FastCGI is to optimize web server processing . At the same time, it helps the server process multiple requests from the website British Student Phone Number List at the same time. FastCGI will run with less CPU usage and achieve speeds close to DSO . FastCGI can use opcode cachers like eAccelerator to load web pages faster. Other types of PHP Handlers If you only know about “What is PHP-FPM?” or “definition of CGI” or “What is FastCGI?”, you won't really understand how it works. To do that, you need to know some other PHP Handlers.
Include: What is DSO? DSO is known as mod_php and is an older configuration version of the PHP Handler. However, DSO is the fastest Handler. It runs PHP as an Apache Module. That means the PHP Scripts will run under the Apache user. That is user 'nobody'. Disadvantages of DSO : All files created from PHP script will be owned by user 'nobody'. It will not be readable from the web. This is quite common with WordPress users . If they use the file upload feature through the WordPress Interface or use the auto update feature, it will fail with DSO . Security issue : This lies in creating the file under the name of user 'nobody'. What if a hacker finds a vulnerability in a PHP script ? They can execute a file with the same permissions as system files that are marked as 'nobody'. This gives hackers the ability to edit other system files. To combat this, you must regularly update PHP to the latest versions .