Warning: The magic method RestrictCategories::__wakeup() must have public visibility in /var/www/html/blog/wp-content/plugins/restrict-categories/restrict-categories.php on line 59

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/blog/wp-content/plugins/restrict-categories/restrict-categories.php:59) in /var/www/html/blog/wp-includes/feed-rss2.php on line 8
Page not found – mablog https://abendstille.at/blog the blog of ma Thu, 13 Jun 2013 14:19:58 +0000 en-US hourly 1 https://wordpress.org/?v=5.4.15 18365574 SSH2 Extension for MAMP on MacOS X https://abendstille.at/blog/?p=144 https://abendstille.at/blog/?p=144#respond Thu, 13 Jun 2013 14:19:58 +0000 http://www.abendstille.at/blog/?p=144 If you want to use SSH2 with PHP (say you built a custom deployment system) you need the SSH2-extension for php. Here is how you get it to work using MAMP on OSX.

I recently wrote an article on how you get the autotools installed on osx. Do this first – you ned autoconf, automake and libtools.

Then installing the SSH2 extension is easy as pie:

  1. Install the autotools
  2. Install libssh (as root)
  3. build the ssh2-extension using pecl (you have to give pecl the absolute path, because ssh2 is still beta)

Here is how this looked like on my cli:

cd /usr/local/src
sudo bash
curl -OL http://www.libssh2.org/download/libssh2-1.4.3.tar.gz
tar xzf libssh2-1.4.3.tar.gz
cd libssh2-1.4.3
./configure --prefix=/usr/local/
make
make install
exit
cd /Applications/MAMP/bin/php/php5.3.6/
./bin/pecl install channel://pecl.php.net/ssh2-0.12

Now the only thing remaining is enabling the module in your php.ini.

]]>
https://abendstille.at/blog/?feed=rss2&p=144 0 144
Wurfaxt https://abendstille.at/blog/?p=60 https://abendstille.at/blog/?p=60#respond Tue, 02 Mar 2010 10:03:57 +0000 http://www.abendstille.at/blog/?p=60 Die vergangene Woche habe ich auf 3mo’s techblog wurfaxt zwei artikel veröffentlicht:

einmal wie man unter osx snow leopard einen diy webserver einrichtet

und das ergebnis der zusammenarbeit mit johannes(morgenstille turboblog) für ein fach der uni in dem es um “geistigen eigentum” (brrrr mir schaudert bei dem wort) geht.

hf beim lesen…

]]>
https://abendstille.at/blog/?feed=rss2&p=60 0 60