Search results

  1. J

    [Resolved] PEAR PHP Path Error

    OK this works, so if ever someone or myself needs this again: In Magento install root: cp pear pear2 Now open pear2 with vi/vim and find this part around line 63: # find which PHP binary to use if test "x$MAGE_PEAR_PHP_BIN" != "x"; then PHP="$MAGE_PEAR_PHP_BIN" else PHP=php fi And...
  2. J

    [Resolved] PEAR PHP Path Error

    # /opt/lsws/lsphp5/bin/pear -i That works, so that runs as CLI. But this does not work: Seems like I will need to merge those files to get the best of both.
  3. J

    [Resolved] PEAR PHP Path Error

    OK to answer my own question, the php.ini is not the binary as I suspected. It should have /opt/lsws/fcgi-bin/lsphp-5.2.13 as the binary path instead. Then pear no longer chokes, but it does still have problems: Getting closer... Key line appears to be "Run in Command Line Interpreter mode...
  4. J

    [Resolved] PEAR PHP Path Error

    I'm an idiot, at the top of the file it had comments to set the PHP binary path. # REPLACE with your PHP5 binary path (example: /usr/local/php5/bin/php ) Does it want the .ini or do they mean something else with PHP5 Binary? When I enter the path and php.ini there I get a new error: In...
  5. J

    [Resolved] PEAR PHP Path Error

    Hi, I'm trying to update Magento with PEAR but it complains of not being able to find PHP. I built PHP 5.2.13 with: So --with-pear is there. But I get this error: [qoute] # ./pear mage-setup Error: ./pear: line 91: exec: php: not found Line 91 is: exec $PHP -C -q $INCARG -d...
  6. J

    Permission issues with SugarCRM

    Thanks. So is there an advantage to making doc root UID nobody for all vhosts, or would you advise they are unique for each vhost? I have lke 12 vhosts in: /home/websites/domain1.com /home/websites/domain2.com /home/websites/domain3.com /home/websites/domain4.com etc. All lsadm:lsadm
  7. J

    Permission issues with SugarCRM

    Hi, I have a virtual host dedicated ot one SugarCRM CE 6.2.4 install. I keep getting minor permission issues which I can't see the origin of. VH settings: ExtApp Set UID Mode DocRoot UID The owner of the docroot is lsadm:lsadm So based on that simple info, I understand LSWS...
  8. J

    LiteSpeed Cache + Magento

    Glad you mention Magento but shame it's on hold! I'm working on this myself and aim to adopt your vB approach. You are right, when they put something in the cart or start comparing items, pages should start to be rendered dynamically. Or with such "dynamic holes" indeed. But if LSWS can't do...
  9. J

    Content-Aware Caching

    Thanks for the detailed examples, that's really helpful. Last questions, I think! 1. If we put those rules in htaccess, do we also have to turn caching on in the admin? 2. In the admin > Server > Cache I have Storage Path /home/lswscache - which permissions do you recommend? The VH I'm testing...
  10. J

    Content-Aware Caching

    Do these rules only work after we configure Server > Cache or VHost > [VHOST] > Cache in the admin GUI? And we simply put them in htaccess file just like other Mod_Rewrite rules, right? And how can we verify whether it's working, does it output certain headers we can look for that...
  11. J

    Content-Aware Caching

    I stand corrected, that's nice to know. Makes it a lot more flexible than QUERY only. SESSION would still be ultimate but at least now we can simply drop a cookie parameter that tells us whether or not LSWS should show a cached page or a live one.
  12. J

    Content-Aware Caching

    Thanks. So it seems like for this purpose it's pretty much limited to query string, effectively. Can't look in cookies or sessions with this so the e-commerce system needs to add a url parameter if it doesn't want LSWS to use a cached page to a specific visitor. That's a start but doesn't give...
  13. J

    Mod_Security Implementation Documentation Petition

    I'm pleased to see in the .17 and .18 release notes that progress has been made in this department. Is there any up to date documentation on this or a more in-depth explanation of what has been added in these latest versions?
  14. J

    Content-Aware Caching

    I will be revisiting our options in this department again and like PSS, also wonder where best to go for documentation. As we have both a VPS and an Enterprise license, it would be nice to have access to detailed documentation on exactly how to accomplish this.
  15. J

    [Resolved] Comodo InstantSSL Chained CA-Bundle

    Thanks, that seems to work. That SSL checker now has green ticks all over, great!
  16. J

    PHP File Writing Permissions

    Hi, This issue is still present. I have exactly what you say, with a VHost level script handler which has a name different from the default. It handles PHP. The DocRoot UID is owned by lsadm:lsadm and a file further down the document tree is also owned by lsadm:lsadm In the PHP script I...
  17. J

    [Resolved] Comodo InstantSSL Chained CA-Bundle

    Thanks, I'll try that. Comodo just suggested to put the bundle certificate inside the normal certificate file. Normal certificate up top, followed by the bundle. I'll try that as well just in case.
  18. J

    [Resolved] Comodo InstantSSL Chained CA-Bundle

    Hi, We use Comodo InstantSSL for some of our domains. I'd simply upload the crt to /conf/cert where the key is too, then give the SSl Private Key File, Certificate File and leave Chained No. That then works fine for almost everybody. But every now and then, some people say they...
  19. J

    libjpeg.(a|so) not found. But it's there!

    Still ge tthe same message now I finally tried it with 4.0.16. Both PHP 4.2.13 and 14 don't work, same error. "configure: error: libjpeg.(a|so) not found" I said earlier it's Centos 5.4 but I believe it's actually 5.5 kernel 2.6.18-194.8.1.el5 It does extract php-litespeed-5.4.tgz as you...
  20. J

    Content-Aware Caching

    But that controls the browser cache, doesn't it? I mean serving a static HTML copy of otherwise dynamic content, so we save opcoding and DB querying those pages before sending the HTML to the browser. Like Squid/Varnish or reverse proxies etc. I believe Litespeed Load Balancer offers it too if...
Top