[cvs] [Wiki] changed: FAQ/Admin/Troubleshoot

Eric Rostetter eric.rostetter at physics.utexas.edu
Wed Oct 11 11:22:38 PDT 2006


ericr  Wed, 11 Oct 2006 11:22:37 -0700

Modified page: http://wiki.horde.org/FAQ/Admin/Troubleshoot
New Revision:  6.17
Change log:  restart web server if changing php.ini files

@@ -28,9 +28,9 @@
  
  Remember to remove read permission ({{chmod a-r}}) from the file when you have finished testing.
  
  +++ "Fatal error: Allowed memory size of ### bytes exhausted..."
-Either recompile PHP //without// the {{--enable-memory-limit}} option, or increase the value of {{memory_limit}} in your {{php.ini}} file.
+Either recompile PHP //without// the {{--enable-memory-limit}} option, or increase the value of {{memory_limit}} in your {{php.ini}} file.  Note that when making a change to your {{php.ini}} file you will probably need to restart your web server in order for the changes to become active.
  
  +++ "Fatal error: Undefined class name 'log' in ..."
  +++ "Failed opening 'Log.php' for inclusion"
  Your PHP PEAR implementation is missing the PEAR Log package. This is a common problem with the PHP 4.2.1 PEAR for example. You can install it via the network if you have a standalone php/pear command. See the file {{[http://www.horde.org/horde/docs/?f=INSTALL.html horde/docs/INSTALL]}} for more information on how to install the required PEAR packages this way. Otherwise you can download Log and other required PEAR packages (e.g. from http://pear.php.net/get/Log) and manually install them inside your PEAR directory. You may also need to install the modules Mail_Mime and Net_Socket. Horde's {{test.php}} script will give you an overview of which required PEAR packages are installed and which are missing.
@@ -56,8 +56,10 @@
  log_errors = On
  error_log = syslog ; goes to NT event log on NT-based machines
  ; error_log = /var/log/php_error
  </code>
+
+Note that when making a change to your {{php.ini}} file you will probably need to restart your web server in order for the changes to become active.
  
  +++ "output handler 'ob_gzhandler' cannot be used twice in..."
  **[Horde 2.x]:** You enabled output compression in both your php.ini configuration file and in your horde configuration file (either horde/config/horde.php or horde/config/conf.php). Disable it in one of these two locations. Current Horde versions check to see if the gz output buffer is in place before adding it again.
  


More information about the cvs mailing list