Hi Jason

Thanks for your response - I did just as you suggested, and here is the
result:

On my test server I installed php 4.3.8 (with --with-gettext)
On my production server, the old version of php (4.3.3 without
--with-gettext) exists
On the test server, if I execute /usr/local/bin/php login.php, I get
some nice HTML
On the production server, if I exceute /usr/local/bin/php login.php, I
get the "Call to undefined function" error.
So this would suggest that I have cleared up the problem on my test
server, right?

Wrong.

Test.php (which merely executes <? Phpinfo(); ?> seems to think I still
have PHP version 4.3.3, vene though the output of /usr/local/bin/php -v
is 4.3.7.  If I log in as my apache user, and execute "which php", it
tells me /usr/local/bin/php

So in summary, I have updated php and it now works - however, when
executing php from apache, apache still thinks the old version is in
place - which is odd, as my apache user uses the same version of php,
and to my knowledge, there is only one version of php on my computer.

Any ideas???  This is really odd.  I even tried re-installing apache
from scratch with this new version of php, and still I get those errors
about "Call to undefined function"... But NEVER from the command line
using php, always from apache using php.

Mick

-----Original Message-----
From: Jason Wong [mailto:[EMAIL PROTECTED] 
Sent: 18 June 2004 13:59
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Call to undefined function: bindtextdomain()


On Friday 18 June 2004 18:07, michael watson (IAH-C) wrote:

> So, my question is, having not compiled php with that switch in the 
> first place, how can I get the functionality I need into PHP without 
> breaking everything else?

In general, you can recompile PHP to your hearts content without
breaking 
either Apache or MySQL. For best results untar a fresh copy of the
source 
each time you 'recompile'. Stop apache before you run 'make install'.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Today's scientific question is: What in the world is electricity?

And where does it go after it leaves the toaster?
                -- Dave Barry, "What is Electricity?"
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to