We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

SuPHP vs LSAPI | Forum

Ken
Ken Sep 27 '21
Oxwall works great with SuPHP but when switch to LSAPI which is faster but I get blank pages when saving or submitting anything.... are there any solution to run LSAPI without blank page issues
The Forum post is edited by Ken Sep 27 '21
Jamie Pat
Jamie Pat Oct 4 '21

I'm no expert however after switching from php-fpm to lsapi on my dedicated server with CPanel and CloudLinux I have experienced a massive improvement in performance specially on busy WordPress sites. Mind you I also upgraded the latest version of PHP.

The combination of both has been excellent in my personal experience.

ux design services

AppXprt
AppXprt Oct 4 '21
Ken, it is probably related to your .htaccess file which needs to be setup for lsapi.
Look at how Wordpress does it with wordfence installed, it will tell you it needs to be optimized and even do it for you. Pretty sure LSAPI requires CloudLinux, so make sure you're running that first.
Ken
Ken Oct 5 '21
Yes can you generate a htaccess for LSAPI to test pl
AppXprt
AppXprt Oct 6 '21
I actually no longer have access to a CloudLinux / LSAPI install to provide an example :-(


This may help though:

https://docs.litespeedtech.com/extapp/php/configuration/control/#htaccess


Ken
Ken Oct 8 '21
Something in this .htaccess can be improved to avoid the blank pages after submitted action

Either missing something or something <IfModule php7_module>
php_flag display_errors Off
php_value max_execution_time 800
php_value max_input_time 800
php_value max_input_vars 10000
php_value memory_limit 356M
php_value post_max_size 556M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php73"
php_value upload_max_filesize 256M
php_flag zlib.output_compression On
</IfModule>
<IfModule lsapi_module>
lsapi_keep_http200 Off
lsapi_output_buffering On
lsapi_poll_timeout 300
php_flag display_errors On
php_value max_execution_time 800
php_value max_input_time 800
php_value max_input_vars 10000
php_value memory_limit 356M
php_value post_max_size 556M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php73"
php_value upload_max_filesize 256M
php_flag zlib.output_compression On
</IfModule>
Ken
Ken Oct 9 '21
Wow much respect @Chris  just this single line solves the problem Apache is weird
The Forum post is edited by Ken Oct 9 '21
prasedenica
prasedenica Apr 19
This topic is awesome thanks for the interesting replies below. very useful. Duck Life is adventure game of ducks
Dan Bilan
Dan Bilan Jun 17
Use one of our convenient payment providers to pay for your order essay writing service. After a successful transaction, we will immediately match you with a topic-oriented writer to start working on your order.
Abu Road Escort

Abu Road Escort Girls is Best Escort Girls . These are available at cheapest Rate. Depika’s  Charming Girls and If Our are Book Abu Road Escort Models . Your are Feel Owesome and Fully Enjoy with Escort Models.  Your Sadness Remove Meet to Abu Road Girls Yor Feel Real Love and Romance . We are Talking as Yor Girl Friend.Jodhpur Escorts | < | > | Abu Road Escorts | < | > | Ahor Escorts | < | > | Ajeetpura Escorts | < | > | Ajmer Escorts | < | > | Aklera Escorts | < | > | Alsisar Escorts | < | > | Alwar Escorts | < | > | Amer Escorts | < | > | Amet Escorts | < | > | Antah Escorts | < | > | Anupgarh Escorts | < | > | Arthuna Escorts | < | > | Asind Escorts | < | > | Asnawar Escorts | < | > | Atru Escorts | < | > | Badnor Escorts | < | > | Badopal Escorts | < | > | Bagar Escorts | < | > | Bagru Escorts | < | > | Bajajnagar Escorts | < | > | Bakani Escorts | < | > | Bali Escorts | < | > | Balotra Escorts | < | > | Bandikui Escorts | < | > | Banera Escorts | < | > | Banswara Escorts | < | > | Baran Escorts | < | > | Bari Escorts | < | > | Bari Sadri Escorts | < | > | Barmer Escorts | < | > | Basni Belima Escorts | < | > | Bayana Escorts | < | > | Beawar Escorts | < | > | Bedla Escorts | < | > | Begun Escorts | < | > | Behror Escorts | < | > | Bhadra Escorts | < | > | Bhalariya Escorts | < | > | Bharatpur Escorts | < | > | Bhawani Mandi Escorts | < | > | Bhilwara Escorts | < | > | Bhinder Escorts | < | > | Bhinmal Escorts | < | > | Bhiwadi Escorts | < | > | Bhopalgarh Escorts | < | > | Bhusawar Escorts | < | > | Bhuwana Escorts | < | > | Bidasar Escorts | < | > | Bijapur Escorts | < | > | Bijolia Escorts | < | > | Bikaner Escorts | < | > | Bilara Escorts | < | > | Bissau Escorts | < | >