Re: lug-bg: PHP i MySQL vav Slack9
- Subject: Re: lug-bg: PHP i MySQL vav Slack9
- From: danchev@email.domain.hidden (George Danchev)
- Date: Wed, 16 Apr 2003 19:33:45 +0300
On 16 04 2003 17:33, gggg ggg wrote:
<em class="quotelev1">> az problema pri kompilirane na PHP ot source go hvanah
<em class="quotelev1">> kade e - v edin ot failovete neshtosi_conf.h se
<em class="quotelev1">> nastroiva patia do socketa i sled tova go kompiliram
<em class="quotelev1">> i tragva ama tozi e binaren paket i ne shte , pak vse
<em class="quotelev1">> mi se iska da go podkaram s nego shtoto taka i taka e
<em class="quotelev1">> instaliran .
<em class="quotelev1">>
<em class="quotelev1">> eto kakvo ima v php_info() za tozi koito me popita.
<em class="quotelev1">> ina4e error messages sa prosto , 4e finkciata
<em class="quotelev1">> mysql_connect() ne e definirana:
<em class="quotelev1">> Fatal error: Call to undefined function:
<em class="quotelev1">> mysql_pconnect() in /var/www/htdocs/......
Diagnoza: Trivialen i elementaren prob ;-) Omeshal si versions na
software-tata koito si instaliral po razni possibly insane/unsafe ways.(ili
Volkerdi gi e omeshal;-) ... Problema e v mysql_pconnect() function, koqto e
zakompilirana v file-a mysql.so (remember config. file php.ini , [Sockets] ,
extension=mysql.so).
Reshenie: make sure to have right dependencies of those software pieces if you
want them to work together. Po4isti bozata (demek otstrani files ot broken
packages, nedej da instalirash new versions otgore vyrhu starite, stava boza.
Either install from (upstream) sources (NOTE versions! systo taka NOTE kyde i
kak ste instalirash i posle kak ste go replace-vash 4isto pri bydest upgrade)
or from precompiled binary distro packages (ako poslednite imat problemi,
taka kakto sa samo binary ne moa im pomognesh mnogo)
man objdump za pove4ko info i za kakvo ide re4 na po-dylbo4ko nivo.
ehhh versioned libraries, calculate shered libraries dependencies ili so
version check ... vse takiva bezobidni, no vazhni nestica...Kak da kazha ...
Off;-)...
--
pub 4096R/0E4BD0AB 2003-03-18 (no comments) <danchev_at_spnet.net>
1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB <keyserver.bu.edu>
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|