php-exif
Posted: 27 Apr 2014 08:37
Hi.
How to add php5-exif package, and not to crash the webGUI ?
Thanx.
How to add php5-exif package, and not to crash the webGUI ?
Thanx.
Welcome to the XigmaNAS community forum!
https://www.xigmanas.com/oldforums/
https://www.xigmanas.com/oldforums/viewtopic.php?f=72&t=6491
Code: Select all
nas4free: russian # /etc/rc.d/websrv stop
Stopping websrv.
Waiting for PIDS: 1910.
nas4free: russian # /etc/rc.d/lighttpd stop
Stopping lighttpd.
Waiting for PIDS: 2680.
nas4free: russian # pkg_add -r php5-exif
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.2-release/Latest/php5-exif.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.2-release/All/pkgconf-0.9.2_1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.2-release/All/pcre-8.33.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.2-release/All/libxml2-2.8.0_2.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.2-release/All/php5-5.4.17.tbz... Done.
nas4free: russian # cd /usr/local/bin
nas4free: bin # ls -l php*
-rwxr-xr-x 1 root wheel 3964468 Aug 12 2013 php
-rwxr-xr-x 1 root wheel 3945905 Aug 12 2013 php-cgi
-r-xr-xr-x 1 root wheel 392 Apr 28 03:59 php-cgi-websrv
-rwxr-xr-x 1 root wheel 2495 Aug 12 2013 php-config
-rwxr-xr-x 1 root wheel 4528 Aug 12 2013 phpize
nas4free: bin # /etc/rc.d/lighttpd start
Starting lighttpd.
nas4free: bin # /etc/rc.d/websrv start
Starting websrv.
Code: Select all
nas4free: bin # mv /usr/local/bin/php /usr/local/bin/php-cli
nas4free: bin # cp /usr/local/bin/php-cgi /usr/local/bin/php
Code: Select all
nas4free: bin # mv /usr/local/bin/php /usr/local/bin/php-cli
nas4free: bin # cp /usr/local/bin/php-cgi /usr/local/bin/php