We will install the latest Magento 2.4 on the Windows local PHP web server and eliminate those errors one by one.
read morephp
Increase PHP memory limit
Sometimes you might get “Fatal error: Allowed memory size of …” PHP error. Usually this means that you run out of memory. It is recommended to double check your code and profile your app with xDebug. It should tell you which function is called how often and how much memory it eats. However, the code […]
read moreUpgrade to PHP 5.6 on Debian 7 “Wheezy”
Official Debian packages contain PHP 5.4 at the moment. If you need higher version, you need to use 3rd-party repositories such as dotdeb. Generally it is recommended to use the official packages. However, sometimes there are reasons to use third party repositories. And this is one of them. Process of upgrade to PHP 5.6 on […]
read moreHow to override Magento admin theme template file
You as Magento developer sometimes will wish to override Magento admin theme template files. This comes in need in process of developing custom magento admin skin or some extension that will extend Magento backend design and functionality. Basically adminhtml part keeps the same fallback ideology that is used on front end, but with some slight […]
read moreGenerate Magento translation CSV file
We know that Magento provides great feature for translation of text strings in code. Such content that needs to be localized for different store views is outputted through __() helper function. It will search for data loaded from locale translation .csv file and if found match for current store view it will be replaced with it…
read moreComment php code with one keypress
Debugging takes 90% of php developement time. You often need to comment out a piece code. In case of single line it is pretty simple. But if you need to comment large block it could take time. Do you want to comment php code with one keypress ? There is pretty simple method to achieve […]
read more