wk1 php Flashcards

1
Q
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
A

CGI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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.

A

PHP-FPM runs externally from Apache, and spawns additional PHP processes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
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
A

/usr/local/cpanel/bin/rebuild_phpconf –curent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
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
A

MultiPHP Manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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.

A

The mechanism that controls the interaction between the “outside world” and the PHP engine.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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.

A

DSO does not produce PHP child processes because it runs internally to Apache.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
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
A

None of the above.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly