Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Problem using AMPPS/Softaculous with Apache module fcgid



Threaded Mode | Print  

 Problem using AMPPS/Softaculous with Apache module fcgid (0 Replies, Read 2168 times)
captainstarpaw
Group: Member
Post Group: Newbie
Posts: 1
Status:
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! :-x
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 16, 2024, 5:14 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.033