Autor Tópico: [Resolvido] Habilitar SQLite no php5  (Lida 4648 vezes)

Offline MaRxMR

  • Usuário Ubuntu
  • *
  • Mensagens: 142
    • Ver perfil
[Resolvido] Habilitar SQLite no php5
« Online: 26 de Junho de 2008, 23:56 »
Estou tentando instalar no Hardy um sistema que requer suporte a sqlite no php5 e a coisa não anda de jeito nenhum. Já instalei tudo relacionado a php5 + Apache2 + Postgresql + sqlite, editei o /etc/php5/apache2/php.ini e habilitei a extensão sqlite.so:

Código: [Selecionar]
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
;   extension=modulename.extension
;
; For example, on Windows:
;
extension=mysql.so
;
; ... or under UNIX:
;
extension=sqlite.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.

Reiniciei o apache, reiniciei o PC e sqlite e php nada de se entenderem:

http://img50.imageshack.us/img50/2294/miolozp3.png

Nem o Mysql se entende nessa peleja. O meu phpinfo() retorna isso aqui:

http://img170.imageshack.us/img170/4909/phpinfovc2.png

E estou seguindo esse tutorial do sistema:

http://200.180.156.28:8081/svn/miolo2/trunk/INSTALL.portugues

Será que ceguei e não acho o que falta nessa instalação? Empaquei nisso há dois dias!

RESOLVIDO

A solução foi colocar extension=sqlite3.so que resolveu. Acho que eu já tinha colocado assim e esquecido de reiniciar o apache.
« Última modificação: 27 de Junho de 2008, 23:22 por MaRxMR »