From: <php...@li...> - 2012-02-14 13:25:43
|
Hello, I have Javabridge set up on Apache Tomcat 6. I have a php application that needs to use the php_xls.dll. I need to enable this extension, but am running into problems. I searched the forums, and found <http://php-java-bridge.sourceforge.net/pjb/FAQ.html> http://php-java-bridge.sourceforge.net/pjb/FAQ.html but I am still having problems. I am clearly confused on how to set this up. So far I have: Copied the "php-cgi.exe" file from the "D:\Program Files\PHP" folder to the "WEB-INF\cgi\x86-windows" folder. I have copied all of the dll files from the "D:\Program Files\PHP\ext" folder to the "WEB-INF\cgi\x86-windows\ext" folder. I have created a .ini file for all of these extensions and included them in the "WEB-INF\cgi\x86-windows\conf.d" folder. - ex. mysql.ini has {extension="php_mysql.dll"} as its only content. I have not added anything to the "WEB-INF/pear" folder as I don't know what goes there. Opening phpinfo(); works, but doesn't show any of my extensions loaded, including mysql. A "php.ini" file is generated in the "WEB-INF\cgi\x86-windows" folder, but only contains: ;; -*- mode: Scheme; tab-width:4 -*- ;; A simple php.ini ;; DO NOT EDIT THIS FILE! ;; Add your configuration files to the D:\Tomcat 6.0\webapps\tpms\WEB-INF\cgi\x86-windows\conf.d instead. ;; PHP extensions go to D:\Tomcat 6.0\webapps\tpms\WEB-INF\cgi\x86-windows\ext. Please see phpinfo() for ABI version details. extension_dir="D:\Tomcat 6.0\webapps\tpms\WEB-INF\cgi\x86-windows\ext" include_path="D:\Tomcat 6.0\webapps\tpms\WEB-INF\pear;." Any help would be greatly appreciated. Squared |