Date: 08/04/00
- Next message: Hartmut Holzgraefe: "Re: [PHP-DEV] PHP 4.0 Bug #5963: trans-sid breaks javascript links"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5969 Updated: url_scanner.c fails to compile"
- In reply to: Rasmus Lerdorf: "Re: [PHP-DEV] problems with dl()"
- Next in thread: Hartmut Holzgraefe: "Re: [PHP-DEV] problems with dl()"
- Reply: Hartmut Holzgraefe: "Re: [PHP-DEV] problems with dl()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Rasmus Lerdorf wrote:
> > >
> > > > Hi
> > > >
> > > > I built my own dynamic loadable module with php-4.0b4pl1 and it worked
> > > > well with Apache+this PHP. And now I installed Apache+php-4.0.1pl2 and
> > > > when function
> > > > dl(uu.so) is called this warning appears:
> > > >
> > > > Warning: uu: Unable to initialize module Module compiled with debug=255,
> > > > thread-safety=255 module API=0 PHP compiled with debug=0,
> > > > thread-safety=0
> > > > module API=20000609 These options need to match in
> > > > /usr/local/apache/htdocs/encodetset.php on line 2
> > >
> > > Try to reconfigure php4.02pl2 with --enable-debug --enable-experimental-zts
> > > (I am not sure of the last one).
> > > Or compile you module with --disable-debug (probably the best way).
> > >
> >
> > How to disable debug and zts in compiling dynamic module?
>
> Well, how are you compiling it?
>
There is a directory dl In source of php-4.0b4pl1 and inside this directory the
complete
example of dynamic library exists (calendar.so). So my dynamic module is compiled
in the same way as calendar.so.
Maybe they are some gcc switchs to disable debuging.
Adam
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Hartmut Holzgraefe: "Re: [PHP-DEV] PHP 4.0 Bug #5963: trans-sid breaks javascript links"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5969 Updated: url_scanner.c fails to compile"
- In reply to: Rasmus Lerdorf: "Re: [PHP-DEV] problems with dl()"
- Next in thread: Hartmut Holzgraefe: "Re: [PHP-DEV] problems with dl()"
- Reply: Hartmut Holzgraefe: "Re: [PHP-DEV] problems with dl()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

