Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
vufind2:installation_windows [2015/12/08 19:18] – ↷ Links adapted because of a move operation demiankatz | installation:windows [2015/12/08 19:39] – ↷ Links adapted because of a move operation demiankatz |
---|
One important piece of the MySQL installation is the library file, libmysql.dll. If Windows cannot find this file, you may get errors about a missing database driver when you try to view pages in VuFind. Depending on which operating system/software versions you end up using, you may not have to do anything special to make this work. However, if you run into trouble after completing the other steps of the VuFind installation process, try these options: | One important piece of the MySQL installation is the library file, libmysql.dll. If Windows cannot find this file, you may get errors about a missing database driver when you try to view pages in VuFind. Depending on which operating system/software versions you end up using, you may not have to do anything special to make this work. However, if you run into trouble after completing the other steps of the VuFind installation process, try these options: |
| |
1.) Make sure that libmysql.dll is in your PHP directory and that your PHP directory is included in your system path (as described below in the [[installation_windows#install_the_java_jdk|Java JDK]] step). | 1.) Make sure that libmysql.dll is in your PHP directory and that your PHP directory is included in your system path (as described below in the [[windows#install_the_java_jdk|Java JDK]] step). |
| |
2.) If libmysql.dll is not in your PHP directory, it may be in your MySQL directory (usually something like C:\Program Files\MySQL\MySQL Server 5.0\bin). It may help to add this directory to your system path as well. Warning: If the file is in BOTH your PHP //AND// MySQL directories, the PHP version is probably the correct one, and using the MySQL version may cause problems. In some scenarios, you may actually need to REMOVE the MySQL directory from your path to solve this problem. | 2.) If libmysql.dll is not in your PHP directory, it may be in your MySQL directory (usually something like C:\Program Files\MySQL\MySQL Server 5.0\bin). It may help to add this directory to your system path as well. Warning: If the file is in BOTH your PHP //AND// MySQL directories, the PHP version is probably the correct one, and using the MySQL version may cause problems. In some scenarios, you may actually need to REMOVE the MySQL directory from your path to solve this problem. |
* It is possible that PHP will install some extensions without all of the necessary library files. If this happens, starting up PHP will lead to a series of pop-up alerts. To fix the problem, simply edit the php.ini file (usually found in c:\Program Files\PHP\, and also available via Start Menu shortcut) and comment out (by putting a semi-colon in front) the offending modules (found in lines like extension=php_*.dll). If you actually need some of the affected modules, you may have to track down copies of the missing files; Google searches for error messages are usually helpful for this. | * It is possible that PHP will install some extensions without all of the necessary library files. If this happens, starting up PHP will lead to a series of pop-up alerts. To fix the problem, simply edit the php.ini file (usually found in c:\Program Files\PHP\, and also available via Start Menu shortcut) and comment out (by putting a semi-colon in front) the offending modules (found in lines like extension=php_*.dll). If you actually need some of the affected modules, you may have to track down copies of the missing files; Google searches for error messages are usually helpful for this. |
* If you are using XAMPP instead of separate components, the installation process won't ask you about extensions. Instead, you will have to manually uncomment the relevant lines in your php.ini file. | * If you are using XAMPP instead of separate components, the installation process won't ask you about extensions. Instead, you will have to manually uncomment the relevant lines in your php.ini file. |
* If you are a Voyager library, you will also need to install the PHP OCI Driver for Oracle – see [[..:installing_the_php_oci_driver_for_oracle|this page]] for detailed instructions. | * If you are a Voyager library, you will also need to install the PHP OCI Driver for Oracle – see [[php_oci|this page]] for detailed instructions. |
| |
==== 5. Install the Java JDK ==== | ==== 5. Install the Java JDK ==== |