Saved Bookmarks
| 1. |
Solve : PHP modules? |
|
Answer» I'm curious why some tutorials offer more PHP EXTENSIONS while some offer fewer? Why is that?Laziness...As I see it, some tutorials tell people to install a bunch of useless PHP extensions...If that's how you see it then there it is...I was looking for an answer from advanced users, as I'm a beginner... Quote from: xnux on July 11, 2012, 06:40:10 PM As I see it, some tutorials tell people to install a bunch of useless PHP extensions... Because they aren't useless, under most circumstances. What "useless PHP extensions" are you referring to?memcache, ming, ps, xsl, tidy, sqlite, snmp, recode, intl, pear, mcrypt for example. Memcache might be useful if the tutorial also spoke about how to configure it, I believe it's even disabled by default.I'm usually utilising PHP from a dedicated web server running CentOS/Ubuntu Server/Debian or some such. I tend to do a VANILLA PHP install, then add PHP modules as the need arises, using the distribution's package manager of choice. Here are the packages INSTALLED on one of my development SERVERS, by WAY of example: Code: [Select]php.x86_64 php-channel-ezc.noarch php-channel-phpunit.noarch php-channel-symfony.noarch php-cli.x86_64 php-common.x86_64 php-devel.x86_64 php-ezc-Base.noarch php-ezc-ConsoleTools.noarch php-gd.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mcrypt.x86_64 php-mysql.x86_64 php-odbc.x86_64 php-pdo.x86_64 php-pear.noarch php-pecl-xdebug.x86_64 php-phpunit-File-Iterator.noarch php-phpunit-PHP-CodeCoverage.noarch php-phpunit-PHP-Invoker.noarch php-phpunit-PHP-Timer.noarch php-phpunit-PHP-TokenStream.noarch php-phpunit-PHPUnit.noarch php-phpunit-PHPUnit-MockObject.noarch php-phpunit-Text-Template.noarch php-soap.x86_64 php-symfony-YAML.noarch php-xml.x86_64 php-xmlrpc.x86_64 Meanwhile, one of my application servers (singe web app running) has a more modest list: Code: [Select]php52.x86_64 php52-bcmath.x86_64 php52-cli.x86_64 php52-common.x86_64 php52-devel.x86_64 php52-gd.x86_64 php52-ldap.x86_64 php52-mbstring.x86_64 php52-mcrypt.x86_64 php52-mysql.x86_64 php52-pdo.x86_64 php52-pear.noarch php52-pecl-apc.x86_64 php52-pecl-memcache.x86_64 php52-soap.x86_64 php52-xml.x86_64 php52-xmlrpc.x86_64 |
|