Re: [PHP-DEV] extensions problems

2002-07-05 Thread Stig S. Bakken
A quick way to diagnose if this is your problem is: nm module.so | grep get_module If the grep doesn't give any output, this is your problem. - Stig On Wed, 2002-07-03 at 16:36, Rafa Rodriguez Hernandez wrote: > Hi everybody. > > I'm having a problem with php extensions. > > I have a module

Re: [PHP-DEV] extensions problems

2002-07-03 Thread Jani Taskinen
On Wed, 3 Jul 2002, Rafa Rodriguez Hernandez wrote: > >#if COMPILE_DL_GD >ZEND_GET_MODULE(gd) >#endif > >I compile with this: >gcc -rdynamic -fpic -DCOMPILE_DL=1 -I/opt/php/include/php/main/ >-I/opt/php/include/php/TSRM/ -I/opt/php/include/php/Zend/ -I/opt/php/include/php/ -c >gd.c You need

Re: [PHP-DEV] extensions problems

2002-07-03 Thread Rafa Rodriguez Hernandez
> > This is exactly the problem. I've not seen any other scenario > where you get this error message yet. Make double sure > COMPILE_DL_module is properly defined (btw, all uppercase > normally, maybe that's the problem). > > - Markus I'm trying with a simple module. For exa

Re: [PHP-DEV] extensions problems

2002-07-03 Thread Rafa Rodriguez Hernandez
Recuerdo que era Wed, 3 Jul 2002 17:38:08 +0200 y Markus Fischer <[EMAIL PROTECTED]> tecleo: > On Wed, Jul 03, 2002 at 05:09:28PM +0200, Rafa Rodriguez Hernandez wrote : > > > > > > This is exactly the problem. I've not seen any other scenario > > > where you get this error message yet

Re: [PHP-DEV] extensions problems

2002-07-03 Thread Markus Fischer
On Wed, Jul 03, 2002 at 05:09:28PM +0200, Rafa Rodriguez Hernandez wrote : > > > > This is exactly the problem. I've not seen any other scenario > > where you get this error message yet. Make double sure > > COMPILE_DL_module is properly defined (btw, all uppercase > > normally,

Re: [PHP-DEV] extensions problems

2002-07-03 Thread Markus Fischer
On Wed, Jul 03, 2002 at 04:36:43PM +0200, Rafa Rodriguez Hernandez wrote : > The module compiles fine.. but when php try to load it, I get this response: > PHP Warning: Invalid library (maybe not a PHP library) 'module.so' in Unknown on >line 0 > > I have in the source code this: > > #if COM

[PHP-DEV] extensions problems

2002-07-03 Thread Rafa Rodriguez Hernandez
Hi everybody. I'm having a problem with php extensions. I have a module that I want to load dynamicly with php. In the php.ini file I have the next line extension=module.so The module compiles fine.. but when php try to load it, I get this response: PHP Warning: Invalid library (maybe not a

Re: [PHP-DEV] extensions for PHP in Windows

2002-02-22 Thread Markus Fischer
On Fri, Feb 22, 2002 at 08:44:19AM +0100, Olga Tonkonog wrote : > I learn PHP now and use Windows. But almost all guidance are for Linux. > Do you know how to produce own extensions in PHP? Copy over an existing extension (e.g ext/sockets if you want to write an extension which doesn't d

Re: [PHP-DEV] extensions for PHP in Windows

2002-02-22 Thread Andrey Hristov
Start here http://www.php.net/manual/en/zend.php Best regards, Andrey Hristov - Original Message - From: "Olga Tonkonog" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 22, 2002 9:44 AM Subject: [PHP-DEV] extensions for PHP in Windows > He

[PHP-DEV] extensions for PHP in Windows

2002-02-22 Thread Olga Tonkonog
Hello, I learn PHP now and use Windows. But almost all guidance are for Linux. Do you know how to produce own extensions in PHP? Thank you Olga -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] EXTENSIONS file & XSLT

2002-01-28 Thread Lars Torben Wilson
The EXTENSIONS file doesn't appear to have been updated to mention the new xslt extension which replaced Sablotron. Could someone with sufficient karma commit this? Thanks. Index: EXTENSIONS === RCS file: /repository/php4/EXTENSION

[PHP-DEV] extensions

2001-07-13 Thread Gilles Koffmann
Hi, on win98 Apache php 4.0.6 as a module and VC++6 When Apache starts I have the following execution in my extension : PHP_MINIT_FUNCTION() PHP_MSHUTDOWN_FUNCTION() PHP_MINIT_FUNCTION() Why ? Gilles -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL

Re: [PHP-DEV] extensions and $HTTP_SERVER_VARS

2001-04-19 Thread Sterling Hughes
On Thu, 19 Apr 2001, Rasmus Lerdorf wrote: > How portable? Not all web servers even set this variable, so it will > never be completely portable. > > -Rasmus > (what Rasmus said, and :) you can grab them out of the EG(symbol_table) if you still want them: { zval **server_vars; if (zend_hash_

Re: [PHP-DEV] extensions and $HTTP_SERVER_VARS

2001-04-19 Thread Rasmus Lerdorf
How portable? Not all web servers even set this variable, so it will never be completely portable. -Rasmus On Thu, 19 Apr 2001, Hartmut Holzgraefe wrote: > > any portable way to get values like $HTTP_HOST from within an extension? > at the C level? > > -- > Hartmut Holzgraefe [EMAIL PROTECTED

[PHP-DEV] extensions and $HTTP_SERVER_VARS

2001-04-19 Thread Hartmut Holzgraefe
any portable way to get values like $HTTP_HOST from within an extension? at the C level? -- Hartmut Holzgraefe [EMAIL PROTECTED] http://www.six.de +49-711-99091-77 -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: [PHP-DEV] EXTENSIONS file refresh..

2001-01-24 Thread Jani Taskinen
On Wed, 24 Jan 2001, Boian Bonev wrote: >of course. most people don't really bother to read even the configure >output, i suppose 10% (or less) look into ext/extdir to find >readme/experimental. That's true. >another idea is to have an extension txt help file shown by configure with >something

Re: [PHP-DEV] EXTENSIONS file refresh..

2001-01-24 Thread Boian Bonev
hi, > >>Another thing: Would it be good idea to have the EXPERIMENTAL > >>text in configure help for such options? This could be automated > >>in the buildconf ie. it could check if the EXPERIMENTAL is in the > >>extension's dir and adds the text before/after the option in > >>the help display..?

Re: [PHP-DEV] EXTENSIONS file refresh..

2001-01-23 Thread Jani Taskinen
On Sun, 21 Jan 2001, David Eriksson wrote: >>BTW. Why does the satellite extension use --enable-satellite?? >>It does use external libraries which are not bundled with PHP. >>IIRC the --enable-* configure option is meant to be used only >>with such extensions?? (and satellite relies on some CVS v

Re: [PHP-DEV] EXTENSIONS file refresh..

2001-01-21 Thread David Eriksson
On Friday 19 January 2001 16:07, Jani Taskinen wrote: >I added some missing extensions into the EXTENSIONS file >and some missing EXPERIMENTAL files into the extensions >which were marked as experimental. > >So every author of those extensions should check that the >information in EXTENSIONS is co

[PHP-DEV] EXTENSIONS file refresh..

2001-01-19 Thread Jani Taskinen
I added some missing extensions into the EXTENSIONS file and some missing EXPERIMENTAL files into the extensions which were marked as experimental. So every author of those extensions should check that the information in EXTENSIONS is correct. e.g. There were some missing info about the primary