Need help of sysadmin. Problem with updating libxml for php?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
3 views
On production server it is time to upgrade the php version to 5.3, as the latter application was written specifically for her.


The upgrade was ordered from the staff of the administrator of the hosting (rent a dedicated machine). The job of a paid administrator. After 5 hours and an awful lot of nerves, from the sixth or seventh attempt (the first time the admin has collected php without support, even mysql) update was rolled out to all modules.


When it came time to test svezhenanesenny website, opened a strange bug: did not work some functions of parsing HTML. After some time, we came to the conclusion that the blame for the next version of libxml (2.6.26), while the fifth php must be installed at least 2.6.32.


At the same time and was sent a re-application to reinstall php with the new version of libxml. Now my nose tychat logs that the system works 2.7.8 (xml2-config --version confirms it), but phpinfo shows that nothing has changed. The website still doesn't work.

What to do, where to dig, and how can I update this ill-fated module, so php picked up on it?


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'
by | 3 views

3 Answers

0 like 0 dislike
ldd your php libxml touches what? (ldd /usr/bin/php)
Apache tried to restart (stop/start)? Sometimes I forget or do a grace restart that channel.
make clean before the make install did?
\r
And Cho would never use remi repository and yum-install'it out puff puff 5.3?
by
0 like 0 dislike
OOO... and I like that I tried libxml for python2.6 on CentOS to deliver — and failed. CentOS is he anyway, a new version of software hell put. (Nothing constructive advise, Yes)
by
0 like 0 dislike
Of course I could be wrong, but try the switch '--with-libxml-dir=/usr/local'
p.s. what logs from php issue?
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
7 answers
asked Apr 12, 2019 by AlexGreat92
0 like 0 dislike
4 answers
0 like 0 dislike
5 answers
0 like 0 dislike
7 answers
110,608 questions
257,186 answers
0 comments
27,905 users