Installing Subversion Extension to PHP

I wanted to execute some Subversion Commands in a PHP script once, so I needed to install the Subversion Extension for PHP.

I began in the common way of intalling any PECL package.

pecl install -f svn

PECL downloaded the package successfully, but it gave an error saying that the phize command is missing, while trying to intall. After some searches in the internet, I found out that php-devel package provides “phize”. Since “yum” was there, things were pretty easy:

yum install php-devel

Once php-devel was intalled, I tried to intall again, using PECL. This time, it gave an error, saying svn_client.h header file is missing. Then again, after a long search in the internet, the solution was found. It required the subversion-devel package. Yet again, yum came to the rescue.

yum install subversion-devel

I tried again using pecl and this time the extension was installed successfully.

Advertisements

Co-founder of MySQL invests in OrangeHRM

David Axmark, co-founder of MySQL and Larry Stefonic, ex-EVP of MySQL has joined hand with OrangeHRM. The press release states that ,

It has received Series A investment capital from principal investors Larry Stefonic and David Axmark to finance the sales, marketing and development of OrangeHRM, the company’s flagship product. The investment capital will fund the development of new HR modules such as training, budgeting and benefits modules

Read the full article here

OrangeHRM provides low cost highly functional software for maintaining business process. This is the dawn of Cloud Computing, OrangeHRM can be easily used as a cloud application in your own server. One of the main reasons for OrangeHRM to be popular is its simplicity and stability.


Adopted from this article by Poojitha Jayasinghe (Times Eye).

An Article on Implementing MVC Pattern in PHP

Here’s an interesting article about implementing MCV pattern in PHP by Samantha Jayasinghe. Samantha is a Tech Lead at OrangeHRM. This will provide a good understanding about MVC for the developpers who are starting to work on this pattern.

http://samanthatec.info/2010/01/24/impliment-mvc-pattern-from-php/

FOSS Web Development Tools

In web application development, right tools is a key to success. I made speech+demo on FOSS Web Application Development Tools at APIIT FOSS Con 2009 on 2nd October 2009 at the APIIT – Sri Lanka City Campus premises.

The event was well-organized and kudos for organizers for a job well done.

FOSS Web Development Tools

See my presentation here

OrangeHRM Reaches 300,000 Downloads

Today, OrangeHRM has reached 300,000 downloads mark!

OrangeHRM 300,000 Downloads

Posted in foss, hrm. 1 Comment »

Installing Webgrind, the Xdebug Profiler

Webgrind is a front-end for Xdebug profiling, released under BSD License.

Using this, developpers can easily monitor the functions called in a PHP script, and the times spent in functions by self cost or inclusive cost. (Inclusive cost is time inside function, plus calls to other functions)

It’s cross platform compatible and easy to use once installed. (Yeah, the installation is no that easy). I had Xdebug already installed, and after going through this, I managed get it running, after following these steps:

Step 0
Install Xdebug. (Already done in my scenario)

Step 1
Enter the following entries to php.ini file.

[xdebug]
xdebug.profiler_enable=1
xdebug.profiler_output_dir="/tmp"
xdebug.profiler_output_name="cachegrind.out.%t.%p"

Step 2
Download Webgrind, and extract the archive to the web server’s root directory.

Step 3
Restart the web server.

Once profiling is enabled, the performance of the web server gets reduced slightly. But you can disabled profiling by changing php.ini as follows:

xdebug.profiler_enable=0

OrangeHRM 2.5 Stable Version is Released

After many months of work, OrangeHRM 2.5 stable version was released on 5th Ocober, 2009 (yesterday).

OrangeHRM 2.5

OrangeHRM 2.5

New Features:

  • New look and feel with enhanced usability
  • Separation of The Project Time Tracking and Attendance
  • Enhanced Recruitment Module
  • Implementation of Advanced Security Measures
  • Performace optimizations

Apart from these, there are over 150 bug fixes.

It’s the most stable, most secure & the fastest OrangeHRM ever released.

Read More

%d bloggers like this: