loading extension fails
| From: | Joe Stump | Date: | Sat, 23 Jun 2001 18:11:34 +0000 |
| Subject: | loading extension fails | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-54981@lists.php.net to get a copy of this message | ||
I've successfully compiled an extension for my php builder (pgsql.so) by doing
the following:
phpize
./configure
make
I then copied my shiny new extension to
/usr/lib/php4/extensions/no-debug-non-zts-20001222 - which is where all my other
php extensions are (mysql.so, gd.so, imap.so, etc). Then I head off to restart
apache so I can start using my shiny new extension. To my surprise I get the
following error:
PHP Warning: Invalid library (maybe not a PHP library) 'pgsql.so' in Unknown on line 0
Am I missing something?
--Joe
Joe Stump <joe@joestump.net>
------------------------------------------------------------------------
"NT is the only OS that has caused me to beat a piece of hardware to
death with my bare hands."