diff --git a/ChangeLog b/ChangeLog index 5d84bc6ce8..5cfc3e2562 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,10 +7,11 @@ $Source$ 2004-07-06 Marc Delisle * libraries/export/xls.php: enable user to specify './tmp' as the - TempDir (use realpath() to find the complete path. Add error trap + TempDir -- use realpath() to find the complete path. Add error trap in case OLE cannot write to directory. Add setTempDir() to enable OLE write in this directory. - * Documentation.html: document the TempDir creation + * Documentation.html: document the TempDir creation and PHP safe mode + issues with PEAR 2004-07-05 Marc Delisle * footer.inc.php, index.php, queryframe.php: bug 981939, database diff --git a/Documentation.html b/Documentation.html index 6e637afdde..ca8a18b368 100755 --- a/Documentation.html +++ b/Documentation.html @@ -3624,7 +3624,7 @@ To create a new, empty mimetype please see libraries/transformations/template_ge enable that?

- You can either export as CSV suitable for MS Excel, what works out of the + You can either export as CSV suitable for MS Excel, which works out of the box or you can try native experimental MS Excel exporter. For enabling this you need to set $cfg['TempDir'] to place where web server user can write (for example './tmp') @@ -3639,6 +3639,14 @@ To create a new, empty mimetype please see libraries/transformations/template_ge (no stable version available yet) and then we tell pear we want to satisfy dependencies.

+

+ If you are running in PHP safe mode, you will have to set + in php.ini the safe_mode_include_dir to the directory + where your PEAR modules are located, for example: +

+
+    safe_mode_include_dir = /usr/local/lib/php
+

To create the temporary directory on a UNIX-based system, you can do: