#19314 [NEW]: unable to startup Apache (undefined symbol)
| From: | pitrou at free dot fr | Date: | Mon, 09 Sep 2002 13:05:31 +0000 |
| Subject: | #19314 [NEW]: unable to startup Apache (undefined symbol) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-18776@lists.php.net to get a copy of this message | ||
From: pitrou@free.fr
Operating system: Linux 2.4.19
PHP version: 4.2.3
PHP Bug Type: Apache related
Bug description: unable to startup Apache (undefined symbol)
Hello,
I've tried to upgrade from 4.0.6 to 4.2.3, both versions
compiled from source. Although I've used the same options
for 4.2.3 as for 4.0.6, when I try to restart Apache I
have an error message. It seems it doesn't link to the
needed extension libs.
# apachectl configtest
Syntax error on line 182 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol: gdImagePngCtx
Here is the configure command :
./configure --with-apxs \
--with-mysql=/usr/local \
--with-bz2 \
--with-zlib \
--with-gd \
If I remove --with-gd, I have a similar error message :
# apachectl configtest
Syntax error on line 182 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress
So it is not a problem with GD but rather with the way
PHP loads extensions. Is there anything I overlooked in
the build/configuration process ? Or is it really a bug ?
--
Edit bug report at http://bugs.php.net/?id=19314&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19314&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19314&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19314&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19314&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19314&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19314&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19314&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19314&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19314&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19314&r=globals