Re: PHP 4.3.2 extensions building problem?
| From: | Lukasz Karapuda | Date: | Sat, 19 Jul 2003 23:11:11 +0000 |
| Subject: | Re: PHP 4.3.2 extensions building problem? | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-11315@lists.php.net to get a copy of this message | ||
Michael,
Thanks for the clarification. Now it makes sense that only shared
extensions are placed into the
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ directory.
All the extensions work correctly, besides mysql. I tried compiling
with the bundled mysql libraries (---with-mysql) and with the mysql
libraries which i have currently installed on my system
(---with-mysql=/usr). In both cases the make is successful but the
extension is not working. When i do php -m (CLI) it lists all the
extensions including mysql.
I fixed the problem by installing mysql.so from the php-mysql RPM and
enabling it in php.ini. However i am concerned why i couldn't get it
to work the "normal" way.
Thanks in advance for your help,
Lukasz Karapuda
On Sat, 19 Jul 2003 20:14:44 +0200, elmicha@php.net (Michael Mauch)
wrote:
>Lukasz Karapuda wrote:
>
>> I am trying to build and install PHP 4.3.2 on Linux RedHat 7.3. The
>> configure, make and make install commands generate correct output.
>>
>> The phpinfo() tells me that all the extensions I compiled in are
>> enabled.
>>
>> However the extensions installation folder:
>> /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ contains no
>> files. The extensions obviously DO NOT work.
>
>What do you mean by "obviously DO NOT work"?
>
>a) I tried them and they did not work.
>b) I guess that they don't work, because there are no files in that
> directory.
>
>> This are my configure params:
>> ./configure --with-mysql --with-apxs=/usr/sbin/apxs --with-zlib \
>> --enable-bcmath --with-bz2 --with-curl --with-dom \
>> --enable-exif --enable-ftp --with-gd --with-ttf \
>> --with-mime-magic=/usr/share/magic.mime \
>> --with-mnogosearch=/usr --with-pdflib \
>> --enable-xslt --with-xslt-sablot --with-sablot-js --with-kerberos
>>
>> Any ideas what the problem is?
>
>There is no problem. Only shared extensions go into that extensions
>directory. Compiled-in extensions are built into libphp4.so.
>
>Regards...
> Michael