ive just migrated my entire server to running on litespeed(albeit the free version, i dont have the users to warrent exorbitant fees for enterprise) and it is absolutly excellent,alot faster than apache and much less load
Printable View
ive just migrated my entire server to running on litespeed(albeit the free version, i dont have the users to warrent exorbitant fees for enterprise) and it is absolutly excellent,alot faster than apache and much less load
I've also hear that there are some issues with cPanel V11 and adding domains but I don't have 100% of the details yet. I'm "guessing" it's because cPanel wants to hup/graceful apache and it's not there, but I have to do some more research.
Frank
or simply supply your own apachectl script where the stop/start/restart/graceful functions simply do "nothing" and then cpanel will "think" it's done it's work.
Frank
As a side note, I'd be very curious as to what parameters people are using to build the LSAPI php module. We've having a bit of a compatibility issue when use use --with-gd and --with-dom.
It's getting a bit OT, but if you can post your configure options I'm sure everyone reading this thread will appreciate it.
Frank
I haven't had issues with either of those. I don't think your issues are related to the use of the LSAPI. Have you tried downloading the "generic" PHP source from php.net, and then trying to do a compile? If it doesn't work both ways, then it isn't an LSAPI issue...
layer0,
Yes, we know it's not a LSAP issue per-se. It's an issue building php (period) with --with-gd and --with-dom-xsl/--with-dom-exslt enabled. We've had the --with-dom* parms enabled "forever" and it simply won't compile by hand. The configure throws an error related to GD, but it's really things that the dom parms are brining in that are causing the issue.
The weird part is that it compiles fine with easyapache and those options.
We can remove the --with-dom-xsl/--with-dom-exslt and it compiles fine, but it will take a bit of research to see what we're going to break.
Frank
I tried litespeed on my new server. It worked fine with PHP. The only thing which I was feeling bad was it does not comes integrated in DA nor there are any modules to install. If you have any please let me know.
well I had a lil trouble but just following the wiki install and using my current config minus the apxs modules it worked great. Using eaccelerator, zend opt, ioncube all with no problems.
Here is my configure on php 5.23
Code:Command './configure' '--prefix=/php5' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--enable-exif' '--with-swf=/usr/local/flash' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-gettext' '--with-imap=/usr/local/imap-2004g' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' '--with-mhash' '--enable-magic-quotes' '--with-mm' '--with-mysqli' '--with-mysql=/usr' '--with-openssl' '--enable-discard-path' '--with-pear' '--with-pspell' '--enable-safe-mode' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--enable-wddx' '--with-xmlrpc' '--with-zip' '--with-zlib' '--with-litespeed' '--with-config-file-path=../php'
I keep seeing this LSAPI being module mentioned.
Is it the equivalent of modphp?
Does it run as the owner of the Litespeed process as Apache does?
No, from what I can see it's similar to fast-cgi but more effecient.Quote:
Is it the equivalent of modphp?
It's up to you. You can run it just like mod_php (no suexec) or you can run it just like suexec.Quote:
Does it run as the owner of the Litespeed process as Apache does?
Frank
It is similar to mod_php in that you may use php_flag or php_value via .htaccess to override the server-side PHP configuration (php.ini).Quote:
No, from what I can see it's similar to fast-cgi but more effecient.
One thing that I did notice from poking around their forum is that if you use the free version it does not use your httpd.conf mod_security rules. Only the Enterprise version will ready the mod_security rules from httpd.conf.