tru64 php informix
| From: | Luis Fernando Morales | Date: | Sat, 06 May 2006 02:16:40 +0000 |
| Subject: | tru64 php informix | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-17300@lists.php.net to get a copy of this message | ||
hi everybody this is my first post...
I have been compiled the php-4.3.9 version on a tru64 unix system.
Informix Dynamic Server Version 7.30.FC8
IBM Informix CSDK Version 2.80, IBM Informix-ESQL Version 9.52.FC2
everything seems to be ok some warnings but no errors with the next
configuration:
./configure --prefix=/usr/opt/hpapache2/php
--with-apxs2=/usr/opt/hpapache2/bin/apxs --disable-rpath --with-ndbm
--with-yp --enable-ftp --enable-calendar --with-pear --enable-mbstring
--with-zlib-dir=/usr/local/lib --with-informix=yes
the make command creates in .libs dir the following files :
libphp4.la@ -> ../libphp4.la
libphp4.lai
libphp4.so
so_locations
and in the sapi/cli dir are the php (PHP CLi binary)
when I do a 'make install' it sends the following message:
Installing PHP SAPI module: apache2handler/usr/opt/hpapache2/build/instdso.sh SH_LIBTOOL='/usr/opt/hpapache2/build/libtool' libphp4.la/usr/opt/hpapache2/modules /usr/opt/hpapache2/build/libtool --mode=install cp libphp4.la/usr/opt/hpapache2/modules/ cp .libs/libphp4.so /usr/opt/hpapache2/modules/libphp4.so cp .libs/libphp4.lai /usr/opt/hpapache2/modules/libphp4.la libtool: install: warning: remember to run `libtool --finish /resp/php-4.3.9 /libs' chmod 755 /usr/opt/hpapache2/modules/libphp4.so apxs:Error: Configuration file is not valid. There are sections opened and not closed.. *** Exit 1 Stop. in the /usr/opt/hpapache2/modules/ dir exists the libphp4.so but when a try to statup the apache2 it freezes... and i have to do a ctrl-c to abort the startup... the startup process dont do nothing , no log messages... the httpd.conf has the AddType application/x-httpd-php .php and the LoadModule php4_module modules/libphp4.so
I made a test with the php cli binary and it runs ok ('php info.php'
... it has a <?php phpinfo(); ?>)
and send me the next info:
phpinfo()
PHP Version => 4.3.9
System => OSF1 fermo V5.1 1885 alpha
Build Date => May 5 2006 18:45:44
Configure Command => './configure' '--prefix=/usr/opt/hpapache2/php'
'--with-apxs2=/usr/opt/hpapache2/bin/apxs' '--disable-rpath' '--with-ndbm'
'--with-yp' '--enable-ftp' '--enable-calendar' '--with-pear'
'--enable-mbstring' '--with-zlib-dir=/usr/local/lib' '--with-informix=yes'
Server API => Command Line Interface
Virtual Directory Support => enabled
Configuration File (php.ini) Path => /usr/opt/hpapache2/php/lib/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => enabled
Registered PHP Streams => php, http, ftp, compress.zlib
.... etc ...
informix
Informix support => enabled
Active Persistent links => 0
Active links => 0
ESQL/C Version => 9.52
Directive => Local Value => Master Value
ifx.allow_persistent => On => On
ifx.blobinfile => 0 => 0
ifx.byteasvarchar => 0 => 0
ifx.charasvarchar => 0 => 0
ifx.default_host => no value => no value
ifx.default_password => no value => no value
ifx.default_user => no value => no value
ifx.max_links => Unlimited => Unlimited
ifx.max_persistent => Unlimited => Unlimited
ifx.nullformat => 0 => 0
ifx.textasvarchar => 0 => 0
... etc....
env
PATH =>
/usr/local/sbin:/usr/local/bin:/usr/usrun/bin:/usr/informix/bin:/ifx/4js/rtfgl/bin:/sbin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/bin/X11:/usr/local
INFORMIXDIR => /usr/informix
LD_LIBRARY_PATH => /usr/informix/lib:/usr/informix/lib/esql
..etc...
I made a testifx.php
runs with 'php testifx.php' and it can connect to informix successfully
Is something wrong with the libphp4.so?
Is it corrupt or something else?