Follow the tutorial below to create a Virtual-Host-Level External App. An error will occur
https://openlitespeed.org/kb/change-php-settings-by-vhost-and-user/
https://openlitespeed.org/kb/change-php-settings-by-vhost-and-user/
Fatal error: Uncaught Error: Call to undefined function mysql_connect()
Code:
[client]
port = 5656
socket = /var/run/mysqld/mysqld.sock
[mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0
skip-syslog
[mysqld]
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 5656
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc_messages_dir = /usr/share/mysql
lc_messages = en_US
max_allowed_packet = 64M ## 128M for Recommend or 32M every 1GB of RAM
skip-external-locking
skip-character-set-client-handshake
skip-host-cache
skip_name_resolve
ignore-db-dirs=lost+found
bind-address = 127.0.0.1
#skip-networking