[CentOS] [Fwd: Re: PHP Questions on move from CentOS 5.x to CentOS 6.x]

Sun Mar 24 17:17:41 UTC 2013
Max Pyziur <pyz at brama.com>

---------------------------- Original Message ----------------------------
Subject: Re: [CentOS] PHP Questions on move from CentOS 5.x to CentOS 6.x
From:    "Max Pyziur" <pyz at brama.com>
Date:    Sun, March 24, 2013 1:14 pm
To:      "Reindl Harald" <h.reindl at thelounge.net>
--------------------------------------------------------------------------

>
>
> Am 24.03.2013 17:52, schrieb Max Pyziur:
>> Diffing php -m results:
>
> a diff does not interest
> i requested explcitly the output of "php -m" on the new machine

On CentOS 5 it is:
php -m
[PHP Modules]
bz2
calendar
ctype
curl
date
dbase
exif
ftp
gd
gettext
gmp
hash
iconv
ldap
libxml
mbstring
mcrypt
mime_magic
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
posix
pspell
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
zlib

[Zend Modules]


On CentOS 6
php -m
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
enchant
ereg
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
json
ldap
libxml
mbstring
mcrypt
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib

[Zend Modules]


> the packaging may have changed and things which are now loaded
> via "extension = xyz.so" maybe built-in in the older realase
> or vice versa and "php -m " shows what is loaded without make
> a difference of static or loaded as module
>
>>> are the extensions installed/loaded?
>>
>> Please clarify; what extensions?
>
> the database-extensions you need?
>
> [root at centos ~]# php -m | grep mysql
> mysql
> mysqli
> pdo_mysql

Like this?:
php -m | egrep '(mysql|pgsql)'
mysql
mysqli
pdo_mysql
pdo_pgsql
pgsql


MP
pyz at brama.com