How can I set server API to Apache instead of CGI/FastCG?
-
I have a Laragon setup with PHP 7.
Running
phpinfo()
revels Server API as CGI/FastCGI.This results in a
No input file specified.
error in my application.I need to set it to Apache 2.x to fix the above mentioned error.
How do I do that?
-
@Ajax30 : Just add another PHP version (the version should not have NTS - Non Thread Safe):
https://forum.laragon.org/topic/166/tutorial-how-to-add-another-php-version-php-7-3
-
@leokhoa I did add a Thread Safe version of PHP and used it. My
phpinfo()
shows the same result though.
-
@Ajax30 : Any image? please show me the Apache & PHP Version also.