Click here to get back home

PHP Startup: Invalid library (maybe not a PHP library)

 HomeNewsGroups | Search

comp.lang.php - PHP programming language discussions 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
PHP Startup: Invalid library (maybe not a PHP library) =?ISO-8859-1?B?QW5kcukgSORuc2V 06-26-2008
Posted by =?ISO-8859-1?B?QW5kcukgSORuc2V on June 26, 2008, 6:12 pm
Please log in for more thread options
Hi,

I am using PHP on the command line. PHP version is 5.2.0-8+etch11
(cli) from Debian Sarge.

Apparently there is no informix extension in the package, so I got the
PHP 5.2.0 source and built it with --disable-all --with-
informix=3Dshared.

When I try to load the extension I get:
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library)
'informix.so' in Unknown on line 0

What was my mistake?

Regards,
Andr=E9

PS: There's no need to answer "using Debian". ;)

Posted by Jerry Stuckle on June 26, 2008, 9:07 pm
Please log in for more thread options
André Hänsel wrote:
show/hide quoted text

I don't use Infomix, but do you have the Infomix client installed, and
are the libraries available to your user?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Posted by C. (http://symcbean.blogspot.c on June 27, 2008, 8:21 am
Please log in for more thread options
show/hide quoted text

checking the output of `strace php` might shed more light on missing
files

C.

Posted by AnrDaemon on June 29, 2008, 7:27 pm
Please log in for more thread options
Greetings, André Hänsel.
In reply to Your message dated Friday, June 27, 2008, 02:12:01,

show/hide quoted text

show/hide quoted text

show/hide quoted text

show/hide quoted text

Don't try to load shared libraries as PHP extensions.


--


Posted by =?ISO-8859-1?B?QW5kcukgSORuc2V on July 1, 2008, 10:49 am
Please log in for more thread options
show/hide quoted text

I don't understand. I thought, PHP extensions were shared libraries?

Similar ThreadsPosted
HELP!! PHP Warning: PHP Startup: Unable to load dynamic library 'c:\PHP\Ext\php_mysql.dll' - The specified procedure could not be found. in Unknown on line 0 May 31, 2006, 2:16 pm
C/C++ library from PHP January 27, 2005, 2:33 am
C/C++ library from PHP January 29, 2005, 11:49 am
GD Library May 13, 2005, 2:12 pm
PHP and GD library December 6, 2005, 7:19 am
GD library October 26, 2006, 3:29 pm
Looking for RSA library for PHP July 25, 2008, 4:40 am
what's the best authentication library? July 14, 2004, 9:11 am
Re: what's the best authentication library? July 14, 2004, 2:03 pm
Why library is visible? February 14, 2005, 2:49 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy