 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Alison Gianotto's Blog: When Your Wordpress Blog Gets Hacked
by Chris Cornutt January 25, 2010 @ 14:59:53
WordPress users, listen up, Alison Gianotto has a few suggestions you should listen to (and maybe prepare for ahead of time) to do when your WordPress blog gets hacked.
It happens to most bloggers at some point your Wordpress blog gets pwned, and you're not sure where to even start. [...] This article will deal with how to restore your Wordpress install, and perhaps more importantly, where to look to try to determine the nature of the attack so that you can make sure it won't happen again.
She talks about what kind of impact a hack could entail - lost time spent restoring, site downtime, etc - and a few things you can do to help minimize these problems:
- Keep Wordpress and Plugins Up to Date
- Ask Your Web Host Where Your Log Files Live
- Backup, Backup and Backup again
- Early Detection Equals Better Reputation Damage Control
She also talks about what to do in the aftermath - finding out exactly what happened, disable all incoming traffic, check modifications dates and record the information. Only then should you restore from backups and keep an eye on the logs for anything suspicious.
voice your opinion now!
wordpress blog hack recommendation
Chris Jones' Blog: PHP OCI8 Signal Handling and --enable-sigchild
by Chris Cornutt March 25, 2009 @ 10:22:51
Chris Jones has changed his stance on something he's been recommending PHP users compiling the OCI8 libraries into their installation - the use of enable-sigchild.
I am no longer blindly recommending using --enable-sigchild when configuring PHP with the OCI8 extension. I used to do this as a catch-all. It might have saved some users grief, and did little harm. With changes in recent versions of Oracle and my gut feel about common usage, it will be less confusing not to mention it as a general suggestion.
The point of using the compile flag was to help with the opening/closing of connections to Oracle server processes, but there's a better way he recommends now - using a "BEQUEATH_DETACH" option of "YES" in the sqlnet.ora/Apache config. If that doesn't work, then look into recompiling with the enable-sigchild option.
voice your opinion now!
oic8 oracle compile signal handle bequeathdetach recommendation
PHPClasses.org: 10 steps to migrate Web site servers with the least of problems
by Chris Cornutt February 03, 2009 @ 13:43:13
After having moved servers just recently, Manuel Lemos has a few helpful hints for anyone out there considering a web site/web server move in the near future:
Despite the benefits of migrating to a better server, the actual migration is a complicated process that can fail in so many ways that I thought it would be a good idea to share what you need to be concerned if you need to migrate your servers too. You need to go through several steps that need to be done in the right order to prevent major headaches.
Here's his ten steps/recommendations of things to keep an eye on during the move:
- Prepare your DNS
- Setup the new server
- Tune the server file system for performance and integrity
- Install the base applications
- Initial data migration
- Put the old server in migration mode
- Bring your new server to life
- Double check your server security
- Epilogue (the final miscellaneous startup/setup items)
- The forgotten step that you remembered
-
voice your opinion now!
webserver move migrate recommendation step
PHPImpact Blog: Memcached consistent hashing mechanism
by Chris Cornutt December 24, 2008 @ 10:21:34
The PHP::Impact blog has a recommendation for those using the memcache functions in their PHP applications - be sure your hashing strategy matches what your script does.
If you are using the Memcache functions through a PECL extension, you can set global runtime configuration options by specifying the values within your php.ini file. One of them is memcache.hash_strategy. This option sets the hashing mechanism used to select and specifies which hash strategy to use: Standard (default) or Consistent.
The recommendation is to set it to consistent to allow for the most flexibility on adding and removing servers from the caching server pool without the need for outside intervention.
voice your opinion now!
cache memcache hashing mechanism recommendation consistent
Matthew Weir O'Phinney's Blog: Start Writing Embeddable Applications
by Chris Cornutt May 07, 2007 @ 16:39:00
Matthew Weir O'Phinney has a great new blog post today on the topic so many developers don't even think about when working up their applications - making apps that aren't "loners" and are embeddable.
"Why embed?" you ask. Simple: if I'm creating a site that has one or two of these applications, but also my (or my company's) own custom functionality, I may want to ensure that certain elements are present on all pages, or that I can control some of the content in all pages: a unified header and footer, ability to inject statistic tracking javascript, etc.
The predominant attitudes are either, "Don't embed our app, embed your app in ours," or "Just modify the templates." Neither of these solutions is acceptable.
He proposes a few helpful hints to those developing applications right now to have them be that much more "embeddable" like:
- When using configuration files, use a configuration component that doesn't require use of the global namespace
- Have your bootstrap script call on class methods or functions to do their work
- Better yet, use an MVC pattern in your apps
- Make sure your templates are easily modified to allow developers to strip out header, footer, and menu elements
- Create an API to allow retrieving necessary javascript and CSS
- Don't use $_GLOBALS ever.
voice your opinion now!
embeddable application loner recommendation embeddable application loner recommendation
|
Community Events
Don't see your event here? Let us know!
|