Categories
Archives
- May 2012 (5)
- April 2012 (4)
- March 2012 (5)
- February 2012 (6)
- January 2012 (6)
- December 2011 (3)
- November 2011 (4)
- October 2011 (5)
- September 2011 (5)
- August 2011 (7)
- July 2011 (5)
- June 2011 (6)
- May 2011 (6)
- April 2011 (5)
- March 2011 (7)
- February 2011 (3)
- January 2011 (4)
- December 2010 (5)
- November 2010 (6)
- October 2010 (4)
- September 2010 (1)
- March 2010 (2)
- May 2009 (1)
- April 2009 (2)
- November 2008 (2)
- August 2008 (1)
- July 2008 (1)
Category Archives: php
Magento Catalog Search XSS on Some Themes
We’ve seen a few customers failing PCI scans due to Cross Site Scripting (XSS) vulnerabilities on the catalogsearch page. Initially it seemed like it was a bug in Magento where it wasn’t sanitizing its input but when we tried to … Continue reading
Posted in Magento, php
Tagged catalogsearch, crumbInfo, htmlEscape, magento, PCI, theme, xss
5 Comments
Optimizing APC Cache Settings for Magento
APC (Alternative PHP Cache) is an opcode cache for PHP that works very well to speed up page loads when used on servers running Magento. There are many opcode caches available (APC, accelerator, xcache, etc) which can be used with … Continue reading
Posted in Magento, php
Tagged APC, cache, eAccelerator, magento, memory, opcode, optimizing, PHP, xcache
5 Comments
Diagnosing MySQL Performance Bottlenecks With Maatkit
Hello again! Last time we looked at optimizing performance of web apps, we were checking out how to diagnose PHP performance bottlenecks using XDebug to generate valgrind-style logs of what PHP was doing. While that can be immensely useful in … Continue reading
Posted in Linux, php
Tagged InnoDB, maatkit, MyISAM, mySQL, performance, PHP, XDebug
Leave a comment
Diagnosing slow PHP execution with Xdebug and KCachegrind
Tracking down a performance issue to the actual PHP app can be hard enough by itself, but what do you do once you’re sure that the app itself is the bottleneck? The excellent Xdebug extension has many useful features for … Continue reading
Upgrading to Magento 1.4.2.0
The latest stable version of magento, version 1.4.2.0, was released on December 8th. Upgrading Magento Community Edition always poses some problem or another, mostly due to user-customized themes and third-party extensions. However, upgrading from a vanilla 1.4.1.x install does generate … Continue reading
Configuring Memcached in Magento 1.4
In the Magento 1.4 release, the memcached backend configuration has changed. There are now more options listed than in previous Magento versions. Some confusion has resulted in how to configure memcached in this new version as the previous configuration for … Continue reading
Scripting Magento
There are times when the web-based administration of Magento hits a snag and no longer works as quickly as we’d like it to. Perhaps product exports or backups time out, or refreshing the URL rewrite table seems to run for … Continue reading
Increase WordPress performance with WPSuperCache
Last week, we covered speeding up WordPress with Memcache, which was simple enough, but most shared hosting plans don’t allow you to run memcached. Even if you are allowed to run the memcache daemon on your server and you have … Continue reading
Posted in Apache, html, php, WordPress
Tagged cache, page load, performance, speed, supercache, supercache plus, traffic, wordpress, wordpress cache, wp-super-cache, wpsupercache
Leave a comment
Handle More Traffic in WordPress with Memcache
Memcache is a High-performance, distributed object caching system. WordPress is a great piece of blogging / CMS software. If you’re running a WordPress site and you’re having growing pains, you can combine the two to handle increased traffic and, more … Continue reading
Finding the status of Magento cron jobs / tasks
As covered in our last article, you should have a “cron job” (crontab) set up to run Magento’s cron.php file every so often (15 minutes or so is fine) via PHP directly on the server to take care of housekeeping … Continue reading
