Login with username, password and session length
Resend Activation Email | Forgot your Password?
Join IT Acumens Discussion Zone Free!

IT Acumens Guest Notice

Welcome Guest
Quick Links: Earn by Posting on Our Community | >> Recent Cheques | Register | How To Post/Reply
(After logging in, this box will disappear.)


Share this topic on FacebookShare this topic on MySpaceShare this topic on Del.icio.usShare this topic on DiggShare this topic on RedditShare this topic on StumbleUponShare this topic on TwitterShare this topic on TechnoratiShare this topic on MagnoliaShare this topic on GoogleShare this topic on Yahoo

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: PHP, MySQL....  (Read 190 times)

Offline sukishan

  • Hero Member
  • *****
  • Posts: 2918
  • Acumen
    • View Profile
PHP, MySQL....
« on: August 22, 2009, 07:17:00 PM »
PHP
As you can see from these first two sections on Apache and Perl, not much is different on OS X, other than a few file locations. Its the same scenario with PHP. You can either install PHP from source, download it from php.net, or you can use a binary install packaged designed especially for OS X.

Apple had noted on the Apple Developer Connection Website that, previous to PHP version 4.3, installing from source could be a little tricky; however, PHP has resolved these issues with the latest release. For those that do prefer the convenience of installing PHP from a binary (.pkg file), Marc Liyanage has a Website that provides a binary of the latest release, which is compatible with both OS 10.2 and the new Panther, 10.3. This can be downloaded here. You will find that the binary offers the convenience of built-in support for numerous configurations, including MySQL (and PostgreSQL), PDF and XML.

MySQL
Getting MySQL onto your system is just as easy! MySQL provides a binary package installer for OS X that can be found here. Just be sure to select the download from the list of Mac OS X Package Installer downloads.

Once its installed, you can manage MySQL from the Terminal utility with traditional mysql command line actions, or via an add-on tool from third parties. This author uses Webmin (free from webmin.com), which offers browser-based control over not just MySQL, but Apache, Sendmail, and Perl modules, too.

Dynamic Web Serving Ready to Go
As you've seen, getting your Web server up and running is quick and easy on OS X, including the ability to test your scripts and even entire Web applications locally. Below, Ive included some closing notes on leveraging Python and CVS on your OS X system.

Installing Python on OS X

Python 2.2 is included in the BSD subsystem of OS X; however, many new open-source applications are using a newer build of Python. There is a MacPython build with special OS X features available here.

Using CVS and OS X

One final reference note for those developers who may be using CVS for source control: OS X has native support for CVS in both single user and multi-user environments. There is an excellent article on using CVS for Web development on the Apple Website. Using CVS does entail some under the hood use of OS X via the included Terminal utility for command line operations.
A good beginning makes a good ending

IT Acumens Discussion Zone