Problem in Build Matching PHP Binary

Discussion in 'Install/Configuration' started by pooyan, Mar 3, 2011.

  1. pooyan

    pooyan Well-Known Member

    after i installed lsws, when i Build Matching PHP Binary display error
    can you please Build Matching PHP Binary for me?

  2. pooyan

    pooyan Well-Known Member

    Build PHP Using Apache Configuration with LSAPI
    Progress: Stopped due to Error

    Start building PHP 5.2.16 with LSAPI
    Thu Mar 3 16:20:40 IRST 2011

    Changing to build directory /home/cpeasyapache/ls.src
    Cannot find php build directory for cPanel, will download source code
    Retrieving PHP source archive from
    2011-03-03 16:21:04 URL: [11804143/11804143] -> "php-5.2.16.tar.gz" [1]
    Extracting PHP source archive: tar -zxf php-5.2.16.tar.gz

    Retrieving mail header patch
    2011-03-03 16:21:10 ERROR 404: Not Found.
    **ERROR** Could not retrieve mail header patch
  3. mistwang

    mistwang LiteSpeed Staff

    run easyapache first.
  4. pooyan

    pooyan Well-Known Member

    I Can't recompile easyapache because recompile not finished and display error
    i called to cpanel Technical support and they says :

    This server has litespeed installed and is not supported by us.

    root@server [~]# ps auxw|grep http
    root 10084 0.0 0.0 22452 6692 ? S< 14:25 0:00 litespeed (lshttpd)
    nobody 10086 0.5 0.1 26320 10132 ? S< 14:25 0:04 litespeed (lshttpd)
    root 11122 0.1 0.0 22448 6688 ? S< 14:38 0:00 litespeed (lshttpd)
    root 11123 0.0 0.0 5872 440 ? S< 14:38 0:00 httpd (lscgid)
    nobody 11124 0.0 0.0 23652 7440 ? S< 14:38 0:00 litespeed (lshttpd)
    nobody 11125 0.0 0.0 22416 6504 ? S< 14:38 0:00 litespeed (lshttpd)
    root 11373 0.0 0.0 61160 748 pts/0 S+ 14:39 0:00 grep http
    root 12762 0.0 0.0 22452 6712 ? S< 14:12 0:00 litespeed (lshttpd)
    nobody 12766 0.5 0.1 27052 10992 ? S< 14:12 0:09 litespeed (lshttpd)
    root@server [~]#

    Litespeed would need to be removed in order for us to proceed with compiling Apache/PHP via EasyApache.

    Thank You!

    Level II Technical Analyst
    cPanel, Inc.

    Can you please fix my problem?
  5. webizen

    webizen Well-Known Member

    install the latest 4.0.20 which should handle the missing mail patch issue.
  6. pooyan

    pooyan Well-Known Member

    I upgraded lsws to latest version but problem not fixed
    Dear mistwang working in my problem

  7. pooyan

    pooyan Well-Known Member

    All sites every few minutes are down and when i restart lsws sites up
    please help me
  8. pooyan

    pooyan Well-Known Member

    can anybody help me?
  9. webizen

    webizen Well-Known Member

    is everything ok now?
  10. pooyan

    pooyan Well-Known Member

    Thank you for answer!

    No! all sites in some times down
    connection is very low

    i sent to you server login access

  11. webizen

    webizen Well-Known Member

    You are testing sites availability via a 3rd party testing tool Even though the tool shows the site in question is not responsive does NOT necessarily indicate the site (web server) is down, it could be network connectivity problem (closer to the server) that caused these agents unable to connect to the server. To assess web server availability, it is better to setup a probe on the local host. You may correlate the data (localhost's and 3rd party's) to determine the nature of the problem.
  12. pooyan

    pooyan Well-Known Member

    When the Requests / Sec More than 20 numbers and Traffic Out / Sec is more than 1000kb litespeed be down

    my server port access can transfer ~65MB Per S
    There is little pressure on the server now, a few hours more and the pressure litespeed Can not give all the requests
  13. pooyan

    pooyan Well-Known Member

    I'm sure, I believe my server port not have any problem
  14. pooyan

    pooyan Well-Known Member

    My problem not fixed,
  15. pooyan

    pooyan Well-Known Member

    Attached Files:

  16. pooyan

    pooyan Well-Known Member

  17. pooyan

    pooyan Well-Known Member

    Last edited: Mar 7, 2011
  18. NiteWave

    NiteWave Administrator

    couple of problems found at your server:

    1)many IPs are banned by iptables
    #iptables -nL

    2)can't run phpinfo()
    /home/tehXXXX/public_html>/usr/local/lsws/fcgi-bin/lsphp5 p.php
    Warning: phpinfo() has been disabled for security reasons in /home/tehXXXX/public_html/p.php on line 2

    3)tons of error in /usr/apache/logs/stderr.log:
    [STDERR] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/: cannot read file data: Is a directory in Unknown on line 0
    after comment off some lines in /usr/local/lib/php.ini, no more errors to stderr.log:


    please check: can ixed.5.2.lin and be loaded at the same time? and the sequence of the .so in php.ini is important in some cases.

    original php.ini saved as php.ini.000

    4)I created a simplest /home/tehXXXX/public_html/p2.php
    echo "hello<br>";
    and works but slow.

    conclusion: please fine tuning settings of php. lsws itself is working fine.
    Last edited: Mar 7, 2011
  19. pooyan

    pooyan Well-Known Member

    Can you fix top problems?
    i can pay money
  20. NiteWave

    NiteWave Administrator

    I think I've fixed the top problem -- php not working at all.

    further discussion into PM

Share This Page