Organizational Research By

Surprising Reserch Topic

Question:Minimize Loadable PHP Modules (Dynamic Extensions)


PHP supports "Dynamic Extensions". By default, RHEL loads all the extension modules found in /etc/php.d/ directory. To enable or disable a particular module, just find the configuration file in /etc/php.d/ directory and comment the module name. You can also rename or delete module configuration file. For best PHP performance and security, you should only enable the extensions your webapps requires. For example, to disable gd extension, type the following commands:
# cd /etc/php.d/
# mv gd.{ini,disable}
# /sbin/service httpd restart
To enable php module called gd, enter:
# mv gd.{disable,ini}
# /sbin/service httpd restart
asked Sep 13, 2013 in PHP by rajesh
edited Sep 12, 2013
0 votes
33 views



Related Hot Questions



Government Jobs Opening


...