Archive

Archive for the ‘Web Dev’ Category

Whats new in 10.5.7 for PHP / Ruby folks

July 2nd, 2009

So I installed the mighty 10.5.7 upgrade with great excitement. It was stated in the upgrade doc that there are small and slight visuale appearant changes, its mosty changes in the background. I was interested to see what has changed for the PHP & Ruby fans on Mac with this release.

PHP

Impact: Multiple vulnerabilities in PHP 5.2.6

Description: PHP is updated to version 5.2.8 to address multiple vulnerabilities, the most serious of which may lead to arbitrary code execution. Get details on whats changed in 5.2.8 by clicking here.

At the time of writing this post 5.3.0 is released. And the old problem of missing GD2 library still persists. Apple must have a great reason behind it for sure :)

Ruby

Impact: Multiple vulnerabilities in Ruby 1.8.6

Description: Multiple vulnerabilities exist in Ruby 1.8.6. This update addresses the issues by updating Ruby to version 1.8.6-p287. Get details about the changes here.

Mac OS, Web Dev , , ,

Forbidden 403 error in Leopard Mac OS 10.5 with Web Sharing On

August 10th, 2008

The Upgrade to Leopard was flawless! I took backup of everything on the HD if I had to revert to plan B, which is clean install!

Ok! Lets start the game and start playing with the Web powerhouse under this OS. I switched on Web Sharing, typed in:

http://localhost/~username

And I got the following error:

Forbidden: 403 Error
You dont have permissions to access localhost/~username

Read more…

Web Dev , , , , , ,

Running MySql on Mac OS X Leopard

August 10th, 2008

We have previously activated Apache Web Server and the native PHP packed with Mac OS X. We have managed to host static pages and also dynamic functionality using PHP. Now, its time to get ourselves the Database tier, the ever famous MySql Server. More info on MySql here. Hence, we will be completing the OS , Apache, MySql & PHP stack, commonly called LAMP for Linux, WAMP for Windows and MAMP for Mac OS X.
Read more…

Web Dev , , , , ,

Serving PHP with Mac OS X

August 10th, 2008

In my last Post, we fired up the Apache server, respectively v 1.3 in Tiger & v 2.2 in Leopard. By now putting up Hello World! static page is just blink of an eye effort. And we can also start and stop our server via Terminal. Nice! From here we take on to start the native PHP available in Max OS X. Tiger Supports PHP 4.4.7 and Leopard supports PHP 5.2.4. To start PHP we have to make changes in the Apache configuration file.
Read more…

Web Dev , , , , , , , , ,