Don Raman's Blog
-
Can browse my site using http://127.0.0.1, http://<machine_IP_address> but cannot browse the same site using http://localhost
Yesterday our Product Manager faced a strange problem on his Windows 7 box. He created a site (which was a PHP application) but was not able to browse the site using http://localhost. He was getting HTTP status code 503 (Service not available). When I debugged his machine I found that following things hold true:
-
Microsoft PHP driver for SQL Server 2.0 released
The SQL Server team just announced the release of their latest PHP driver for SQL Server. Details about the release can be found at http://blogs.msdn.com/b/sqlphp/archive/2010/08/04/microsoft-drivers-for-php-for-sql-server-2-0-released.aspx.
-
MySQL install failure – Security settings cannot be applied
One of the reason I love MySQL is the fact that it is so easy to install. Take the MSI, run it, invoke MySQL Server Instance Configuration Wizard and done. I adore this simplicity and this enables me to focus on core problems rather than setting up the database server. However none of the system is bullet proof and so at times MySQL installation does fail. Today I am going to discuss one such failure.
-
PHP 5.3 and MySQL connectivity problem
I have seen so many post in our IIS forum mentioning that after moving to PHP5.3 they are not able to connect to MySQL database. So this means a simple program like the one below doesn’t work:
-
Sugar and Mediawiki added support for WINCACHE user cache
The support for WINCACHE has been added into Sugar Community Edition 6.0 Beta bits. The latest bits which supports WINCACHE out of the box can be downloaded from http://www.sugarforge.org/frs/?group_id=6. Remember Sugar 6.0 bits available there are still in Beta. However it is so good to know that we have WINCACHE support right out of the box in Sugar. A big thanks to Sugar developers. Sugar also released an add-on package for WINCACHE user cache for prior version of Sugar (version 5.2 and version 5.5). John blogged about it at http://developers.sugarcrm.com/wordpress/2010/05/15/wincache-support-for-sugar/.
-
Readers-Writers Problem and WINCACHE
This is a very common problem which most of us has studied in our academic days. This we learn as part of process synchronization or concurrency. For the sake of this discussion let’s assume we have multiple process accessing common data in a shared memory (ideally a common shared resource is available). While some processes will read from the shared memory, all others may write to it. While we can allow multiple readers to read from shared memory as it does not harm, there can be no time where more than one writer can have access to shared memory or a writer as well as a reader can have access to shared memory simultaneously.
-
Testing File Change Notification support on WinCache 1.1 Beta2
As you all know we did a Beta2 release of WINCACHE 1.1 few days back. This is a very important release with lots of bug fixes and new features. I would encourage all current users of WINCACHE to upgrade to Beta2 latest build.
-
File Change Notification support on WinCache 1.1 Beta2
As you all know we did a Beta2 release of WINCACHE 1.1 today. This is a very important release with lots of bug fixes and new features. I would encourage all current users of WINCACHE to upgrade to latest Beta2 build.
-
Performance improvements in Drupal with WINCACHE user cache
Now that WINCACHE 1.1 Beta is released and it has support for user cache, you can enhance Drupal’s performance by integrating WINCACHE user cache. For this you will need to have two things already setup:
-
Performance improvement in Joomla with WINCACHE user cache to cache session
Now that we have WINCACHE 1.1 Beta release which supports user as well as session cache, I am going to tell you a way to integrate session cache with Joomla using WINCACHE. Joomla has the way of integrating session cache based on user cache implementation and that’s what I am going to explain today. Increasing performance of Joomla by enabling it’s user cache functionality using WINCACHE is explained here.