[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] [Qube3] PHP upgrade without breaking Sausalito



Hi All,

This has been bounced around quite a few times, so I thought I'd post
what I know and *maybe* somebody will be inspired, as its something that
I need to do

Currently, PHP installed on the Qube3 is 4.0.4 and its running with
mysql, etc no problem.
I'm wanting to compile it to support pam authentication, so need to do a
configure, make etc, and I get the dreaded
Fatal error: Call to undefined function: i18n_new() in
/usr/sausalito/ui/libPhp/I18n.php on line 31

I've done a bit of digging and found that when its in its working state,
a phpinfo() command produces the usual output, and has the following
couple of lines added as modules installed:

"i18n
	Cobalt I18n Support Enabled
 cce
	Cobalt CCE Support Enabled"

I've located the two .so files (/usr/lib/apache/php/) cce.so and i18n.so
That I obviously need to include at compilation time, however they are
presently in their compile form themselves (cce.so: ELF 32-bit LSB
shared object, Intel 80386, version 1, not stripped)

I presume this means I need to have the source to these files, so that I
can add it into the php source build directory, in the same way as any
other add-on to php (i.e. put it into a directory of its own under the
php-source/ext/ directory)


If anyone knows where to get these php sources/modules or know of a way
to include these compiled versions, this may just solve the problem!!

Thanks for any suggestions or ideas,

Andy
andy@xxxxxxxxxxxxxxxxxxxxx