Search results

  1. 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...
  2. 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...
  3. 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...
  4. J

    Content-Aware Caching

    Hi, I'm looking at options to save cached versions of otherwise dynamically created pages, but only to those requests that make sense. It's for an online shop so once a product is added to the basket for example, we need to stop caching. We also show "recently viewed products" in a...
  5. J

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

    Hi, Trying to compile PHP 5.2.13 on Centos 5.4. Two contradicting lines highlighted. It mentions opt as I tried this bug workaround: http://bugs.php.net/bug.php?id=33685&edit=1 libjpeg.so is actually in /usr/lib and even if I say --with-jpeg --enable-jpg --with-jpeg-dir=/usr or...
  6. J

    Mod_Security Implementation Documentation Petition

    Hi, It seems that LSWS doesn't fully support all mod_security features and it is unclear what its limitations exactly are. Using rules from popular subscription lists is a difficult task, not knowing what we can and can't do with LSWS in terms of this well-establish security feature...
  7. J

    Out of swapping space while reading request body!

    Got this "out of swapping space while reading request body!" just now on an Enterprise license whilst trying to use a webmail kind of script, sending out an email with two attachments. One just short of 2Mb and one not even 1Mb. PHP upload limit is 12Mb. Plenty of disk space and with 4Gb of...
  8. J

    Mod_Security Question

    Like all of us, I get a lot of vulnerability probers all day every day. I've not had time to link up Fail2Ban with LSWS properly so I'm looking to do a quick Mod-Security rule to nip at least a few if I can in the meanwhile. But I don't have much experience with Mod_Security rules and I...
  9. J

    eAccelerator Purges Automatically = Not Wanted

    Hi, I have eAccelerator working, on PHP 5.2.13 I can see in the control.php admin that it is caching scripts as intended. Here are my settings: extension="eaccelerator.so" eaccelerator.shm_size="32" eaccelerator.cache_dir="/tmp/eaccelerator" eaccelerator.enable="1"...
  10. J

    PHP File Writing Permissions

    Hi, I can't seem to get this right. When a script needs write access to a folder, for example for sessions or error logs, in apache I simply chown-ed them apache:apache and left them chmod 755. Now with Litespeed, I can't figure out who executes the script. In the server-wide...
  11. J

    Custom PHP Script Handler

    Hi, Following this thread: http://www.litespeedtech.com/support/forum/showthread.php?t=3995 I've now compiled: 1 x PHP 5.3.2 called "lsphpcerb" 1 x PHP 5.2.13 called "lsphpmage" In /opt/lsws/ I can see those two folders, lsphpcerb and lsphpmage In fcgi-bin I have this: Now I set up a...
  12. J

    Suhosin Problem: 0.9.9 should be 0.9.9.1

    Hi, Just tried to compile PHP 5.3.2 and I get this in the logs: Note it's not downloading anything. looking on the official website, the download link should be one version up: http://www.hardened-php.net/suhosin/download.html...
  13. J

    [Resolved] One VH with Different PHP Version

    Hi, I'm looking at ways to accomplish the following. For one bit of PHP software I'd like to run 5.2.13. For another script I'd like to go with 5.3.latest Right now they are both on the same domain, hence on the same virtualhost. I can split them by virtualhost if this makes it...
  14. J

    [Resolved] How to Install and Compile PHP with MailParse?

    I've got everything compiled now but for MailParse. I need MailParse for Cerberus. The server runs CentOS 5.x Their wiki suggests this method: wiki.cerb4.com/wiki/Installing_PHP_Mailparse#For_RHEL_5 Is this the right approach on getting Litespeed Web Server to run with php and...
  15. J

    configure: error: libjpeg.(a|so) not found.

    We have two paid licenses. The first installation, on a 32 bit VPS went OK and is running smoothly, no hiccups for months. The second installation of lsws on a 64 bit dedicated server went fine, but PHP compilation is giving me grief. The server is CentOS 5.4, pretty bare. configure: error...
Top