Thursday, June 7, 2012

Yii Framework Review

I have been recently working on a project involving the Yii PHP Framework and i am really impressed with the features and functionalities offered by Yii. http://www.yiiframework.com

The Latest Yii version at the time of writing this post is Yii 1.1.10


- Creates a skeleton php application using console commands. The skeleton application is fully functional with login, contact form etc.

- It can really speed up development by writing the CRUD code automatically from your database objects.

- It follows the MVC framework of web application design and can create the Model classes automatically.

- Plenty of extensions available that can be plugged into the application.

- Good documentation and screen-casts available on the yii website.

- Plenty of learning resources available to kick start a new development project.


Sunday, July 3, 2011

Error Configuring PHP with Apache 2.2 in the Windows Environment

This below is the error that i was getting all the time..

Faulting application name: httpd.exe, version: 2.2.19.0, time stamp: 0x4dd6eda8
Faulting module name: php5ts.dll, version: 5.2.17.17, time stamp: 0x4d25fb49
Exception code: 0xc0000005
Fault offset: 0x000f424c
Faulting process id: 0x164c
Faulting application start time: 0x01cc3a0dfa1b4032
Faulting application path: C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin\httpd.exe
Faulting module path: C:\Program Files (x86)\PHP\php5ts.dll
Report Id: 37d4d367-a601-11e0-87c4-842b2bbfdf75

I found out that this issue is definitely related to one of the extensions in the php library, 

- When i install all extensions it fails with this error. 
- When i only install PDO for MySQL and MySQL extensions it works. 
- I suggest that people only install extensions that they need and it it still fails then the problem is related to one of those extensions that have been installed.

Sunday, January 30, 2011

Restarting Apache Server

To Restart Apache Sever
$ sudo /etc/init.d/apache2 restart


To Stop Apache Server
$ sudo /etc/init.d/apache2 stop


To Start Apache Server
$ sudo /etc/init.d/apache2 start





Friday, January 14, 2011

My LAMP Setup

My Lamp Setup Consists of the Following Applications.

> OS = Ubuntu Linux 10.10 x64.
> Apache Server = Version 2.2
> MySQL = 5.1
> PHP = 5.3

Some additional important tools that you cannot live without.
- Netbeans IDE for development
- Geany Text Editor
- MySQL Workbench
- Yakuake