ID: 49173
User updated by: malina dot laszlo at malina dot hu
Reported By: malina dot laszlo at malina dot hu
-Status: Feedback
+Status: Open
Bug Type: Dynamic loading
Operating System: Debian Lenny
PHP Version: 5.3.0
New Comment:
Hi!
I tried to compile the PHP (not snapshot, but release). There are two
ways to do:
1. I am updating system libraries (libgd, libpng, etc) and compiling gd
extension by shared
(--with-gd=shared,/usr and png,jpg,xpm, freetype,etc by shared)
2. I compiling gd extension by "embedded" (it is not shared).
(--with-gd [it is embedded for me] and png, jpg,xpm, etc is not
shared)
Results:
Point 1: it is failed, same error
Point 2: this is good, no error!
I will try to compile snapshot-php5.3 by shared and "embedded". I'm
curious :)
Previous Comments:
------------------------------------------------------------------------
[2009-08-06 08:57:47] jani@php.net
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2009-08-06 08:07:09] malina dot laszlo at malina dot hu
Hi!
I am trying to load extensions and each works well except for the
gd.so. If I load gd, server send me "Status 500" and written above logs.
Before there was already a compiling problem (gdhelper), but this is
no, without error compiled.
Thanks for your help!
Bearcheese
------------------------------------------------------------------------
[2009-08-06 00:31:26] malina dot laszlo at malina dot hu
Description:
------------
Hello!
I compiled php-5.3.0 (CGI), apache-2.2.12 (mpm-worker) and
mod_fcgid-2.2.0 on Debian Lenny.
I have more extension: mysql, mysqli, pdo, gd, gettext, memcache,
imagick, idn, etc.
When I give extension_dir (with absoluth path) and I does NOT allow to
load extensions then no problem (and no extension).
When I does allow to load only ONE extension (for example gd.so), then
the server send me "Internal server error" (status 500).
I can see in apache error-log:
[warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi
server error.
[info] (104)Connection reset by peer: mod_fcgid: can't read data from
fcgid handler
[warn] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed
in handle_request function
What is problem?
(Sorry for my bad English!)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49173&edit=1