This information is available in the file your_dir_pmb/doc/pre_requisite.txt This version of the pre_requisite.txt is the pre_requisite.txt,v 1.4 2004/08/08 17:38:52 touraine37.
Configuration de PHP : php.ini
The address of this file for an installation on Windows
\windows\
or :
\rep_install_apache\apache\
What you need to check :
GD Library : check whether it is available and has been activated (barcode creation)
PHP_YAZ Library : check whether it is available and has been activated (z39.50 search)
PHP_BZ2 Library : check whether it is available and has been activated (database backups)
PHP_XSLT : check whether it is available and has been activated (database backups)
The changes you need to do in the file php.ini
;;;;;;;;;;;;;;;;;;;
Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 120 ; Maximum execution time of each script, in seconds
extend to 120 seconds
Extensions :
extension=php_bz2.dll
extension=php_gd.dll or extension=php_gd2.dll
extension=php_yaz.dll
extension=php_xslt.dll
The corresponding DLL must be copied into \windows\system32, caution, use the dll supplied with your php distribution package, for reasons of compatibility.
These DLL have to be available in the PHP directory or php\dlls for a separate php installation or EasyPHP\php for an installation with EasyPHP. The DLL are the following : expat.dll, iconv.dll, sablot.dll, yaz.dll.
To be able to upload larger files found in attached electronic documents, you need to increase the importance of max upload :
Maximum allowed size for uploaded files.
upload_max_filesize = 16M
Separate case :
extension=php_mime_magic.dll
mime_magic.magicfile = "c:\easyphp\php\magic.mime"
This extension, optional, allows you to retrieve the file types of electronic documents cleanly. By default, PMB will use the file extension to find its children. Think about commenting (creating if necessary) the line
mime_magic.magicfile = "c:\easyphp\php\magic.mime"
by indicating the correct path to the file magic.mime.
For an installation on Linux, the parameters of php.ini are identical except for ".so" extensions. You may have to restart the compilation if you haven't got the latest updates. Fortunately some distributions do include these packages already compiled, or ready for download on the web without necessitating any compilation.
Consult the section on your operating system in this PMB Installation guide.
Installing the php_xslt.dll library
For Windows and EasyPHP, you need to activate the php_xslt.dll library in the file php.ini, and copy the dlls expat.dll, iconv.dll, sablot.dll from the EasyPHP\php directory into Windows\System.
Specific configuration for MySQL
To be able to upload larger electronic documents, you need to increase the size of MySQL packets. Find the file my.ini or equivalent, look for the line :
set-variable = max_allowed_packet=1M
and set it at
set-variable= max_allowed_packet=16M
Note the 16M giving you right to keep files with sizes up to 16MB.