php-install Digest 1 Jan 2002 20:57:24 -0000 Issue 628
Topics (messages 5412 through 5414):
Apache, undefined symbol: alloc_globals
5412 by: Sean Redmond
5413 by: Sean Redmond
Re: PHP 4.1.0, suEXEC, and #!/usr/local/bin/php
5414 by: Mike
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Happy new year!
I'm posting this again because no one answered it the first time around.
Thanks
>I've compiled php-4.1.0 (DSO) but when I start apache I get the message:
>
>Starting httpd: Syntax error on line 261 of /etc/httpd/conf/httpd.conf:
>Cannot load /etc/httpd/modules/libphp4.so into server:
>/etc/httpd/modules/libphp4.so: undefined symbol: alloc_globals
>
>What gives?
>
>This is RedHat 7.2 with apache-1.3.22-2 and apache-devel-1.3.22-2 rpms,
>PHP 4.1.0 compiled with ./configure --without-mysql --with-apxs
>
>Thanks
Sean Redmond
Brooklyn Museum of Art
--- End Message ---
--- Begin Message ---
Thanks,
I searched the archives of php-general, php-install and php-devel, the
FAQ's and Google but haven't found a solution to this particular problem.
There are lots of similar problems with one of two solutions: edit
ld.so.conf or recompile with --enable- or --with-whatever.
However, finding libphp4.so isn't the problem (ldconfig -v confirms this)
and I don't think alloc_globals is an external function from another
library, so what --with-* option would fix it?
If this is in an archived post or a FAQ I would appreciate a pointer to it.
Thanks again.
At 07:41 PM 12/31/2001 +0000, you wrote:
>Sean,
>
>Apologies for the brief reply, I've a New Years Eve party awaiting.
>
>The solution to your problem is in the list archives. It comes up fairly
>often so you may find it in the FAQ.
>
>Good luck.
>
>Regards
>
>Chris
>
>Sean Redmond wrote:
>
> > Happy new year!
> >
> > I'm posting this again because no one answered it the first time around.
> >
> > Thanks
> >
> > >I've compiled php-4.1.0 (DSO) but when I start apache I get the message:
> > >
> > >Starting httpd: Syntax error on line 261 of /etc/httpd/conf/httpd.conf:
> > >Cannot load /etc/httpd/modules/libphp4.so into server:
> > >/etc/httpd/modules/libphp4.so: undefined symbol: alloc_globals
> > >
> > >What gives?
> > >
> > >This is RedHat 7.2 with apache-1.3.22-2 and apache-devel-1.3.22-2 rpms,
> > >PHP 4.1.0 compiled with ./configure --without-mysql --with-apxs
> > >
> > >Thanks
> >
> > Sean Redmond
> > Brooklyn Museum of Art
> >
> > --
> > PHP Install 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]
Sean Redmond
Brooklyn Museum of Art
--- End Message ---
--- Begin Message ---
> It fixes the problem, however in 4.1.0 their is no such code. Being able
to
> execute php inside the suexec sandbox is very attractive. Does anybody
know
> how to patch 4.1.0.
Have you found a solution to this problem?
I note that in the bug tracing area of the php website it is being dismissed
as a trivial matter. I suspect that it only occurs where the doc_root has
not been set.
I have tested versions 4.0.5, 4.0.6, 4.1.1: they all have the same problem.
I have tried both on Windows 98 and Redhat Linux 7.2. (I'll try it on MAC
OSX one of these days).
--- End Message ---