Apache to Litespeed in Cpanel

Discussion in 'Apache Migration/Compatibility' started by kuts, Jan 28, 2008.

  1. kuts

    kuts New Member

  2. mistwang

    mistwang LiteSpeed Staff

    That's correct. everything is still managed by cPanel.
  3. kuts

    kuts New Member

    another question

    can a VPS license be used on a dedicated server? (even with the 500 concurrent user limit)
  4. mistwang

    mistwang LiteSpeed Staff

    No, VPS license only works in a VPS, not in a physical server.
  5. kuts

    kuts New Member

    I'm using Directadmin and I tried rebuilding php 5 using actions --> compile php and I was able to compile it without error but the phpinfo.php still displays 4.4.8. I already restarted litespeed via control panel and shell. I also restarted the VPS but still 4.4.8.
  6. kuts

    kuts New Member

    figured it out

    mv /opt/lsws/fcgi-bin/lsphp /opt/lsws/fcgi-bin/lsphp.old

    cp sapi/litespeed/php /opt/lsws/fcgi-bin/lsphp

    service lsws restart
  7. kuts

    kuts New Member

    I have one error in litespeed panel

    [config:server:listener] No listener is available for normal virtual host!

    how do I fix that?

    TIA
  8. mistwang

    mistwang LiteSpeed Staff

    You can ignore that warning message. has no harm when you use LSWS with Apache httpd.conf
  9. kuts

    kuts New Member

    I get this messages

    Code:
    2008-01-30 03:23:51.334	ERROR	[config:server:epsr:lsphp5] invalid path - /opt/lsws/fcgi-bin/lsphp5, it cannot be started by Web server!
    2008-01-30 03:23:51.334	WARN	[config:server:epsr:lsphp4] Improper configuration: the value of PHP_LSAPI_CHILDREN should not be less than 'Max connections', 'Max connections' is reduced to 35.
    2008-01-30 03:23:51.334	ERROR	[config:scripthandler] Can not find handler with type: 8, name: lsphp5.
    2008-01-30 03:23:51.334	ERROR	[config:scripthandler] Can not find External Application: lsphp5, type: lsapi
    2008-01-30 03:23:51.334	ERROR	[config:scripthandler] use static file handler for suffix [php5]
    2008-01-30 03:23:51.335	ERROR	[config] rewrite: unknown server variable while parsing: VALUES
    2008-01-30 03:23:51.335	ERROR	[config] rewrite: unknown server variable while parsing: VALUES
    2008-01-30 03:23:51.335	ERROR	[config] rewrite: unknown server variable while parsing: PHPSESSID
    2008-01-30 03:23:51.335	ERROR	[config] rewrite: unknown server variable while parsing: sessionid
    2008-01-30 03:23:51.340	ERROR	Document root /nON eXIST does not exist!
    I manually built PHP with the following configuration

    './configure' '--enable-bcmath' '--enable-calendar' '--enable-discard-path' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-soap' '--enable-sockets' '--enable-wddx' '--prefix=/opt/lsws/lsphp5' '--with-litespeed' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mysql' '--with-mysqli' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-png-dir=/usr' '--with-pspell' '--with-sqlite=shared' '--with-tidy=/opt/tidy/' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr/X11R6' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr'

    Please help
  10. kuts

    kuts New Member

    Another question is how do I change the port of Litespeed panel?

    When I installed it I wasn't asked of the admin port because I chose the installation with the control panel.
  11. mistwang

    mistwang LiteSpeed Staff

  12. mistwang

    mistwang LiteSpeed Staff

    The default cPanel configuration comes with php4 and php5 support, if you only use one version of PHP, you can remove one set of lsphp external app and associated script handler configuration.

Share This Page