You are here: Re: Problems - apache config x libphp4 x libmysqlclient ??? « All PHP « IT news, forums, messages
Re: Problems - apache config x libphp4 x libmysqlclient ???

Posted by J.O. Aho on 10/03/13 11:38

Adam Smith wrote:
> Have been doing some upgrades to my system
>
> [i] Rebuild php 4.3.10 configured with options ==>
> ./configure --prefix=/usr/local --exec-prefix=/usr/local
> --bindir=/usr/local/bin --sbindir=/usr/local/sbin
> --libexecdir=/usr/local/libexec --datadir=/usr/local/share
> --sysconfdir=/usr/local/etc --sharedstatedir=/usr/local/com --with-apxs
> --with-gettext=/usr/ports/devel/gettext --with-xml
> --with-mysql=/usr/local --with-mcrypt --with-imap
> --with-config-file-path=/usr/local/etc --with-pear --with-openssl
> --enable-fastcgi --with-zlib --enable-bcmath --enable-calendar --with-gd
> --with-pgsql --with-pspell --with-curl --enable-force-cgi-redirect
> --enable-javascript --enable-xslt --with-xslt-sablot --with-sablot-js
> ___________________
>
>
> [ii]Upgrade MySQL to V 5.0.18: generated a libmysqlclient.so.15 in
> /usr/local/mysql/lib/mysql/
> MySQL installation seems OK, but phpinfo presents info on old 'previous'
> mysql installation
>
> MySQL Configured ==>
> ./configure CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors
> -fno-exceptions -fno-rtti" --prefix=/usr/local/mysql --enable-assembler
> --enable-thread-safe-client --enable-local-infile
> --with-unix-socket-path=/usr/local/var/mysql --with-mysqld-user=mysql
> --with-openssl --with-big-tables --with-archive-storage-engine
> --with-csv-storage-engine --localstatedir=/usr/db/mysql
> ___________________
>
>
> [iii] Repositioned error log files in apache server 1.3.31 and then
> running config test ==>
> apachectl configtest
> Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libphp4.so into server: Shared
> object "libmysqlclient.so.12" not found
>
> [iii]-a Found an old version of "libmysqlclient.so.12", copied it into
> the library, -- message unchanged
> ___________________
>

Update your mysql headers, seems you are still using the old ones and then
rebuild php.

I do recommend you to delete the library you added, it won't help you.


//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация