• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved add auth_basic for apache

GUI > Tools & Settings > General Settings > Apache Web Server Settings > check "auth_basic" > Click "OK".
 
Isn't work. No auth_basic in phpinfo.
PHP 5.6.29 by OS Vendor -> App FastCGI

PHP 5.6.29 by OS Vendor -> App FPM

Only when I turn on PHP as apache Module, auth_basic working.
 
I am sorry, I obviously did not understand the question correctly. I am not aware of any setting by that "auth_basic" can or needs to be activated to be used with PHP. It is a web server module, not a PHP module. I assume that it is not displayed on the PHP info page, because it is not a PHP module. Neither am I aware that PHP documentation requires any kind of "auth_basic" activation, link or something. Is this what you want to use it for? http://php.net/manual/en/features.http-auth.php
 
Back
Top