From: David A. T. <da...@to...> - 2004-09-11 21:34:19
|
Hi, I am trying to install & use RLib 1.2.0 in Fedora Core 2, PHP 4.3.8 with Apache 2.0.50, ClibPDF. When I run the example.php from the command line (php example.php) I get the following error: ------------------------------------------------------------- PHP Warning: Unknown(): (null): Unable to initialize module Module compiled with module API=20040412, debug=0, thread-safety=0 PHP compiled with module API=20020429, debug=0, thread-safety=0 These options need to match in Unknown on line 0 Fatal error: Call to undefined function: rlib_init() in example.php on line 8 ------------------------------------------------------------- I'm using the latest version of XAMPP that has both PHP 5.0 and 4.3.8 available, but I've set it up to use 4.3.8. After running configure for rlib, the php extension directory that configure found is /.../php/extensions/no-debug-non-zts-20020429. After compiling and installing, the rlib php libraries are present in this directory. Now the interesting thing is that when I reconfigure XAMPP to use PHP 5.0, the directory configure finds is /.../php/extensions/no-debug-non-zts-10040412. Then when I compile and install rlib, things work fine. The problem is that I can't use PHP 5.0 in production just yet as other parts of my web install have problems with PHP 5.0. Seeing as these extension directories are similar to the API number in the error message, I'm thinking that rlib is finding something from PHP 5.0 during compilation when it should only be looking for stuff from 4.3.8. Any suggestions on getting RLIB to work with PHP 4.3.8 in this setting? Thanks, David |