14 votes

Magento2 System Requirements PHP Memory Limit

The official system requirements (or rather: recommendations) are: Increase the PHP memory limit to at least 768MB for normal operation or 2GB for testing. Source: Recommendations for CentOS and ...
Fabian Schmengler's user avatar
11 votes

Magento 1.9 multiple websites on different domains

You don't need to have multiple directories for multiple domains if you are using single magento instance to fulfill your requirements. Step 1: Point all domains to Magento root directory, i.e. ...
Aman Srivastava's user avatar
7 votes

Set up Magento 2 sites on the same server with another Magento 1 site

There is a security risk to this. First start with... Yes, this is possible As your question does not specify anything, I'll list some things that are necessary to achieve this: You'll need two ...
7ochem's user avatar
  • 7,532
7 votes

Image CAPTCHA requires FT fonts support

For docker users - update for Magento 2.4, for those using official php docker images - I had to use --with-freetype rather than @cgalvaojr answer --with-freetype-dir, like this: FROM php:7.4-fpm ARG ...
John O'Rourke's user avatar
7 votes
Accepted

How to secure Magento version control systems

In .htaccess on your server config file. (1) RewriteEngine on RewriteRule "^(.*/)?\.git/" - [F,L] And (2) RedirectMatch 404 /\.git Place this both method in .htaccess file. It hides any file or ...
Adit's user avatar
  • 86
5 votes

Magento 2, website redirecting to localhost

update values using built-in console commands (substitute your domain name): php bin/magento setup:store-config:set --base-url="http://awesome-domain.dot/" php bin/magento setup:store-config:set --...
Zippp's user avatar
  • 151
5 votes
Accepted

What are the hardware requirements for running Magento 2.0?

if you want to boost your magento2 performance it's mainly about caching. First, be sure you are in production mode for performance tests http://devdocs.magento.com/guides/v2.0/config-guide/bootstrap/...
David Verholen's user avatar
5 votes
Accepted

Image CAPTCHA requires FT fonts support

you need to change the php configure script to include --with-freetype-dir=/usr/lib64/ where /usr/lib64 contains the libfreetype.so file. My final configuration so far looks like: ./configure --with-...
user3338098's user avatar
4 votes

Hardware required and Broadband for a Server with WHM to host 3 Magento Websites

To share absolute numbers with you, hosting providers will ask you few questions in order to determine the perfect server configuration for a Magento store. These questions include: How will many ...
Fayyaz Khattak's user avatar
4 votes

Missing PHP Extension bcmath

You have to install bcmath. sudo apt install php7.1-bcmath for 7.1 version sudo service apache2 restart
PЯINCƎ's user avatar
  • 11.7k
4 votes
Accepted

Magento2 : How To Solve Controller 404 Not Found Error On Live Server

remove your var/cache folder then execute this command in your command promt php bin/magento setup:di:compile Hope This Will Help You !!!
pankaj parmar's user avatar
4 votes
Accepted

A Magento store runs better in a CPU or Memory optimized server?

Magento 2 is complex PHP application and almost always CPU bounded. So, CPU-Optimized will work better here. See example CPU usage on Home Page (blue line - average is ~ 80%)
KAndy's user avatar
  • 20.8k
4 votes

How do I properly debug the root cause of 503 errors produced by Varnish?

It's a good idea to look at the varnishlog output. You pasted client-side varnishlog output, but the reason why fetches fail is reported in the backend-side varnishlog output. The part where the ...
Thijs Feryn's user avatar
  • 1,061
4 votes

Elasticsearch Regular Search Returns No Results

Check if you don't have any "not allowed" filterable and searchable product attributes. For Elastic they can have only 'boolean', 'multiselect', 'select', 'price' types, no "text" ...
Edgarth's user avatar
  • 91
4 votes
Accepted

How to check Log4j in Magento installation?

If you have ElasticSearch installed, the chances are that you have a vulnerability in your server. You need to update your ElasticSearch to the version launched Dec 13, 2021. Running this command ...
Rafael Corrêa Gomes's user avatar
3 votes
Accepted

problems moving site

