Problem in Build Matching PHP Binary

pooyan

Well-Known Member
#1
Hello
after i installed lsws, when i Build Matching PHP Binary display error
can you please Build Matching PHP Binary for me?

Thanks!
 

pooyan

Well-Known Member
#2
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 http://us.php.net/get/php-5.2.16.tar.gz/from/us.php.net/mirror
2011-03-03 16:21:04 URL:http://us.php.net/distributions/php-5.2.16.tar.gz [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
http://choon.net/opensource/php/php-5.2.16-mail-header.patch:
2011-03-03 16:21:10 ERROR 404: Not Found.
**ERROR** Could not retrieve mail header patch
 

pooyan

Well-Known Member
#4
run easyapache first.
I Can't recompile easyapache because recompile not finished and display error
i called to cpanel Technical support and they says :
////////////////
Hello,

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?
Regards
 

webizen

Well-Known Member
#11
You are testing sites availability via a 3rd party testing tool http://www.hyperspin.com. 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.
 

pooyan

Well-Known Member
#12
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
 

NiteWave

Administrator
#18
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:

extension="suhosin.so"
zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.2.so"
extension="ixed.5.2.lin"
zend_extension="/usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so"

please check: can ixed.5.2.lin and ioncube_loader_lin_5.2.so 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
PHP:
<?php
echo "hello<br>";
?>
and works but slow.

conclusion: please fine tuning settings of php. lsws itself is working fine.
 
Last edited:
Top