Search results

  1. M

    Imagemagick

    You can try increase the memory limit for lsphp5 external app. Maybe your user were trying to process a large file? Also check /usr/local/apache/logs/stderr.log for related errors.
  2. M

    503 Errors - APC with cPanel matched PHP binary

    should be under the directory where PHP script located. To get a core dump, you need to check and enable core dump with ulimit -c if it return 0, core dump is disabled. ulimit -c 100000 will enable it. then need to stop then start LSWS.
  3. M

    503 Errors - APC with cPanel matched PHP binary

    Once you got the core file, just run gdb <path_to_lsphp5> <core_file> then type command bt to list the call stack.
  4. M

    503 Errors - APC with cPanel matched PHP binary

    Which version of PHP is used? Maybe you can try downgrade PHP version. How about Apache mod_php? will APC or Xcache crash it? The problem is between PHP and opcode cache, you can try to let lsphp5 dump core file and exam the core file with GDB. To let lsphp5 dump core file, you need to add...
  5. M

    RedirectMatch gone instruction

    The latest 4.0rc1 build should be able to take care of the <DirectoryMatch...> configuration.
  6. M

    503 Errors - APC with cPanel matched PHP binary

    Since you do not use PHP suEXEC, you can try strace the parent lsphp5 process with command strace -f -p <pid_of_lsphp5> when you get 503 errors. It can give you some hints on why PHP crashed for some reason.
  7. M

    503 Errors - APC with cPanel matched PHP binary

    Maybe you have set process limits of lsphp5 too low? check how many lsphp5 processes do you get? I think for some reason, APC crashes PHP, maybe look into other cache solutions like eAccelerator or xcache.
  8. M

    503 Errors - APC with cPanel matched PHP binary

    You should use LAN for DB connection. always use the fastest available connection.
  9. M

    503 Errors - APC with cPanel matched PHP binary

    Are you using a VPS? What is the cache memory size for APC in php.ini? maybe you need to reduce the cache memory size, especially when you use PHP suEXEC. Maybe you should disable PHP suEXEC if you use VPS to host a few web sites, not for shared hosting.
  10. M

    /opt/lsws/phpbuild/phpbuild.1235068196.2.sh: 16: curl: not found

    Please check if it is a permission problem for "curl", "wget" binary. Make sure to give execution permission to the user that LiteSpeed run as.
  11. M

    Can't enable cache

    Should be able to, give it a try.
  12. M

    RedirectMatch gone instruction

    LiteSpeed pre-compile <location...> <Directory...> directives, this <directoryMatch ...> directive is intended to match document root directory of all web sites, so it will match all requests and causes other "...Match" directives being ignored as LiteSpeed always use the first match. The...
  13. M

    Disable persistent connections

    The latest 4.0rc1 build should have addressed the double/triple posts problem.
  14. M

    503 Errors - APC with cPanel matched PHP binary

    Do you get anything in stderr.log?
  15. M

    Disable persistent connections

    Yes, it is fine.
  16. M

    Litespeed v4 upgrade

    Just do a upgrade like normal, no reinstall. For lease license, upgrade is always free. Owned license's update has not expired.
  17. M

    Load balancer installation

    LB cannot reach the second server.
  18. M

    Can't enable cache

    Make sure to enable the cache with Apache mod_cache directive CacheEnable ... Some site like vB, does not allow page being cached.
  19. M

    Load balancer installation

    It depends on the LB configuration. LB may not route traffic to second server when all traffic comes from the same IP. You should use "stateless" and "Round Robin" to make LB route traffic to second server.
  20. M

    Demos do not work

    Thanks! Fixed.
Top