Hi,
RLIB uses `php-config` to get the extension dir.. so what ever that
returns rlib uses
- bob
On Sat, 2004-09-11 at 16:34 -0500, David A. Tong wrote:
> 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
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> Rlib-users mailing list
> Rli...@li...
> https://lists.sourceforge.net/lists/listinfo/rlib-users
|