Regarding php file parsing, will apache directly process the. PHP file requested by the user after receiving the client request?
If no PHP code in the PHP file is pure HTML code, is it also handled by the PHP module parser? Or is it handled through APACHE?
Reply to discussion (solution)
Yes, it is still handled by php.
Yes, it is still handled by php.
I personally think it should be the beginning of a PHP parser, for example It is processed at the end. The remaining non-PHP is returned to APACHE, and then APACHE is returned to the customer directly.
According to your understanding, it is apache's explanation. ?
Apparently not!
It is explained by the php interpreter!
According to your understanding, is it apache?
Apparently not!
It is explained by the php interpreter!
My understanding is: PHP parser explanation After processing, apache is returned together with the results and non-PHP code. apache returns the results to the customer. Return directly without parsing
Non-php code is not executed (and cannot be executed), which is also part of the php parser function
First, he must identify the php code and then output it as is.
Non-php code is not executed (and cannot be executed), which is also part of the php parser function
First, he must identify the php code and then output it as is.
Thank you for posting.