Search results

  1. N

    Prevent use of php_flag

    please try if not yet: http://theserverpages.com/php/manual/en/ref.apache.php
  2. N

    too-many-files-open issue with 5.2.12

    Thanks for the update. I'd quote piece of info from above url here: "PHP was spawned and remains persistent for use with the Litespeed web server (uses the LSAPI interface), so it would run out of file descriptors between 1 and 12 hours on my site."
  3. N

    Swap Folder Cleanup

    "it's doing nothing" -- may due to a typo in the script: root_dr should be root_dir
  4. N

    How to block these?

    install fail2ban, configure it as I suggested in previous post. The IP will be blocked by firewall -- iptables, so not reach lsws and not leave more logs in error_log
  5. N

    How to block these?

    you can try fail2ban to search error_log for "File not found". configure it for example during 1 minutes, there are 15 "File not found" log entries from a single IP, then ban the IP for 10 minutes.
  6. N

    [Resolved] LiteSpeed and WordPress

    if phpbuild/php-5.2.13/sapi/litespeed/lsapi_main.c is same with latest one, then no need rebuild and maybe other problem. if different, try rebuild.
  7. N

    [Resolved] LiteSpeed and WordPress

    please rebuild php, it may resolve the issue. when did you build php last time?
  8. N

    Xcache Problem

    for 503 error, check stderr.log or just run /usr/local/lsws/fcgi-bin/lsphp5 -i, it should give your hint why php not start up.
  9. N

    Xcache Problem

    does apache and lsws share same php.ini ?
  10. N

    [Resolved] PHP & MySQL problem

    php.ini not exist for a fresh lsphp build. pick one from phpbuild folder and copy to /usr/local/lsws/lsphp5/lib/ . for example, cp /usr/local/lsws/phpbuild/php-5.3.2/php.ini-production /usr/local/lsws/lsphp5/lib/php.ini
  11. N

    [Resolved] PHP & MySQL problem

    per output of "yum search libpng", should be yum install libpng-devel.i386
  12. N

    [Resolved] PHP & MySQL problem

    the general way to resolve this kind of build warning/error(assume on centOS) : #yum search libxml2 .... libxml2.i386 : Library providing XML and HTML support libxml2.x86_64 : Library providing XML and HTML support libxml2-devel.i386 : Libraries, includes, etc. to develop XML and HTML...
  13. N

    [Resolved] PHP & MySQL problem

    build lsphp5 yourself: lsws admin console --> Actions --> Compile PHP
  14. N

    [Resolved] can not connect to mysql

    have you changed back in php.ini to ? anyway, settings in various places need to be consistent: 1.ps -ef|grep mysql "--socket=/var/lib/mysql/mysql.sock should be there per your previous post, now it's there 2. ls -l /var/lib/mysql/ check if mysql.sock exists 3.check...
  15. N

    [Resolved] can not connect to mysql

    add --socket=/var/lib/mysql/mysql.sock to start mysqld so that in "ps -ef|grep mysql" it looks like /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/361399-live2.boxlive.tv.pid --skip-external-locking --socket=/var/lib/mysql/mysql.sock
  16. N

    [Resolved] can not connect to mysql

    phpinfo() will tell which php.ini loaded
  17. N

    [Resolved] can not connect to mysql

    it's "mysql.sock=", not "mysql.sock" can you try php.ini ; Default socket name for local MySQL connects. If empty, uses the built-in ; MySQL defaults. mysql.default_socket = "/var/lib/mysql/mysql.sock="
  18. N

    [Resolved] can not connect to mysql

    check if mysql.sock is there? please paste output of
  19. N

    503 error on joomla component

    need more info to identify the issue. can you demonstrate us how to reproduce it?
  20. N

    Litespeed banned itself ?

    Sorry. should be "ALL, 66.220.2.*T". My previous post was wrong. means "66.220.2.*T" is trusted IPs at any time. "will be excluded from connection/throttling limits"
Top