質問

I would like to ask about php java bridge. Curently I am working with php 5.2.9 on tomcat 7. I am running the php by using PHP Java Bridge. In this situation I would like to add some php extensions, such as sqlite, pdo, ldap, etc.

I have add the extension to folder ext ((D:\Tomcat\webapps\gasteparkplatze_03\WEB-INF\cgi\amd64-windows\ext) on my folder. And also I have add it to my php.ini (D:\Tomcat\webapps\gasteparkplatze_03\WEB-INF\cgi\amd64-windows)

But, I face a trouble. Everytime I start my tomcat, there is an error, that say the library is not found. I have checked the directory path many times and nothing is wrong with it.

Here is the content of my php.ini file:

;; -*- mode: Scheme; tab-width:4 -*-
;; A simple php.ini
;; DO NOT EDIT THIS FILE!
;; Add your configuration files to the D:\Tomcat\webapps\JavaBridgeTemplate621\WEB-INF\cgi\amd64-windows\conf.d instead.
;; PHP extensions go to D:\Tomcat\webapps\JavaBridgeTemplate621\WEB-INF\cgi\amd64-windows\ext. Please see phpinfo() for ABI version details.
extension_dir="D:\Tomcat\webapps\gasteparkplatze_03\WEB-INF\cgi\amd64-windows\ext"
include_path="D:\Tomcat\webapps\gasteparkplatze_03\WEB-INF\pear;."

extension=php_sqlite.dll

How can I solve this problem? Thanks.

役に立ちましたか?

解決

Problem solved 'by changing the "extension=php_sqlite.dll" into "extension=php_pdo_sqlite.dll"' in php.ini.

P.S. Try not to leave the questions unanswered.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top