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

Re: [cobalt-developers] Updating PHP on RaQ 550



Michael Stauber wrote:
> A small extra piece of info:
> 
> The file /usr/lib/apache/php/i18n.so is not part of the PHP RPMs. Instead it
> belongs to sausalito-i18n-0.70.2-86 (on the RaQ550) or
> sausalito-i18n-0.70.2-75 (on the Qube3).
> 
> How PHP itself ties into this library is the unsolved question, though.

No, that is not much of a secret...

/etc/admserv/php.ini
====================

;UNIX Extensions
;extension=interbase.so
extension=pgsql.so 
extension=i18n.so  
extension=cce.so

PostgreSQL driver is loaded "just for fun", too. It *used* to be needed? :-)
(back when the admin interface used postgres instead of the CCE database)

Those extensions provide some extra PHP functions that are used by
the admin GUI for loading i18n (gettext) strings and contacting CCE.
See I18n.php and CceClient.php for some code that uses them...
(the other PHP modules talk to those two for the functionality)

--anders

PS. The released Qube 3 version of those modules compiles and run fine
    under Apache 2.0 and PHP 4.3, running on Red Hat 9... See OpenQube:
    http://open.cobaltqube.org/ (some of it is in Japanese, but still)