Здравствуйте.
Изначально ставил php простой командой типа
yum -y install php php-common php-gd php-mysql php-xml php-mbstringВсё работает какбэ... Но тут выяснилось, что одному скрипту надо, чтобы пхп был собран с некоей библиотекой cURL.
В интернете везде пишут только про то, что надо собирать пхп с ней изначально -
--with-curlНо как быть в случае, если пхп уже установлен, просто выполнить такую команду?
yum -y install php php-common php-gd php-mysql php-xml php-mbstring --with-curlИ пхп переустановится с этим уже параметром?
Сама библиотека в системе есть -
[root@localhost etc]# yum install curl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.majorhost.net
* extras: mirror.majorhost.net
* updates: mirror.majorhost.net
Setting up Install Process
Package curl-7.19.7-37.el6_4.i686 already installed and latest version
Но не привязана к пхп, как я понимаю, то же самое я вижу по выводу phpinfo() -
выводит -
'./configure' '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i686-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-sqlite' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--without-sqlite3' '--disable-phar' '--disable-fileinfo' '--disable-json' '--without-pspell' '--disable-wddx' '--without-curl'

