I have a big problem.
Everytime I try to access my php file through mod_rewrite rules, I don't get the expected result, and apache error_log reports:
In the past I had cPanel and apache installed with PHP as an integrated module to apache (no PHP-FPM).
Now it seems like apache wants to go through some proxy and CGI to call php scripts.
Is there away through directadmin to do away with PHP-FPM and go back to the integrated module? I believe the module name is libphp.so and php would compile this at installation time. Then it would help me do away with proxy.
Everytime I try to access my php file through mod_rewrite rules, I don't get the expected result, and apache error_log reports:
Code:
[Tue Jun 09 02:15:24.855786 2026] [proxy_fcgi:error] [pid 5122:tid 5580] [remote ip-addr:port] AH01071: Got error 'Primary script unknown'
In the past I had cPanel and apache installed with PHP as an integrated module to apache (no PHP-FPM).
Now it seems like apache wants to go through some proxy and CGI to call php scripts.
Is there away through directadmin to do away with PHP-FPM and go back to the integrated module? I believe the module name is libphp.so and php would compile this at installation time. Then it would help me do away with proxy.