PHP Sessions and Objects

For the majority of my PHP career I didn’t store objects in a session. Not that it’s a difficult thing, I simply didn’t have a need to in the past. Now that I do, I have discovered a peculiar (in my opinion) aspect of it. This came about because the session data on a certain […]

Cron Job For the Last Day of the Month

I think cron is a wonderful creation. It is simple in what it does while being extremely useful. Allow me to present a short introduction to it for those unfamiliar, then I will show you a handy trick you may need someday. Keep reading this blog to learn about cron and the crontab command — […]

How Magento Sends Email

If you use Magento, then you depend on its email functionality to send order confirmations, invoices, and shipping confirmations to your clients. Aside from technical people, many Magento users do not know how Magento sends email. While knowing how Magento sends email may not be essential to running your online store, it becomes extremely useful […]

Magento Used on 20% of E-Commerce Sites

A survey of e-commerce sites in the Alexa top million websites has found that, as of the first quarter of 2012, Magento is by far the most popular e-commerce solution. Alexa Internet Inc. tracks the web use of millions of internet users and gathers information about the sites they visit. A recent analysis of their […]

Debugging Apache Rewrites and Redirects

Apache’s mod_rewrite and mod_alias can be very useful, but they can also be a huge pain to debug when a problem arises. Luckily, there are a few things that can help, and since you’re probably not the first person attempting to rewrite or redirect something in a specific way, you’ll likely be able to find […]

Quickly Disable Any Magento Module For Troubleshooting

At Nexcess, we commonly run across problematic extension. Whether the issue is version incompatibilities, database problems, permissions problems, or anything else, the ability to quickly disable an extension or two for troubleshooting is extremely useful. First, a bit about Magento’s file and folder structure. While the guide I just linked to shows some of the […]

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 assisting application developers, but today we’ll be looking at one specific feature that can help […]

We use cookies to understand how you interact with our site, to personalize and streamline your experience, and to tailor advertising. By continuing to use our site, you accept our use of cookies and accept our Privacy Policy.