You are here: Compiling PHP on AIX 5.3 works fine except for Apache module... « PHP « IT news, forums, messages
Compiling PHP on AIX 5.3 works fine except for Apache module...

Posted by Sebastien Roy on 06/29/05 15:09

Hi guys...

I compiled PHP 4.3.9 on AIX 5.3 ML02 with this command...

# ./configure --enable-calendar --enable-ftp --with-gd --with-gettext
--enable-mime-magic --with-mysql --with-iconv --enable-mbstring=all
--enable-mbregex --with-apxs=/opt/apps/apache/1.3.33/bin/apxs
--with-zlib-dir=/usr/local/lib --with-zlib --with-png-dir
--with-freetype-dir
# make
# make install

Everything works perfectly except for the apache module.... when I try
to start apache with that module I got this error:

Syntax error on line 205 of /opt/apps/apache/1.3.33/conf/httpd.conf:
Cannot load /opt/apps/apache/1.3.33/libexec/libphp4.so into server:
0509-130 Symbol resolution failed for
/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/../../../libz.so
because:
0509-136 Symbol _GLOBAL__F__Unwind_GetLanguageSpecificData
(number 23) is not exported from
dependent module
/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/../../../libgcc_s.a(shr.o).
0509-022 Cannot load module
/opt/apps/apache/1.3.33/libexec/libphp4.so.
0509-026 System error: Cannot run a file that does not have a
valid format.
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
/opt/apps/apache/1.3.33/bin/apachectl start: httpd could not be started

But the /usr/local/bin/php command works fine ...

# /usr/local/bin/php -v
PHP 4.3.11 (cli) (built: Jun 28 2005 23:47:50)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

# /usr/local/bin/php -m
[PHP Modules]
calendar
ctype
ftp
gd
gettext
iconv
mbstring
mysql
overload
pcre
posix
session
standard
tokenizer
xml
zlib

[Zend Modules]




Anyone have an idea why the module is not working ?

Thanks

Sébastien Roy
Administrateur de Systèmes Senior / Senior System Administrator
PointPub Communications. - Laval, Canada
(514) 867-1079
Sebastien.Roy@PointPub.NET
www.pointpub.net

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация