ID: 8753
User Update by: [EMAIL PROTECTED]
Status: Closed
Bug Type: Dynamic loading
Operating system: Linux
PHP Version: 4.0.4pl1
Description: Dynamic load library error
I can try --with-pgsql=shared, but what if I want to add
support for mysql? Do I need to recompile php? I think
modules can solve this problem, but this is not working
(not on my PC). sorry.
Previous Comments:
---------------------------------------------------------------------------
[2001-06-20 01:05:40] [EMAIL PROTECTED]
Sorry, I just forgot to write down phpsize, but I used it.
There is a still same error, even in version 4.0.5, plus
there is an error vhen stand-alone program finishing its
executing, so changes are not writing in database (even if
error - segmentation fault - occurs after ibase_close
function). That's why I still want to use older version.
---------------------------------------------------------------------------
[2001-06-19 09:55:46] [EMAIL PROTECTED]
And if you really want to have shared extensions, you can
compile them same time you compile main PHP by configuring like this:
--with-pgsql=shared
--Jani
---------------------------------------------------------------------------
[2001-06-19 09:54:53] [EMAIL PROTECTED]
You seem to be skipping one important step here: phpize
Try reading these instructions found in the package:
README.SELF-CONTAINED-EXTENSIONS
And exactly WHY do you want to do this?
It's better to configure with everything in the first place..
Also, update to 4.0.5 as it has some fixes regarding this issue.
--Jani
---------------------------------------------------------------------------
[2001-06-15 02:05:12] [EMAIL PROTECTED]
how did I compile PHP?
# ./configure --enable-versioning --enable-track-vars
--with-imap=/usr/local/src/imap-4.7
--with-apxs=/usr/local/apache/bin/apxs
# make
# make install
and modul (for example pgsql):
# mkdir /tmp/newext
# cd /tmp/newext/
# cp -rp /usr/local/src/php-4.0.5/ext/pgsql/* .
# ./configure
# make install
# cd /usr/local/lib/php/extensions/
# cp no-debug-non-zts-20001222/pgsql.so .
# pico /usr/local/lib/php.ini // uncommenting
extension=pgsql.so
# php
PHP Warning: Invalid library (maybe not a PHP library)
'pgsql.so' in Unknown on line 0
Using RH7.1, PHP 4.0.5
---------------------------------------------------------------------------
[2001-06-14 16:37:28] [EMAIL PROTECTED]
How did you compile PHP ? What was the configure line used?
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the
comments, please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=8753
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]