Search results

  1. G

    [Resolved] lsphp: failed to map segment from shared object: Cannot allocate memory

    # uname -a Linux iwebtwo.danslereseau.com 2.6.18-194.26.1.el5xen #1 SMP Tue Nov 9 13:35:30 EST 2010 x86_64 x86_64 x86_64 GNU/Linux PHP (5.3.3) compiled using LSWS. # php -i | head phpinfo() PHP Version => 5.3.3 System => Linux iwebtwo.danslereseau.com 2.6.18-194.26.1.el5xen #1 SMP...
  2. G

    Custom log format for use with CloudFlare

    Thanks. I'll see with them if that's supposed to be like this. I'd think HTTP-CF-Connecting-IP should be the client IP, not the proxy IP.
  3. G

    Custom log format for use with CloudFlare

    Yes, they are the same: http://ip.danslereseau.com/
  4. G

    Custom log format for use with CloudFlare

    Apparently, they already do fill that header! It was not documented, thus why I didn't think it was, but enabling this option did give me the correct IP in my logs! Big thanks for the pointer. Good day.
  5. G

    Custom log format for use with CloudFlare

    Sadly, no. It's HTTP_CF_CONNECTING_IP. Not sure why they don't use the standard X-Forwarded-For... Will ask them if maybe they could add an option to allow me to choose between both in my account settings... Would indeed fix the problem. Thanks.
  6. G

    Custom log format for use with CloudFlare

    Hi, I enabled CloudFlare on a couple of my websites a couple of days ago, and now faced the problem where the real IP addresses of my visitor is not in my logs anymore. CloudFlare sends the real IP of clients using a custom HTTP header, but since I'm not using the Enterprise version of LS...
  7. G

    4.0.2: 403 error for all static files

    (Yes, all my VH are configured from LS admin interface, not httpd.conf) Even files in directly in VH_ROOT returned 403. Example: Domain = www.danslereseau.com VH_ROOT = $SERVER_ROOT/www-html/dlr http://www.danslereseau.com/index.php returned 403.
  8. G

    4.0.2: 403 error for all static files

    My VH_ROOTs are all something like: $SERVER_ROOT/www-html/xyz Where $SERVER_ROOT/www-html is a symlink to /var/www/html With "Restrained" enabled, requests to any VH with a VH_ROOT that contains a symlink return 403 because of that, but I don't think it should.
  9. G

    4.0.2: 403 error for all static files

    Same thing here. 4.0.1 doesn't have this problem. Can't see anything in the log files.
  10. G

    ls 3.3 -- error compile php

    /usr/bin/ld is a real executable. (365,300b size; vi shows binary data starting with ..ELF...) I tried to enable the apache account temporarily to try ld: [root@myself /]# su apache - bash-3.1$ which ld /usr/bin/ld bash-3.1$ ld ld: no input files bash-3.1$ and ./configure in...
  11. G

    ls 3.3 -- error compile php

    I got the same error. Looking in config.log, I saw this: configure:2535: checking for C compiler default output file name configure:2538: gcc conftest.c >&5 collect2: cannot find 'ld' configure:2541: $? = 1 configure: failed program was: Trying to find ld from a shell: # which ld...
  12. G

    All PHP calls stopped working

    I found my problem! Instead of copying sapi/litespeed/php to lsws/fcgi-bin/, I copied /php5/bin/php in there! Oopsy!
  13. G

    All PHP calls stopped working

    Renaming my php.ini to php.ini.bak seems to fix the problem if I go back to PHP 5.2.2. It still doesn't work with PHP 5.2.3 though. I'll continue to debug in this direction.
  14. G

    All PHP calls stopped working

    That file is empty: -rw-r--r-- 1 apache apache 0 Oct 3 12:14 stderr.log I also tried to go back to using old LSAPI PHP 5.1.6 and 5.2.2 binaries that I kept around, and it's not working. I'm positive that those binaries were working in the past, which makes me think something is...
  15. G

    All PHP calls stopped working

    I tried with PHP 4, and it works fine: http://megaone.danslereseau.com/ping.php3
  16. G

    All PHP calls stopped working

    I've been using 5.2.x for quite a while now. I tried disabling eAccelerator, but it didn't help. [root@megaone fcgi-bin]# vi ../conf/php.ini [root@megaone fcgi-bin]# ./lsphp -i | grep -i eacc [root@megaone fcgi-bin]# ./lsphp -i | grep -i APC [root@megaone fcgi-bin]# service lsws restart
  17. G

    All PHP calls stopped working

    All my PHP scripts stopped working today on LS 3.2.3 STD. I re-compiled my PHP (5.2.3 LSAPI) earlier today, but I've tried to go back to what it was before, and it doesn't help. root@megaone fcgi-bin]# ./lsphp -i | grep configure Configure Command => './configure' '--prefix=/php5'...
  18. G

    Failed auto-update

    Seems an error occurred during the last auto-update download of 3.0.3: [root@machine autoupdate]# cat lsws-3.0.3-std-i386-linux.tar.gz <html><head><title>408 Request Timeout</title></head><body> <h2>Request Timeout</h2> <p>This request takes too long to process, it is timed out by the server...
  19. G

    500 Server Error on 3.0 - works fine on 2.2.6

    Will LS 2.2.6 send me an email when 3.0.1 will be avail ? Or will only 3.0 send notices about new 3.x releases ? - Guillaume
  20. G

    500 Server Error on 3.0 - works fine on 2.2.6

    No, I can't use gzip instead of deflate. This script is used by a client which only understand deflate, and not gzip. I'll wait for your fix; until then, I'll keep using 2.2.6. Thanks.
Top