Category: PHP

Spryker eCommerce Platform Architecture Design

Spryker eCommerce looks quite promising, especially the architecture design.

Standalone Magento Full Page Cache Shell Script for Cronjob

With full page cache auto generation turned on, we found the cron job is taking too long to run on a large site and is holding up all other cron jobs, so we have removed this cron job (enterprise_page_cache_crawler) from

Dealing With “SSL3_GET_SERVER_CERTIFICATE: certificate verify failed”

I have experience again an error like below recently: Fatal error: Uncaught exception ‘ErrorException’ with message ‘stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed’ While I am using the adpater Zend\Http\Client\Adapter\Socket ships with Zend

application.ini Cheat Sheet for Zend_Application

I’ve recently found a fantastic Zend Framework Zend_Application application.ini cheat sheet that list all possible configurable items.

Magento PDO exception error while running command line on Mac OSX

Fatal error: Uncaught exception ‘PDOException’ with message ‘SQLSTATE[HY000] [2002] No such file or directory’ I was getting this error when i tried to run magento script from command line on Mac OSX.

How Magento encrypts the password

Here’s how to convert passwords from plain text to the algorithm used by Magento.

Magento doesn’t save API role permission

If you met the problem of something like you can’t save the API roles permission, please follow below instruction, it’s actually a bug since Magento CE v1.6.x (it apparently exists in Magento Enterprise Edition as well).

Magento Performance Considerations – Part 1 – Hardware

I am recently working on a few Magento projects that require serving large volume of concurrent end users (e.g., more than 200 visitors at the same time). I have to say Magento is quite a resource consuming platform although it

Magento duplicate header ‘Content-Type’ FastCGI: comm with server “xxxxxxx” aborted – error parsing headers

I am recently experiencing an HTTP 500 Internal Server Error while browsing Magento Enterprise Edition v1.12.0.2 (latest by the time of writing this post). a “duplicate header” error message was found in Apache error log.

Run Magento under nginx instead of apache (CentOS Linux)

Question: Why we’d want to use Nginx instead of Apache? nginx is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. For a long time, it has been running on many heavily loaded