How to install Wordpress on Litespeed Enterprise on Ubuntu 20.04

#1
This is my third try. Everytime I click on the IP, it prompts me to download a file.

Basically, I am not a big fan of RAM consuming panels, so I am not using cyberplanel.

Issue I am facing: Whenever I hit the IP in my browser, it's asking me to download a file that says:
<?php/** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */
/** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */ require( dirname( FILE ) . '/wp-blog-header.php' );
I have referred almost all tutorials that show on Google.

What am I doing wrong?
 
#5
Please create a phpinfo page and test it to see if it works or not, also check your installaton steps to see if anything you might miss https://docs.litespeedtech.com/extapp/php/getting_started/#litespeed-repository

If you follow the doc along, it normally should work.
In this document there's one step:
Code:
sudo apt-get install lsphp73 lsphp73-common lsphp73-mysqlnd
But when I run this my system says:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package lsphp73-mysqlnd
Also, when I run:
Code:
sudo apt-cache search lsphp
it shows:
Code:
lsphp72 - server-side, HTML-embedded scripting language (LSAPI binary)
lsphp72-apcu - APC User Cache for PHP
lsphp72-common - Common files for packages built from the PHP source
lsphp72-curl - CURL module for PHP
lsphp72-dbg - Debug symbols for LSPHP70
lsphp72-dev - Files for PHP70 module development
lsphp72-igbinary - igbinary PHP serializer
lsphp72-imagick - Provides a wrapper to the ImageMagick library
lsphp72-imap - IMAP module for PHP
lsphp72-intl - Internationalisation module for PHP
lsphp72-ioncube - PHP extension for interfacing with ioncube
lsphp72-json - JSON module for PHP
lsphp72-ldap - LDAP module for PHP
lsphp72-memcached - memcached extension module for PHP, uses libmemcached
lsphp72-modules-source - PHP 70 modules source package
lsphp72-msgpack - PHP extension for interfacing with MessagePack
lsphp72-mysql - MySQL module for PHP
lsphp72-opcache - Zend OpCache module for PHP
lsphp72-pear - Provides PHP PEAR package
lsphp72-pgsql - PostgreSQL module for PHP
lsphp72-pspell - pspell module for PHP
lsphp72-recode - recode module for PHP
lsphp72-redis - PHP extension for interfacing with Redis
lsphp72-snmp - SNMP module for PHP
lsphp72-sqlite3 - SQLite3 module for PHP
lsphp72-sybase - Sybase module for PHP
lsphp72-tidy - tidy module for PHP
lsphp73 - server-side, HTML-embedded scripting language (LSAPI binary)
lsphp73-apcu - APC User Cache for PHP
lsphp73-common - Common files for packages built from the PHP source
lsphp73-curl - CURL module for PHP
lsphp73-dbg - Debug symbols for LSPHP70
lsphp73-dev - Files for PHP70 module development
lsphp73-igbinary - igbinary PHP serializer
lsphp73-imagick - Provides a wrapper to the ImageMagick library
lsphp73-imap - IMAP module for PHP
lsphp73-intl - Internationalisation module for PHP
lsphp73-ioncube - PHP extension for interfacing with ioncube
lsphp73-json - JSON module for PHP
lsphp73-ldap - LDAP module for PHP
lsphp73-memcached - memcached extension module for PHP, uses libmemcached
lsphp73-modules-source - PHP 70 modules source package
lsphp73-msgpack - PHP extension for interfacing with MessagePack
lsphp73-mysql - MySQL module for PHP
lsphp73-opcache - Zend OpCache module for PHP
lsphp73-pear - Provides PHP PEAR package
lsphp73-pgsql - PostgreSQL module for PHP
lsphp73-pspell - pspell module for PHP
lsphp73-recode - recode module for PHP
lsphp73-redis - PHP extension for interfacing with Redis
lsphp73-snmp - SNMP module for PHP
lsphp73-sqlite3 - SQLite3 module for PHP
lsphp73-sybase - Sybase module for PHP
lsphp73-tidy - tidy module for PHP
lsphp74 - server-side, HTML-embedded scripting language (LSAPI binary)
lsphp74-apcu - APC User Cache for PHP
lsphp74-common - Common files for packages built from the PHP source
lsphp74-curl - CURL module for PHP
lsphp74-dbg - Debug symbols for LSPHP70
lsphp74-dev - Files for PHP70 module development
lsphp74-igbinary - igbinary PHP serializer
lsphp74-imagick - Provides a wrapper to the ImageMagick library
lsphp74-imap - IMAP module for PHP
lsphp74-intl - Internationalisation module for PHP
lsphp74-ioncube - PHP extension for interfacing with ioncube
lsphp74-json - JSON module for PHP
lsphp74-ldap - LDAP module for PHP
lsphp74-memcached - memcached extension module for PHP, uses libmemcached
lsphp74-modules-source - PHP 70 modules source package
lsphp74-msgpack - PHP extension for interfacing with MessagePack
lsphp74-mysql - MySQL module for PHP
lsphp74-opcache - Zend OpCache module for PHP
lsphp74-pear - Provides PHP PEAR package
lsphp74-pgsql - PostgreSQL module for PHP
lsphp74-pspell - pspell module for PHP
lsphp74-redis - PHP extension for interfacing with Redis
lsphp74-snmp - SNMP module for PHP
lsphp74-sqlite3 - SQLite3 module for PHP
lsphp74-sybase - Sybase module for PHP
lsphp74-tidy - tidy module for PHP
Here also, mysqlnd is missing.

Could this be problem??
 

Unique_Eric

Administrator
Staff member
#6
We have updated the package name from mysql-nd to mysql for debian system, will update the doc soon.
Can you take screenshots on both External App and Script handler tabs?

Here's a sample setup script, feel free to give it a try on a fresh server, it might save you some time.
Code:
git clone https://github.com/Code-Egg/lsws1clk.git
lsws1clk/lsws1clk.sh -W
 
#7
We have updated the package name from mysql-nd to mysql for debian system, will update the doc soon.
Can you take screenshots on both External App and Script handler tabs?

Here's a sample setup script, feel free to give it a try on a fresh server, it might save you some time.
Code:
git clone https://github.com/Code-Egg/lsws1clk.git
lsws1clk/lsws1clk.sh -W
Its up and running now.
I am thankful to everyone. I guess I was doing something wrong with PHP. I used php73, earlier I was trying with php74.

Thanks again everyone.
 
Top