Fw: [apache-br] extension no RH9
| From: | Mauricio | Date: | Thu, 18 Dec 2003 00:03:08 +0000 |
| Subject: | Fw: [apache-br] extension no RH9 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-172914@lists.php.net to get a copy of this message | ||
Hello All!
I installed Oracle 9i and it's working perfectly. I use a linux server to
connect using a client in this other machine.
I need to put HTTPD 2.0.40, PHP 4.2.2, Oracle 9i working together on a
RedHat 9...
Hardly, searching on the web, I could compile the oracle.so module using the
same version of php and httpd I have. It compiled with no errors and I got
the oracle.so and oracle.la on modules directory.
Looking for what I should do next, I read .ini of PHP on how to make that
module works. So, as it says, a copied the module in the extension_dir
(/usr/lib/php4) and created a oracle.ini in /etc/php.d.
Even when I restart the service or restart the computer I still get the same
error message:
Fatal error: Call to undefined function: ocilogon() in
/var/www/html/teste_db.php on line 18
I compiled the module, in this case, because I would like to let apache with
all modules that it is installed now.
Am I forgeting someting here to make it works?
Somebody could help me with it???
Thanks people!
Maurício
----- Original Message -----
From: "Mauricio" <mauricio@agp5.com.br>
To: <Undisclosed-Recipient:@agp5.com.br;>
Sent: Wednesday, December 17, 2003 9:25 PM
Subject: [apache-br] extension no RH9
> Olá Todos!
>
> Estou com o Oracle 9i instalado e funcionando corretamente sendo acessado
de
> uma outra máquina Linux;
> RedHat 9.0
> A versão do httpd é a 2.0.40 e o PHP é o 4.2.2.
>
> Com muito custo, consegui compilar a biblioteca do oracle como uma
extension
> para o php/apache. O módulo é criado sem problemas e ele encontra todas as
> bibliotecas do oracle no $ORACLE_HOME.
>
> Meu problema é que não estou conseguindo carregar este módulo nem pelo
> APACHE e nem pelo PHP.
>
> Lendo os comentarios dos .conf e .ini do PHP vi que é necessário criar um
> arquivo chamado oracle.ini no diretório /etc/php.d e colocar o módulo
> oracle.so no extension_dir (/usr/lib/php4).
>
> Mas mesmo assim reiniciando o httpd o Apache/PHP relata o mesmo erro:
>
> Fatal error: Call to undefined function: ocilogon() in
> /var/www/html/teste_db.php on line 18
>
> Será que existe mais alguma coisa a ser feita para que o Apache/Php
> encontrem as bibliotecas compartilhadas do Oracle?
>
> Alguém pode me ajudar?
>
> Obrigado!
>
> Maurício
>
>
>
> http://linuxserver.linuxsecurity.com.br
>
> Para cancelar sua assinatura envie um e-mail para:
> apache-br-unsubscribe@yahoogroups.com
>
> Para mandar e-mail ao Moderador:
> apache-br-owner@yahoogroups.com ou
> marcelo.fujiwara@terra.com.br
>
>
>
>
> Seu uso do Yahoo! Grupos é sujeito às regras descritas em:
http://br.yahoo.com/info/utos.html
>