I have under:
/usr/local/lib/php/ext/no-debug-non-zts-20020429
all the extensions:
- mmcache.so
- oci8.so
- sql_relay.so
But when I hit php -m, they are not displayed.
I change in php.in the extension_dir to point to this one:/usr/local/lib/php/ext/no-debug-non-zts-20020429
What else I need to do?
Thank you
PHP don't load extensions
Moderator: General Moderators
-
adrianc.grigoras
- Forum Newbie
- Posts: 5
- Joined: Tue Feb 17, 2009 1:40 pm
Re: PHP don't load extensions
You should also explicitly include the extensions in your php.ini file.
So you should add these lines to your php.ini:
Code: Select all
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example:
;
; extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.
Code: Select all
extension=mmcache.so
extension=oci8.so
extension=sql_relay.so
-
adrianc.grigoras
- Forum Newbie
- Posts: 5
- Joined: Tue Feb 17, 2009 1:40 pm
Re: PHP don't load extensions
Thank you. I activate them from php.ini, but I can't find xslt.so. I need to recompile the Php. If I do this, I need to recompile after this all other extensions (mmcache, sql_relay, oci8) or the compile will just do an add?
Re: PHP don't load extensions
What version of php do you run? You could use the XSL extension If you run php5. http://nl3.php.net/manual/en/book.xsl.php
-
adrianc.grigoras
- Forum Newbie
- Posts: 5
- Joined: Tue Feb 17, 2009 1:40 pm
Re: PHP don't load extensions
I run Php-4.4.8
Can I go to php_source_dir/ext/xlst
I run
1. phpize
2. ./configure
3. make
4. make install?
Can I go to php_source_dir/ext/xlst
I run
1. phpize
2. ./configure
3. make
4. make install?
Re: PHP don't load extensions
Check out this page for compiling info: http://nl2.php.net/manual/en/xslt.installation.php