Join the community today
Become a Member

Magento Configuration Centmin Mod with magento

Discussion in 'Ecommerce / Shopping cart usage' started by reallove0810, Jan 16, 2015.

  1. MarkKiss

    MarkKiss New Member

    25
    3
    3
    Sep 2, 2015
    Ratings:
    +4
    Local Time:
    4:32 AM
    404 I found here


    Code:
        location ~ .php$ { ## Execute PHP scripts
            if (!-e $request_filename) { rewrite / /index.php last; } ## Catch 404s that try_files miss
    
            expires        off; ## Do not cache dynamic content
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_param  HTTPS $server_https;
            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
            fastcgi_param  MAGE_RUN_CODE txt; ## Store code is defined in administration > Configuration > Manage Stores
            fastcgi_param  MAGE_RUN_TYPE store;
            include        fastcgi_params; ## See /etc/nginx/fastcgi_params
        }
    
     
  2. eva2000

    eva2000 Administrator Staff Member

    50,891
    11,793
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,248
    Local Time:
    2:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    Yeah they have to match server wide :)
     
  3. eva2000

    eva2000 Administrator Staff Member

    50,891
    11,793
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,248
    Local Time:
    2:32 PM
    Nginx 1.25.x
    MariaDB 10.x
    Nginx vhost already has php location match in an include file for each created vhost

    Code:
      include /usr/local/nginx/conf/php.conf;
    if you have another set in your vhost could cause conflicts so may want to comment out the one in vhost include file

    Code:
      #include /usr/local/nginx/conf/php.conf;
    Or copy /usr/local/nginx/conf/php.conf to a new file /usr/local/nginx/conf/php-magento.conf
    Code:
    cp -a /usr/local/nginx/conf/php.conf /usr/local/nginx/conf/php-magento.conf
    then edit /usr/local/nginx/conf/php-magento.conf for any additional magento changes and include that instead

    Code:
    #include /usr/local/nginx/conf/php.conf;
    /usr/local/nginx/conf/php-magento.conf
    You can also try /usr/local/nginx/conf/php.conf default include and remove any additional php location matches you added yourself
     
  4. MarkKiss

    MarkKiss New Member

    25
    3
    3
    Sep 2, 2015
    Ratings:
    +4
    Local Time:
    4:32 AM
    I was try all this, but nothing help.

    May is because my version of PHP 5.6.12 (or my magento bug)

    Today I will try clean installation of Magento
     
  5. nqservices

    nqservices Member

    70
    14
    8
    Jun 17, 2016
    Ratings:
    +28
    Local Time:
    4:32 AM
    Hi to all users on this thread,

    Is it anyone using CentminMOD with Magento 2? If yes, what changes did you change in CentminMOD and/or Magento 2 in order to make it properly with with Magento 2?

    Any special recommendation?

    Thanks