Disciplina: TI - Desenvolvimento de Sistemas
Banca: IF-SUL Minas
Orgão: IF-SUL Minas
TEXTO 1: PHP Manual: Installation and Configuration - General Installation Considerations
Before starting the installation, first you need to know what do you want to use PHP for. There are three main fields you can use PHP, as described in the What can PHP do? section:
!$ \bullet !$ Websites and web applications (server side scripting)
!$ \bullet !$ Command line scripting
!$ \bullet !$ Desktop (GUI) applications
For the first and most common form, you need three things: PHP itself, a web server and a web browser. You probably already have a web browser, and depending on your operating system setup, you may also have a web server (e.g. Apache on Linux and macOS; IIS on Windows). You may also rent webspace at a company. This way, you don't need to set up anything on your own, only write your PHP scripts, upload it to the server you rent, and see the results in your browser.
[…]
PHP Manual: General Installation Considerations. 2001 2019. Disponível em: <https://www.php.net/manual/en/install.general.php>. Acesso em: 10 maio 2019.
TEXTO 2: PHP Manual: Security - Introduction
PHP is a powerful language and the interpreter, whether included in a web server as a module or executed as a separate CGI binary, is able to access files, execute commands and open network connections on the server. These properties make anything run on a web server insecure by default. PHP is designed specifically to be a more secure language for writing CGI programs than Perl or C, and with correct selection of compile time and runtime configuration options, and proper coding practices, it can give you exactly the combination of freedom and security you need.
As there are many different ways of utilizing PHP, there are many configuration options controlling its behaviour. A large selection of options guarantees you can use PHP for a lot of purposes, but it also means there are combinations of these options and server configurations that result in an insecure setup.
The configuration flexibility of PHP is equally rivalled by the code flexibility. PHP can be used to build complete server applications, with all the power of a shell user, or it can be used for simple server side includes with little risk in a tightly controlled environment. How you build that environment, and how secure it is, is largely up to the PHP developer.
[...]
PHP Manual: Security Introduction. 2001 2019. Disponível em: <https://www.php.net/manual/en/security.intro.php>. Acesso em: 10 maio 2019.
Em relação ao conteúdo dos dois textos, NÃO é possível afirmar que: