Skip to content

Instantly share code, notes, and snippets.

View pgee70's full-sized avatar

pgee70

View GitHub Profile
@pgee70
pgee70 / plex-update-server-location-instructions.md
Last active March 9, 2026 08:12
ubuntu plex move server instructions

ubuntu plex move media folder location instructions

yeah, so you want to move the location of the plex media server files? perhaps you got some new shiny hard drives to store your media?

steps

  1. don't do it.
  2. see step 1

but really, how do you do it? my drives are so shiny!

@pgee70
pgee70 / update_php72.sh
Created August 23, 2018 23:38
update mac ports php installation
#updating php versions is a hassle, these steps help make it less so...
sudo port uninstall php7*
sudo port selfupdate
sudo port install php72 php72-apache2handler php72-calendar php72-cgi php72-curl php72-exif php72-fpm php72-ftp php72-gd php72-geoip php72-gettext php72-gmagick php72-iconv php72-imagick php72-imap php72-intl php72-ipc php72-ldap php72-lzf php72-mailparse php72-mbstring php72-mcrypt php72-mysql php72-openssl php72-pdflib php72-xdebug php72-zip php_select
cd /opt/local/lib/apache2/modules/
sudo /opt/local/bin/apxs -a -e -n php7 mod_php72.so
sudo port select php php72
cd /opt/local/etc/php72/
sudo cp php.ini-development php.ini
#update as required filemerge util is handy to see what has changed. needed to set up mysqli default sockets etc.