Mac OS X,Open Source,PHP Programming,Web Development
4 June 2011 1 Comment
Installing via PECL didn’t really work out for me. So, here is what I did: Install Xcode if you don’t have it Download & install XAMPP for Mac developer package You will need the PHP header files. Create a symlink: ln -s /Applications/XAMPP/xamppfiles/lib /Applications/XAMPP/xamppfiles/include Download the module here: http://pecl.php.net/get/oauth Unpack Run phpize: sudo /Applications/XAMPP/xamppfiles/bin/phpize Configure [...]
Mac OS X,Open Source,PHP Programming,Web Development
7 January 2011 0 Comments
1) Grab the latest 64-bit version for OSX from MongoDB website. 2) Untar the file tar -zxvf mongodb-osx-x86_64-1.6.5.tgz 3) I use XAMPP for OS X, need to create a location for it to store databases. sudo mkdir -p /Applications/XAMPP/xamppfiles/var/mongodb sudo cp -r bin/* /Applications/XAMPP/xamppfiles/bin/ 4) Create configuration file, name it mongodb.conf and put it at [...]
Tagged in mongo, php, xampp
Open Source,PHP Programming,Security
11 November 2010 0 Comments
Slide from my recent presentation at MyGOSSCON 2010 PHP Security View more presentations from Sumardi Shukor. A big thank you to those who attended my presentation. Big applause to the organizer.
PHP Programming
7 July 2007 0 Comments
As a PHP Developer, I think it’s time to move forward to PHP5. Today, I checked GoPHP5.org initiative: PHP developers cannot leverage PHP 5′s full potential without dropping support for PHP 4, but PHP 4 is still installed on a majority of shared web hosts and users would then be forced to switch to a [...]
PHP Programming
5 July 2007 1 Comment
A good rule to remember. MySQL are case sensitive only table and database identifiers and only on platforms with case-sensitive filenames (Linux/Unix). So, If you’re developing a system. Do remember. MySQL are case sensitive. An example: Bad Practice: select * from Project Good Practice: SELECT * FROM project Ref: Identifier Case Sensitive