I’ve been wracking my brain trying to figure out what I did here. I don’t know how I possibly could have, but I messed up the default version of PHP that a website created through the web API uses. I can successfully change the PHP version after creation via the GUI, the nonexistent default causes a wordpress installation to fail, with the only fix being to delete the entire website over again and start over. I want to use /usr/local/lsws/lsphp74. The automated install seems to point it to lsphp70, which doesn’t exist, and I can’t seem to be able to update the PATH. Help!
root@wordpresshost:/home/wordpresshost.io# /usr/local/lsws/bin/openlitespeed -t
2021-12-13 01:21:30.940928 [ERROR] [2703] [config:server:vhosts:vhost:thing.com:epsr:thing1918.655340] invalid path - /usr/local/lsws/lsphp70/bin/lsphp, it cannot be started by Web server!
2021-12-13 01:21:30.941013 [ERROR] [2703] [config:server:vhosts:vhost:thing.com:scripthandler:add] HttpMime::addMimeHandler getHandler with name thing1918 ret (nil)
2021-12-13 01:21:30.941017 [ERROR] [2703] [config:server:vhosts:vhost:thing.com:scripthandler:add] use static file handler for suffix [php]
