Compiling PHP with extension; CLI works, Apache doesn't

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just compiled PHP with an extension for testing purposes (mnoGoSearch). After all was said and done, the CLI version sees the mnogosearch extension just fine ("php -m"), but the Apache module doesn't see it at all (nothing "mnogosearch" related at all in "PHPINFO()").

I've added "extension=mnogosearch.so" to php.ini.

I'm pretty sure that with other extensions I've tried in the past, there was nothing special necessary to make an extension work among the different PHP APIs.

My PHP compile line:

./configure --prefix=/usr/local/php \
  --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr \
  --with-gettext --enable-ftp --with-zlib --with-pspell --with-curl \
  --with-mcrypt --with-mnogosearch=shared,/usr/local/mnogosearch \
  --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --disable-cgi

The vital server software:

  PHP 5.0.2
  Apache 1.3.31
  RH Enterprise Linux 3 (Update 3)

Am I missing something?

--
Aaron Gould
Parts Canada - Web Developer

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux