[PHP] Trouble with php 4.06 and Apache

2001-07-11 Thread Heiko Maiwald

Hi,

I am trying to install PHP 4.0.6 as a DSO with Apache 1.3.x.
I get thru the configuration and installation without any error
messages, but
when I try to restart Apache with the new configuration, I get this
erroe message:

Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/libphp4.so: symbol ap_block_alarms: referenced
symbol not found
/usr/local/apache/bin/apachectl start: httpd could not be started

I am running on Solaris 2.6.
Ideas, please.

Thanks
Heiko



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


[PHP] SNMP and PHP

2001-08-14 Thread Heiko Maiwald

Hi,

I need some help in compiling SNMP functions with PHP 4.06 on Solaris 2.6.
What I did so far I downloaded UCD SNMP package and installed it.
I compiled php with '--with-snmp=shared' + '--enable-ucd-snmp-hack'
and installed everything without any errors.
When I do a phpconfig on that installation I can see this configure option.
Everything textbook.
BUT when I try to use any of the snmp function calls I get an error message
saying this is an undefined function.

Any ideas, please!!

Thanks
Heiko


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


Re: [PHP] Ldap package.

2001-08-16 Thread Heiko Maiwald

"Johan Vikerskog (ECS)" wrote:

> Another problem.
> when i try to run the configure for ldap i get the following error message:
> checking configure arguments... configure: error: bad value yes for 
>--with-ldbm_module
>
> What is the appropriate configure settings for the ldbm? If i try ti disable it i 
>get the message:
> backend needed for slapd.
>
> //Johan
>

all you need is the option --with-ldap=/usr/local. Of course you have to replace 
'/usr/local'
with the directory where you have installed the openldap package.

Heiko


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


Re: [PHP] Re: The future of PHP - accessory libraries

2001-08-28 Thread Heiko Maiwald

Rasmus Lerdorf wrote:

> > That's not allowing me to simply dl() an SO file, because I don't have the
> > SO file to start with - that's what I was trying to get at.  If I have
> > to reconfigure
> > everything, there's not much point, I don't think.  Unless I'm missing
> > something
> > obvious.  I'd like to be able to simply have an SO file I can dl()
> > without recompiling.
> > Or are you saying that that configure statement WILL create an SO file
> > that can
> > be dl()ed later, without recompiling PHP?
>
> Exactly.  When you do ./configure --with-foo=shared; make
> then modules/foo.so will appear magically and you can dl() that or load it
> using "extension=foo.so" in your php.ini.  You don't have to recompile
> PHP.
>
> -Rasmus

I am afraid that is only theory. I tried that for the snmp module and all I get

is a linker error about unreferenced symbols, when I try to load it.

Heiko


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


Re: [PHP] Re: The future of PHP - accessory libraries

2001-08-29 Thread Heiko Maiwald


Rasmus Lerdorf wrote:
> > Exactly.  When you do ./configure --with-foo=shared;
make
> > then modules/foo.so will appear magically and you can dl() that
or load it
> > using "extension=foo.so" in your php.ini.  You don't have
to recompile
> > PHP.
> >
> > -Rasmus
>
> I am afraid that is only theory. I tried that for the snmp module
and all I get
>
> is a linker error about unreferenced symbols, when I try to load
it.
Which symbols?
 
This is the error message I get:
 


Warning: Unable to load dynamic library '/usr/local/lib/php/modules/snmp.so' - ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/lib/php/modules/snmp.so: symbol alloc_globals: referenced symbol not found in /usr/local/apache/htdocs/snmp.php on line 3

Heiko

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]