White Screen of Death

Discussion in 'Server Operation' started by ccbiz, Sep 21, 2007.

  1. ccbiz

    ccbiz New Member

    Hello,

    i am running a Vserver SuSE 9.3 with Confixx Premium 2003. After a Update of MySQL to Version 4.1.22 and PHP Version 5.2.3 the Confixx browser panel is unreacheable. In the Error log of the Virtual Host are following errors:
    Code:
    [Fri Sep 21 17:30:50 2007] [error] [client 84.171.53.62] PHP Fatal error:  Allowed memory size of 262144 bytes exhausted (tried to allocate 19456 bytes) in /srv/www/confixx/html/functions.inc.php on line 246
    
    Settings in php.ini are 128 MB available for script space. When setting up php_admin_value in confixx the same error is logged. I don´t know how to locate this problem :(
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Are you sure you took a look at the right php.ini? Because the error says that the current memory limit is 256MB, not 128MB.
     
  3. ccbiz

    ccbiz New Member

    Thanks for your response. I used to edit php.ini in /etc/php5/apache2/php.ini
    But even if I set the right php.ini, why does a simple confixx script run out of memory after update? The server has got 256 MB RAM so i cannot screw up memory limitations to test. Screwing down would change nothing but the out of memory value in the error log.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    I think that the Confixx web interface uses a different php.ini. What's the output of
    Code:
    updatedb
    locate php.ini
    ?
     
  5. ccbiz

    ccbiz New Member

    only an error message. whereis locates the file in a directory that doesnt contain a php.ini

    Code:
    user:/ # locate php.ini
    -bash: locate: command not found
    user:/ # whereis php.ini
    php: /usr/bin/php /usr/share/man/man1/php.1.gz
    user:/ #
    
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Install these two packages:
    Code:
    yast2 -i findutils findutils-locate
    and run
    Code:
    updatedb
    locate php.ini
    again.
     

Share This Page