Enable SSH in PHP?

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Enable SSH in PHP?

Postby alkafy » 09. September 2009 20:22

After installing the imagemagick library, the following will work in a Terminal window, but not through a php script using exec(), shell_exec() or system() in XAMPP:
for i in *.pdf;
convert "$i" -compress zip ../compressed/"$i"

My solution would be to SSH with php into localhost and run the commands, but I can't figure out how to install the libssh2 libraries for XAMPP. Any help?

Edit: I need to use pdftotext as well, which doesn't seem to come with XAMPP like imagemagick does.
Posts: 1
Joined: 09. September 2009 20:15

Re: Enable SSH in PHP?

Postby trippeggs » 02. October 2009 22:47

Posts: 1
Joined: 02. October 2009 22:46

Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 5 guests