Ok i got the answer i needed to update web/cookie/cookie_domain value to my new URL in the core_config_data table
Yehuda Schwartz's user avatar
3 votes

How to move magento shop to another server

I want to add one more useful suggestion: In order to simplify the process of migration from one server to another, I would suggest you copying files over ssh instead of downloading and uploading zip ...
Paul Okhrem's user avatar
3 votes

Magento 1.9.x and PHP? I had 5.5, now upgraded to 5.6 and it seems to work! Is that OK or shall I switch back to PHP 5.5?

Magento 1.9.2.3 forward will work with PHP 5.6 as it tests for the following: $origenc = PHP_VERSION_ID < 50600 ? iconv_get_encoding('internal_encoding') :...
Fiasco Labs's user avatar
  • 7,593
3 votes
Accepted

Magento 2: Server side validation not showing filled up data while error [SOLVED]

Finally solved by referring Magento Core Contact Module vendor\magento\module-contact\Controller\Index\Post.php public function execute(){ $post = $this->getRequest()->getPostValue(); } ...
Jackson's user avatar
  • 9,909
3 votes

Magento 2 installation from GitHub: blank screen

I had the same issue, but try the following version of composer install: php bin/magento setup:install --db-host=localhost --db-name=magento --db-user= --db-password= --backend-frontname= --admin-...
Vlad Patru's user avatar
  • 1,200
3 votes

Magento 2 installation from GitHub: blank screen

When you downloaded from git I've found troubles with the master branch. Download the last stable version (2.2.2) branch instead and try that
Timothy Frew's user avatar
3 votes

Magento 2 on shared hosting, Vendor autoload is not found. Please run 'composer install'

You can just download composer in Magento root directory and run it like php composer.phar install or download all locally, run composer install and upload vendor directory on the server.
KAndy's user avatar
  • 20.8k
3 votes
Accepted

Becuase of the better performance of Magento 2, Can we reduce number of servers?

UPDATE: I benchmarked Magento 1.9.3.2 vs 2.1.4 myself. 1.9.3.2 beats 2.1.4 on every front. details here https://www.goivvy.com/blog/magento-1924-magento-214-performance-benchmark OLD: probably not. ...
Konstantin Gerasimov's user avatar
3 votes

Magento /setup/ page is blank after installation (possible causes)?

I found out the problem was the cgi.fix_pathinfo set to 0. I have set it back to 1 as default and it now works fine. Just ';' Uncomment first, and add '= 1'
Borde91's user avatar
  • 350
3 votes

Magento 2 Admin Front controller reached 100 router match iterations

There may be three reason for this: 1) CMS Module Disabled the CMS module handles 404 not found requests which is the fallback router. So, no router may be found if this module is disabled. Just ...
mudit-cedcommerce's user avatar
3 votes

Image CAPTCHA requires FT fonts support

I found fix for development environment, because I use Mac OS and the apache php doesn't support these fonts and it's a lot of work to get it working and not mess up my system. open vendor/...
Yoan Arnaudov's user avatar
3 votes

php bin/magento setup:upgrade

Your site miss the file /var/www/vhosts/a.com/httpdocs/setup/config/application.config.php, you could copy it from original official install files. Also a possibility, the file application.config.php ...
Key Shang's user avatar
  • 3,415
3 votes

Magento 2.2.2 add to cart not working after server change

Are you using apache? Make sure .htaccess file is been read or else try adding index.php to url. Also make sure Php rewrite module is enabled.
Rakesh Gangani's user avatar
3 votes
Accepted

Magento - Error 500 - Internal Server Error

The problem was that the Apache that he has has no module_version check and the <IfVersion> tags in the htaccess where not recognized. We temporarily removed them and he will see this with his ...
CompactCode's user avatar
  • 2,467
3 votes
Accepted

Magento 2 : Composer runs out of memory

Try this with more memory php -d memory_limit=4G /usr/local/bin/composer update OR php -d memory_limit=-1 /usr/local/bin/composer update
kunj's user avatar
  • 3,699

Only top scored, non community-wiki answers of a minimum length are eligible