the warning is irrelative to curl. add
date.timezone="America/Los_Angeles" etc will eliminate the warning message.
there should be no problem for 5.3.3 with curl -- I just built it a few days ago.
please record the error message during php build.
and, if not read apache's httpd.conf, in lsws native configuration, Expires header is enabled by default for png/js/css/jpg.
I'd mark this thread as Resolved.
to reduce the fragmentation, you may try apc.ttl = 0
http://php.net/manual/en/apc.configuration.php
also, try latest APC 3.1.4, to further tune and improve the php's performance.
tested with the URL, not exact same, in my case:
HTTP-X-Forwarded-For: xx.xx.xx.xx,yy.yy.yy.yy
HTTP-CF-Connecting-IP: yy.yy.yy.yy
xx.xx.xx.xx is my IP, yy.yy.yy.yy is my ISP's http proxy IP.
this is not the manual upgrade way.
download the whole 4.0.17 package to a folder,say /usr/local/lsws/autoupdate,
tar zxvf lsws-4.0.17....tar.gz
cd lsws-4.0.17
./install.sh
auto upgrade will be available soon.
you need install the develop package first. in CentOS, it's:
freetds-devel.x86_64 : Header files, libraries and development documentation for freetds
in debian, may need search the package first:
aptitude search freetds
the install it.
mssql: need compile your php with --with-mssql and --enable-msdblib. please refer php manual - http://www.php.net/manual/en/mssql.installation.php
mysql: php manul - http://www.php.net/manual/en/mysql.installation.php
all servers in a data center should be better than a few data centers.
maybe 1 litespeed server is enough. enable its anti-DDOS features, filter requests, while serve filtered requests.
now in 4.0.17, mod_security directive in .htaccess can be disabled, configuration is at server level, in admin console. please download and test ... not formally release yet but may be soon.
installing lsws on DDOS protected datacenter will help a bit. that's hardware + software double protection.
but looks not good idea? you have to pay the traffic between 2 data centers, and transferring between the 2 DCs will be slow compared with LAN.