wk1 php Flashcards
Which of the following PHP handlers is used by default in an EasyApache 4 environment? Select one: a. CGI b. suPHP c. I don't know. d. FCGI e. PHP-FPM f. DSO
CGI
Which of the following statements are true?
Select one:
a. I don’t know.
b. PHP-FPM runs externally from Apache, and spawns additional PHP processes.
c. PHP-FPM runs internally with Apache, and spawns additional PHP processes.
d. PHP-FPM runs externally from Apache, and does not spawn additional PHP processes.
e. PHP-FPM runs internally with Apache, and does not spawn additional PHP processes.
PHP-FPM runs externally from Apache, and spawns additional PHP processes.
DEFAULT PHP: ea-php55 ea-php54 SAPI: dso ea-php55 SAPI: cgi ea-php56 SAPI: cgi ea-php70 SAPI: cgi Select one: a. /scripts/easyapache b. /scripts/phpconf --display c. I don't know. d. /usr/local/cpanel/bin/rebuild_phpconf --curent e. /usr/local/apache/bin/rpm_versions
/usr/local/cpanel/bin/rebuild_phpconf –curent
In an EasyApache 4 environment, which WHM interface page would you use to adjust the default system PHP handler for PHP version 7.2? Select one: a. MultiPHP Manager b. PHP Configuration Editor c. MultiPHP INI Editor d. I don't know. e. System Defaults
MultiPHP Manager
Which of the following most accurately describes a SAPI?
Select one:
a. I don’t know.
b. None of the above.
c. The plug-in used to allow developers to integrate services into remote applications.
d. The mechanism that controls the interaction between the “outside world” and the PHP engine.
e. A set of API calls used to provide a method of enforcing syntax consistency across multiple application development projects.
The mechanism that controls the interaction between the “outside world” and the PHP engine.
How does the DSO handler manage PHP child processes?
Select one:
a. DSO runs as its own process manager handling PHP requests with children processes.
b. DSO creates PHP child processes as a child of the Apache process handling the request.
c. DSO has been deprecated and is no longer provided by cPanel.
d. DSO does not produce PHP child processes because it runs internally to Apache.
e. I don’t know.
DSO does not produce PHP child processes because it runs internally to Apache.
Which of the following scripts would you use to adjust the default system PHP handler for a particular PHP version, on an EasyApache 4 environments? Select one: a. I don't know. b. restartsrv_php c. phpini d. None of the above. e. build_apache_conf
None of the above.