Here's my dilemma. I have configured apache to use mod_fcgid.so FastCGI, and set up httpd.conf as follows:
Code
LoadModule {$php}_module "{$path}/{$php_dir}/{$php}apache2_4.dll"
PHPIniDir "{$path}/{$php_dir}"
#LoadFile "{$path}/{$php_dir}/php7ts.dll"
LoadFile "{$path}/{$php_dir}/libpq.dll"
SetEnv TMP "{$path}/tmp"
<IfModule fcgid_module>
FcgidInitialEnv PATH "{$path}/{$php_dir};C:/WINDOWS/system32;C:/WINDOWS;C:/WINDOWS/System32/Wbem;"
FcgidInitialEnv SystemRoot "C:/Windows"
FcgidInitialEnv SystemDrive "C:"
FcgidInitialEnv TEMP "{$path}/tmp"
FcgidInitialEnv TMP "{$path}/tmp"
FcgidInitialEnv windir "C:/Windows"
FcgidIOTimeout 64
FcgidConnectTimeout 16
FcgidMaxRequestsPerProcess 1000
FcgidMaxProcesses 3
FcgidMaxRequestLen 8131072
# Location php.ini:
FcgidInitialEnv PHPRC "{$path}/{$php_dir}"
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000
<Files ~ "\.php$">
Options Indexes FollowSymLinks ExecCGI
AddHandler fcgid-script .php
FcgidWrapper "{$path}/{$php_dir}/php-cgi.exe" .php
</Files>
</IfModule>
Everything seems to work fine, except the Softaculous admin panel will not load and instead tell me that "The file C:\Ampps\ampps\softaculous\enduser\inc.php was encoded with the ionCube Encoder for PHP 5.3 and cannot run under PHP 7.0.
I have to specifically use mod_fcgid because a few websites I'm working on for a client do not run properly with the default configuration.
I'm not really sure how to resolve this. Is there a way to preserve my configuration and still have access to the admin panel as usual?
Any tips would be greatly appreciated!
|