Hi Haw,
Well, let's see, its a been a few moments since I last worked with this.
PHP/AIX requires that *.so libraries be compiled in XCOFF format (check in
AIX doc). Many times, developers have not chosen XCOFF, or, have chosen to
nest shared object libraries resulting in your requiremnent to have all these
libraries installed on your AIX server. For exmaple, an xxxx.so under PHP
will look for a shared object file referenced referenced within it:
xxxx.so
references yyyy.so
yyyy.so
references zzzz.so
etc.
If yyyy.so or zzzz.so are absent, or not in XCOFF format, PHP will indicate
that shared objects are not found, when in fact they may be found, but in the
incorrect format. Check your apache error log. It will yield signifcant
clues. Also, please define your global LD_LIBRARY_PATH environment variable
in AIX -- AIX will use it to determine in which directories to look for
shared object files. Example:
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/local/lib/apache:/usr/ldap:/usr/loc
al/lib/php/extensions/no-debug-non-zts
Best advice is to locate an .so that doesn't seem to be found or work, and put it in the same directory as an .so that does work. If the good one loads and the other
doesn't, then you will need to explore why. Try http://www-frec.bull.com/docs/download.htm and download the AIX freeware tools; among them you will find ldd (find link dependencies) and then you can precisely determine what libraries your needing.
I wish you good luck!
Christopher CUSE
Haw Kor wrote:
I'm also having this problem...has anyone found a solution to this? I'm running aix 4.3.3 with apache 1.3.17 and php4-4.0.4.1
Everything seems to have installed fine, I can get phpinfo() to work as well as other php functions, however I am having trouble loading the dynamic extensions. They exist in the specified directory and I've double checked my php.ini countless times.
Thanks in advance for any help
-Haw