Since the article didn't mention it, I'll ask here.
Anyone know the versions of Python, Ruby, Apache, PHP, etc. that come installed with OS X Lion?
Anyone know the versions of Python, Ruby, Apache, PHP, etc. that come installed with OS X Lion?
$ /usr/bin/python -V
Python 2.7.1
$ /usr/bin/ruby --version
ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
$ /usr/bin/php --version
PHP 5.3.6 with Suhosin-Patch (cli) (built: Jun 16 2011 22:26:57)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
$ /usr/sbin/httpd -V
Server version: Apache/2.2.19 (Unix)
Server built: Jun 16 2011 22:09:54
Server's Module Magic Number: 20051115:28
Server loaded: APR 1.4.2, APR-Util 1.3.10
Compiled using: APR 1.4.2, APR-Util 1.3.10
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr"
-D SUEXEC_BIN="/usr/bin/suexec"
-D DEFAULT_PIDLOG="/private/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/private/var/run/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/private/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/private/etc/apache2/httpd.conf"
$ perl -v | head -2
This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-thread-multi-2levelInstall RVM, then:
rvm install 1.9.2
rvm --default use 1.9.2
https://rvm.beginrescueend.com/Also, is there a Python 3 bundled?
Can we haz 3.7 and its Write-Ahead Log?