From: Demian K. <dem...@vi...> - 2012-03-02 12:42:38
|
You need to add the instantclient path to your PATH variable. If you follow the instructions under the "Install the Java JDK" step, you can ignore the part about creating a new variable -- just look at the step about editing PATH (which begins "While we are here..."). The idea is that your PATH probably looks something like this right now: c:\Windows;c:\Program Files\php You just need to add the instant client to the end: c:\Windows;c:\Program Files\php;c:\instantclient_11_x Your other problems don't seem to be directly related to the instant client installation. The errors suggest that the PEAR libraries are missing (or at least that VuFind can't find them). If you previously had 1.2 working, then you must have installed them on your system already. You might want to look at your php.ini file and see how the include_path setting is configured -- you may need to adjust it so that it points to the location of your downloaded PEAR code. If you're not sure where that is, you can do a Windows file search for PEAR.php and that should turn it up. Good luck, and let me know if you need more help! - Demian ________________________________________ From: Zoe Friedlander [zfr...@os...] Sent: Thursday, March 01, 2012 8:44 PM To: 'vuf...@li...' Subject: [VuFind-General] questions about installing the PHP OCI Driver for Oracle Hi, The instructions on this page http://vufind.org/wiki/installation_windows#php_oci_driver_for_oracle say, in step 3, to add c:\instantclient_11_x to my system path as described under the Java JDK step. But in the Java JDK step, it refers both to creating a system variable, and also adding a user variable. Which one should I be doing with c:\instantclient_11_x—creating a system variable for it (and if so, what should it be called?), or just adding a user variable? Also, I previously had Vufind 1.2 working (had imported records and had searched the Web interface) but the holdings weren’t displaying correctly, and I hadn’t yet installed the Oracle driver. After installing the Oracle driver (v11_2 by the way) and re-running the PHP installer to add the required extensions, everything went to hell and I couldn’t get Apache to start at all. Finally I installed PHP 5.2.17 manually, and now Apache starts, but when I point my browser to vufind (http://my_internal_server/vufind) I see this: Warning: require_once(PEAR.php) [function.require-once<http://server49.oscars.local/vufind/function.require-once>]: failed to open stream: No such file or directory in C:\vufind\web\index.php on line 43 Fatal error: require_once() [function.require<http://server49.oscars.local/vufind/function.require>]: Failed opening required 'PEAR.php' (include_path='.;C:\php5\pear') in C:\vufind\web\index.php on line 43 Does anything spring to mind as the likely problem? Thanks very much. Windows Server 2008 Apache 2.2.21 MySQL 5.5.17 PHP 5.2.17 Zoe Friedlander • Systems Librarian • Margaret Herrick Library –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– Academy of Motion Picture Arts and Sciences |