Skip to content

Instantly share code, notes, and snippets.

@gfilipiak
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gfilipiak/3376007ff41e5fdeff7e to your computer and use it in GitHub Desktop.
Save gfilipiak/3376007ff41e5fdeff7e to your computer and use it in GitHub Desktop.
Aktualizacja php 5.5. OSX
sudo port selfupdate
sudo port install php55 php55-apache2handler
sudo port install php55-geoip
sudo port install php55-gettext
sudo port install php55-imap
sudo port install php55-intl
sudo port install php55-mcrypt
sudo port install php55-memcache
sudo port install php55-pcntl
sudo port install php55-xhprof
sudo port install php55-calendar
sudo port install php55-curl
sudo port install php55-exif
sudo port install php55-ftp
sudo port install php55-gd
sudo port install php55-iconv
sudo port install php55-ldap
sudo port install php55-mbstring
sudo port install php55-mysql
sudo port install php55-posix
sudo port install php55-soap
sudo port install php55-sockets
sudo port install php55-xsl
sudo port install php55-zip
sudo port install php55-dba
sudo port install php55-openssl
sudo port install php55-postgresql
sudo port install php55-sqlite
sudo port install php55-xdebug
sudo port install php55-apcu
sudo port select php php55
sudo cp /opt/local/etc/php55/php.ini-development /opt/local/etc/php55/php.ini
echo "Include conf/extra/mod_php55.conf" | sudo tee -a /opt/local/apache2/conf/httpd.conf
cd ~
echo "Include conf/extra/httpd-ssl.conf" | sudo tee -a /opt/local/apache2/conf/httpd.conf
cd /opt/local/apache2/modules
sudo /opt/local/apache2/bin/apxs -a -e -n php5 mod_php55.so
echo "xdebug.remote_enable=1" | sudo tee -a /opt/local/var/db/php55/xdebug.ini
echo "xdebug.max_nesting_level=1000" | sudo tee -a /opt/local/var/db/php55/xdebug.ini
sudo cp /opt/local/etc/php55/php.ini-development /opt/local/etc/php55/php.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment