Cannot set suPHP_ConfigPath for localhost

Viewed 776

I am trying to make my php.ini file recursive.

echo php_ini_loaded_file();

gives:

C:\xampp\php\php.ini

Yet when I set in my .htaccess file:

suPHP_ConfigPath C:\xampp\php\php.ini

I get

Server error! The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.

Error 500 localhost Apache/2.4.37 (Win32) OpenSSL/1.1.1 PHP/7.2.12

Please tell me what I am doing wrong.

As per guide here.

0 Answers
Related