The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP Errors

Discussion in 'General Discussion' started by virtualroot, Aug 1, 2009.

  1. virtualroot

    virtualroot Registered

    Joined:
    Oct 29, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello, after update PHP 5.2.9 to PHP 5.2.10 the servers shows this errors and the PHP sessions doesn't work anymore in some sites.

    Apache error_log:
    Code:
    [Sat Aug 01 18:14:52 2009] [error] [client XXX.XXX.XXX.XXX] PHP Warning:  PHP Startup: mm_create(0, /session_mm_cgi-fcgi33412) failed, err mm:core: failed to open semaphore file (Permission denied) in Unknown on line 0
    [Sat Aug 01 18:23:09 2009] [error] [client XXX.XXX.XXX.XXX] PHP Warning:  PHP Startup: Unable to load dynamic library '/home/bomberos/php/ext/php_pdo_mysql.dll' - /home/bomberos/php/ext/php_pdo_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
    [Sat Aug 01 18:25:37 2009] [error] [client XXX.XXX.XXX.XXX] PHP Warning:  PHP Startup: mm_create(0, /session_mm_cgi-fcgi32641) failed, err mm:core: failed to open semaphore file (Permission denied) in Unknown on line 0, referer: http://XXX/
     
  2. virtualroot

    virtualroot Registered

    Joined:
    Oct 29, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    With firefox some sites shows this error

    Redirect Loop

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
     
  3. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Before getting into other items, your errors suggest you may have a permission issue you may want to look into.

    Also, are you running FastCGI? If you are running PHP as SuPHP, you should not be running FastCGI when you compile Apache. There are a number of technical reasons for this but bottom line is that running both can cause you some compatibility issues and can actually slow performance of your server instead of improving it as you might otherwise think.

    Now regarding sessions, you may want to take a very close look at your PHP.INI file (/usr/local/lib/php.ini) and check your settings for setting up your sessions. Sometimes when PHP is recompiled (any version - doesn't matter),
    the PHP.INI file will get updated and you might lose your settings to allow for sessions. This is usually a very quick fix though so check your PHP.INI file first.
     
Loading...

Share This Page