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

[cobalt-developers] Recompiling PHP: I18N & CCE Modules



Hi all,

I'm trying to recompile PHP on a Qube3, to add CURL support to the mix.

The first time I did it, I just copied over a new libphp4.so. phpinfo()
worked okay, but when I tried to go to the admin ui, it wouldn't load, due
to PHP crashing. The second time, I actually did a make install. This time,
it didn't crash, rather it complained about a missing function i18n_new().

After a bit of digging around, I discovered that the problem was that the
i18n and cce modules were added by Cobalt. I can't link to their compiled
libraries because of this -- the error appeared when I tried to use the dl()
function in php...

Warning: i18n: Unable to initialize module
Module compiled with debug=0, thread-safety=0 module API=20000609
PHP compiled with debug=0, thread-safety=0 module API=20001214
These options need to match in /usr/sausalito/ui/web/info.php on line 5

Does anyone have any info on of the following?
* A way of compiling PHP using the older module API.
* The source of i18n and cce, to recompile them with the newer module API
* An alternate solution to my problem?

Thanks in Advance,
Sam