Answer the question
In order to leave comments, you need to log in
How to fix apache_get_modules() error?
I have a site running on regru on a simple php CGI web hosting during the installation of CMS in the admin panel, I get this error, what is it connected with and what do they eat?
Fatal error
: Uncaught Error: Call to undefined function apache_get_modules() in /var/www/123/data/www/localhost/application/views/admin/checksys/index.php:22 Stack trace: #0 /var/www/ 123/data/www/localhost/engine/main/load.php(19): include() #1 /var/www/123/data/www/localhost/application/controllers/admin/checksys/index.php(26 ): Load->view('admin/checksys/...', Array) #2 /var/www/123/data/www/localhost/engine/main/action.php(83): indexController->index( ) #3 /var/www/123/data/www/localhost/index.php(71): Action->go() #4 {main} thrown in
/var/www/123/data/www/localhost/application /views/admin/checksys/index.
22
Answer the question
In order to leave comments, you need to log in
The apache_get_modules( ) function only works if PHP is installed as an Apache module, not CGI.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question