Hi all,
I see how to use APR...
I juste have a question. When I compile APR/APU with oracle, why I don't I the
library apr_dbd_oracle.so?
Because when I launch apache, it says :
PHP Warning: PHP Startup: oci8: Unable to initialize module\nModule compiled
with module API=20050922, debug=0, thread-safety=0\nPHP compiled with module
API=20060613, debug=0, thread-safety=0\nThese options need to match\n in
Unknown on line 0
PHP Warning: PHP Startup: soap: Unable to initialize module\nModule compiled
with module API=20050922, debug=0, thread-safety=0\nPHP compiled with module
API=20060613, debug=0, thread-safety=0\nThese options need to match\n in
Unknown on line 0
PHP Warning: PHP Startup: tokenizer: Unable to initialize module\nModule
compiled with module API=20050922, debug=0, thread-safety=0\nPHP compiled
with module API=20060613, debug=0, thread-safety=0\nThese options need to
match\n in Unknown on line 0
PHP Warning: Zend Optimizer does not support this version of PHP - please
upgrade to the latest version of Zend Optimizer in Unknown on line 0
PHP Warning: Zend Debug Server does not support this version of PHP - please
upgrade to the latest version of Zend Debug Server in Unknown on line 0
[Wed Jan 17 12:00:28 2007] [crit] (70023)This function has not been implemented
on this platform: DBD: driver for [DBDriver unset] not available
[Wed Jan 17 12:00:28 2007] [crit] (70023)This function has not been implemented
on this platform: DBD: failed to initialise
[Wed Jan 17 12:00:28 2007] [crit] (70023)This function has not been implemented
on this platform: DBD: driver for [DBDriver unset] not available
[Wed Jan 17 12:00:28 2007] [crit] (70023)This function has not been implemented
on this platform: DBD: failed to initialise
[Wed Jan 17 12:00:28 2007] [crit] (70023)This function has not been implemented
on this platform: DBD: driver for [DBDriver unset] not available
[Wed Jan 17 12:00:28 2007] [crit] (70023)This function has not been implemented
on this platform: DBD: failed to initialise
[Wed Jan 17 12:00:28 2007] [crit] (70023)This function has not been implemented
on this platform: DBD: driver for [DBDriver unset] not available
[Wed Jan 17 12:00:28 2007] [crit] (70023)This function has not been implemented
on this platform: DBD: failed to initialise
[Wed Jan 17 12:00:28 2007] [notice] Apache/2.2.3 (Unix) PHP/5.2.0 configured --
resuming normal operations
[Wed Jan 17 12:00:28 2007] [crit] (70023)This function has not been implemented
on this platform: DBD: driver for [DBDriver unset] not available
[Wed Jan 17 12:00:28 2007] [crit] (70023)This function has not been implemented
on this platform: DBD: failed to initialise
[Wed Jan 17 12:00:48 2007] [error] [client 127.0.0.1]
/usr/local/apache2/cgi-bin/cgictest.cgi: error while loading shared libraries:
libapr-1.so.0: cannot open shared object file: No such file or directory
[Wed Jan 17 12:00:48 2007] [error] [client 127.0.0.1] Premature end of script
headers: cgictest.cgi
[Wed Jan 17 12:00:48 2007] [error] [client 127.0.0.1] File does not exist:
/usr/local/apache2/htdocs/favicon.ico
[Wed Jan 17 12:00:49 2007] [crit] (70023)This function has not been implemented
on this platform: DBD: driver for [DBDriver unset] not available
[Wed Jan 17 12:00:49 2007] [crit] (70023)This function has not been implemented
on this platform: DBD: failed to initialise
So, DBD failed as I declare in httpd.conf:
<VirtualHost 127.0.0.1:8085>
DBDriver oracle
DBDParams "user=nds pass=oracle dbname=XE server=nux2187:1521"
DBDMin 5
DBDKeep 20
DBDMax 50
DBDExptime 120
#DBDPrepareSQL, DBDPersist
</VirtualHost>
With DBDriver oracle, apache will load apr_dbd_oracle.so but this library is
not present!!!
Any Ideas?
Thanks,
Jérémie
-----Message d'origine-----
De : Bojan Smojver [mailto:[EMAIL PROTECTED]
Envoyé : mardi 16 janvier 2007 22:13
À : Garnier, Jeremie
Cc : Justin Erenkrantz; [email protected]
Objet : RE: APR, Oracle and PHP
On Tue, 2007-01-16 at 16:53 +0100, Garnier, Jeremie wrote:
> How I can simply use it to make some test with oracle (10g)?
apr_dbd_init
apr_dbd_get_driver
apr_dbd_open
apr_dbd_query/select
apr_dbd_close
> How can I manage the pool connection using mod_dbd?
Once you link Apache against APR/APU 1.3.0, in much the same way as with
any other database back-end, I would think.
--
Bojan
***********************************************************************************
Information contained in this email message is confidential and may be
privileged, and is intended only for use of the individual or entity named
above. If the reader of this message is not the intended recipient, or the
employee or agent responsible to deliver it to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this communication
in error, please immediately notify the [EMAIL PROTECTED] and destroy the
original message.
***********************************************************************************