I
I
ilya_compman2011-01-21 21:45:58
PHP
ilya_compman, 2011-01-21 21:45:58

The help of the system administrator is required. Trouble updating libxml for php?

On the production server, it's time to update the php version to 5.3, since the latest applications were written specifically for it.
The update was ordered from a regular hosting admin (we rent a dedicated machine). The work of the administrator is paid. After 5 hours and a terribly large number of nerves, on the sixth or seventh attempt (for the first time the admin compiled php without even mysql support), the update was downloaded with all modules.
When it came time to test the newly written site, a strange bug was discovered: some HTML parsing functions were not working. After some time, we came to the conclusion that the unupdated version of libxml (2.6.26) was to blame, although at least 2.6.32 should be installed with the fifth php.
At the same time, a second request was sent to reinstall php with a new version of libxml. Now they poke me in the nose with logs that the system is running 2.7.8 (xml2-config --version confirms this), but phpinfo shows that nothing has changed. The site still doesn't work.
What to do, where to dig, and how can I update this ill-fated module so that php picks it up?
Centos 5
PHP 5.3.5

'./configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-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=/usr/com' '--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' '--with-pic' '--with-bz2' '--with-curl' '--with-mysql' '--with-gd' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pspell' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-shmop' '--enable-calendar' '--with-libxml-dir=/usr' '--enable-mbstring' '--with-apxs2=/usr/sbin/apxs' '--with-mhash' '--with-mcrypt' '--with-mysqli' '--with-pdo_mysql' '--enable-zip'

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
pentarh, 2011-01-21
@ilya_compman

ldd of this your php which libxml clings? (ldd /usr/bin/php)
tried to restart Apache (stop/start)? Sometimes they forget or do a grace restart, which does not work.
make clean before make install did?
And why not use the remi repository at all and yum-install from there ready-made puff puff 5.3?

S
Sergey, 2011-01-21
@seriyPS

Oooh ... and somehow I tried to install libxml for python2.6 on CentOS - it didn’t work. CentOS is generally like that, you can install new versions of software. (Constructive did not advise anything, yes)

K
Krio, 2011-01-21
@Krio

Of course, I can make a mistake, but try the key '--with-libxml-dir=/usr/local'
ps and what do the logs from php give out?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question