Page 1 of 1

PHP packages

Posted: Tue Jul 12, 2016 3:43 pm
by cesar0q
Hello, I'm new to linux and have been dabbling with Ubuntu Server 14.04 LTS. I was interested in installing zoneminder but was curious about the packages that will be installed for zm:

Code: Select all

The following extra packages will be installed:
  javascript-common libapache2-mod-php5 libarchive-zip-perl libasound2
  libasound2-data libasyncns0 libauthen-sasl-perl libav-tools libavcodec54
  libavdevice53 libavfilter3 libavformat54 libavresample1 libavutil52 libcaca0
  libcdio-cdda1 libcdio-paranoia1 libcdio13 libcommon-sense-perl
  libconvert-binhex-perl libdate-manip-perl libdc1394-22
  libdevice-serialport-perl libemail-date-format-perl libencode-locale-perl
  libfile-listing-perl libflac8 libfont-afm-perl libgsm1 libhtml-form-perl
  libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl
  libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
  libhttp-message-perl libhttp-negotiate-perl libimage-base-bundle-perl
  libimage-info-perl libio-html-perl libio-pty-perl libio-socket-inet6-perl
  libio-socket-ssl-perl libjack-jackd2-0 libjs-jquery libjs-mootools
  libjs-sphinxdoc libjs-underscore libjson-any-perl libjson-xs-perl
  liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl
  libmime-lite-perl libmime-tools-perl libmime-types-perl libmp3lame0
  libnet-http-perl libnet-libidn-perl libnet-sftp-foreign-perl
  libnet-smtp-ssl-perl libnet-ssleay-perl libogg0 libopenjpeg2 libopus0
  liborc-0.4-0 libphp-serialization-perl libphp5.5-embed libpolkit-agent-1-0
  libpolkit-backend-1-0 libproxy-tools libproxy1 libpulse0 libraw1394-11
  libsamplerate0 libschroedinger-1.0-0 libsdl1.2debian libsndfile1
  libsocket6-perl libspeex1 libswscale2 libsys-mmap-perl libtheora0
  liburi-encode-perl liburi-perl libva1 libvlc5 libvlccore7 libvorbis0a
  libvorbisenc2 libwww-perl libwww-robotrules-perl libx264-142 libxfixes3
  libxml-namespacesupport-perl libxml-parser-perl libxml-sax-base-perl
  libxml-sax-expat-perl libxml-sax-perl libxml-simple-perl libxvidcore4
  nullmailer php5-cli php5-common php5-json php5-mysql php5-readline
  php5.5-cli php5.5-common php5.5-json php5.5-opcache php5.5-readline
  policykit-1 vlc-data zip zoneminder-doc
Suggested packages:
  php-pear libasound2-plugins alsa-utils libdigest-hmac-perl libgssapi-perl
  frei0r-plugins libdata-dump-perl jackd2 libcrypt-ssleay-perl opus-tools
  pulseaudio libraw1394-doc speex libauthen-ntlm-perl php5-user-cache fcgiwrap
  www-browser
The following NEW packages will be installed:
  javascript-common libapache2-mod-php5 libarchive-zip-perl libasound2
  libasound2-data libasyncns0 libauthen-sasl-perl libav-tools libavcodec54
  libavdevice53 libavfilter3 libavformat54 libavresample1 libavutil52 libcaca0
  libcdio-cdda1 libcdio-paranoia1 libcdio13 libcommon-sense-perl
  libconvert-binhex-perl libdate-manip-perl libdc1394-22
  libdevice-serialport-perl libemail-date-format-perl libencode-locale-perl
  libfile-listing-perl libflac8 libfont-afm-perl libgsm1 libhtml-form-perl
  libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl
  libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
  libhttp-message-perl libhttp-negotiate-perl libimage-base-bundle-perl
  libimage-info-perl libio-html-perl libio-pty-perl libio-socket-inet6-perl
  libio-socket-ssl-perl libjack-jackd2-0 libjs-jquery libjs-mootools
  libjs-sphinxdoc libjs-underscore libjson-any-perl libjson-xs-perl
  liblwp-mediatypes-perl liblwp-protocol-https-perl libmailtools-perl
  libmime-lite-perl libmime-tools-perl libmime-types-perl libmp3lame0
  libnet-http-perl libnet-libidn-perl libnet-sftp-foreign-perl
  libnet-smtp-ssl-perl libnet-ssleay-perl libogg0 libopenjpeg2 libopus0
  liborc-0.4-0 libphp-serialization-perl libphp5.5-embed libpolkit-agent-1-0
  libpolkit-backend-1-0 libproxy-tools libproxy1 libpulse0 libraw1394-11
  libsamplerate0 libschroedinger-1.0-0 libsdl1.2debian libsndfile1
  libsocket6-perl libspeex1 libswscale2 libsys-mmap-perl libtheora0
  liburi-encode-perl liburi-perl libva1 libvlc5 libvlccore7 libvorbis0a
  libvorbisenc2 libwww-perl libwww-robotrules-perl libx264-142 libxfixes3
  libxml-namespacesupport-perl libxml-parser-perl libxml-sax-base-perl
  libxml-sax-expat-perl libxml-sax-perl libxml-simple-perl libxvidcore4
  nullmailer php5-cli php5-common php5-json php5-mysql php5-readline
  php5.5-cli php5.5-common php5.5-json php5.5-opcache php5.5-readline
  policykit-1 vlc-data zip zoneminder zoneminder-doc
0 upgraded, 119 newly installed, 0 to remove and 0 not upgraded.
Need to get 38.6 MB/39.2 MB of archives.
After this operation, 159 MB of additional disk space will be used.
Do you want to continue? [Y/n]
It lists php5 packages that will be installed but I already have php7.1 up and running. Will going through with this install php5 alongside php7 or would it recognize the system has something more recently installed and not install php5, or is there something specific I might have to do for the install to recognize php7.1 on my server?
I understand this may not be the forum to post a question like this in but any help would be appreciated. Thank you for your time.

Re: PHP packages

Posted: Tue Jul 12, 2016 8:05 pm
by bbunge
It will likely add php5. Should not cause an issue but you may be best to use Ubuntu 16.04.

Re: PHP packages

Posted: Tue Jul 12, 2016 9:11 pm
by cesar0q
Hi, thanks for responding. I tried installing 16.04 but wouldn't even boot after install so I switched back to 14.04. Is there anything I can do to keep from unnecessarily installing php5 on my server?

Re: PHP packages

Posted: Wed Jul 13, 2016 2:04 am
by bbunge
Compile Zoneminder from source (which is not recommended).

If you want to try a preconfigured version see: https://wiki.zoneminder.com/Lubuntu_16. ... _CD_or_USB

Re: PHP packages

Posted: Wed Jul 13, 2016 1:22 pm
by knight-of-ni
Ubuntu 14.04 was not intended to support PHP7, which no one is going to support, including us.
Feel free to do what you want, but some things just aren't worth our free time.

Some better solutions would be to figure out why Ubuntu 16.04 didn't boot, try one of the Ubuntu spins (see bbunge's suggestion), or switch to some other distro that ships with php 7. These solutions are supported. Of course, this assumes you've got to have php 7, instead of 5, for some reason you have not told us.