วันเสาร์ที่ 11 มกราคม พ.ศ. 2557

mod_php to mod_fcgid

10 Years with mod_php. Today i decide to migrate to mod_fcgid.

Mod_php had been served our services for long time and work well from beginning. But now we have more need to go than mod_php can serve.

Then we are going to move to mod_fcgid. With fcgid we can do a lot of configuration style. Easy process management and we can install many php-version to serve our legacy php application.

For management purpose, we can freely control easy application and license more efficiency.  Developers and Implementation Man can do their job without know each other.


1 ความคิดเห็น:

  1. in case of codeigniter you have to edit .htaccess if you want to rewrite them to

    ======= .htaccess =======

    RewriteEngine on
    RewriteBase /
    RewriteCond $1 !^(index\.php|images|share|FILE|user_guide|robots\.txt|connect|db|pgadmin|_filemanager)
    RewriteRule ^(.*)$ index.php?/$1 [L]
    ============================

    ========= config.php ==========
    /*
    |--------------------------------------------------------------------------
    | URI PROTOCOL
    |--------------------------------------------------------------------------
    |
    | This item determines which server global should be used to retrieve the
    | URI string. The default setting of "AUTO" works for most servers.
    | If your links do not seem to work, try one of the other delicious flavors:
    |
    | 'AUTO' Default - auto detects
    | 'PATH_INFO' Uses the PATH_INFO
    | 'QUERY_STRING' Uses the QUERY_STRING
    | 'REQUEST_URI' Uses the REQUEST_URI
    | 'ORIG_PATH_INFO' Uses the ORIG_PATH_INFO
    |
    */
    $config['uri_protocol'] = "REQUEST_URI";

    ====================================

    ตอบลบ