Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: PHP modules  (Read 5332 times)

0 Members and 1 Guest are viewing this topic.

xnux

  • Guest
PHP modules
« on: July 08, 2012, 03:03:29 PM »
I'm curious why some tutorials offer more PHP extensions while some offer fewer? Why is that?

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1769
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: PHP modules
« Reply #1 on: July 09, 2012, 09:31:34 PM »
Laziness...
" Anyone who goes to a psychiatrist should have his head examined. "

xnux

  • Guest
Re: PHP modules
« Reply #2 on: July 11, 2012, 06:40:10 PM »
As I see it, some tutorials tell people to install a bunch of useless PHP extensions...

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1769
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: PHP modules
« Reply #3 on: July 11, 2012, 08:12:42 PM »
If that's how you see it then there it is...
" Anyone who goes to a psychiatrist should have his head examined. "

xnux

  • Guest
Re: PHP modules
« Reply #4 on: July 12, 2012, 07:00:16 AM »
I was looking for an answer from advanced users, as I'm a beginner...

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: PHP modules
« Reply #5 on: July 12, 2012, 07:21:13 AM »
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?
I was trying to dereference Null Pointers before it was cool.

xnux

  • Guest
Re: PHP modules
« Reply #6 on: July 12, 2012, 08:08:40 AM »
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.

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: PHP modules
« Reply #7 on: July 19, 2012, 04:47:49 AM »
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
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos