5 ms·
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?
by jsdalton 15y ago
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?
- dochtman 15y agoPretty sure Python is 2.7 (but don't remember sources).
- nzoschke 15y ago$ /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-2level
- ikilledkojack 15y agoWould you be kind enough to show the output of `perl -v | head -2` ?
- jolan 15y agoThis is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-thread-multi-2level
- clobber 15y agoAnyone know why Apple didn't update Ruby to 1.9.2 in Lion?
- chc 15y agoMost likely they were worried about breaking existing scripts since 1.8 has been the official Ruby of Mac OS X for pretty much its entire lifetime. Ruby 1.9 is better, but it did manage to break a decent number of programs.
- getsat 15y agoIf you need 1.9.2, the cleanest way to currently get it is via RVM. Install RVM, then: rvm install 1.9.2 rvm --default use 1.9.2 https://rvm.beginrescueend.com/ https://rvm.beginrescueend.com/
- masklinn 15y agoI heard there was some kind of Postgres included in the standard Lion installation, that true? Also, is there a Python 3 bundled?
- duskwuff 15y agoAppears to include the "psql" command-line client and related support libraries, but no server. The server might be present in Lion Server, which I don't have.
- deleted 15y ago[deleted]
- endian 15y agoWhat about `sqlite3 -version`? Can we haz 3.7 and its Write-Ahead Log?
- msisk6 15y ago$ sqlite3 -version 3.7.5