Initial import
This commit is contained in:
15
DOC/README.php5.2-install
Normal file
15
DOC/README.php5.2-install
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
## - if you get the following error:
|
||||
## -
|
||||
## - configure: error: libXpm.(a|so) not found
|
||||
## -
|
||||
## - set a symlink /usr/lib/libXpm.a --> /usr/lib/x86_64-linux-gnu/libXpm.a
|
||||
## -
|
||||
ln -s x86_64-linux-gnu/libXpm.a /usr/lib/libXpm.a
|
||||
## - or (the same)
|
||||
ln -s /usr/lib/x86_64-linux-gnu/libXpm.a /usr/lib/libXpm.a
|
||||
|
||||
ln -s x86_64-linux-gnu/libjpeg.a /usr/lib/libjpeg.a
|
||||
|
||||
ln -s x86_64-linux-gnu/libpng.a /usr/lib/libpng.a
|
||||
|
42
DOC/README.php5.4-install
Normal file
42
DOC/README.php5.4-install
Normal file
@ -0,0 +1,42 @@
|
||||
|
||||
## - if you get the following error:
|
||||
## -
|
||||
## - configure: error: libXpm.(a|so) not found
|
||||
## -
|
||||
## - set a symlink /usr/lib/libXpm.a --> /usr/lib/x86_64-linux-gnu/libXpm.a
|
||||
## -
|
||||
ln -s x86_64-linux-gnu/libXpm.a /usr/lib/libXpm.a
|
||||
## - or (the same)
|
||||
ln -s /usr/lib/x86_64-linux-gnu/libXpm.a /usr/lib/libXpm.a
|
||||
|
||||
|
||||
## - IMAP support
|
||||
## -
|
||||
## - if you get the following error:
|
||||
## -
|
||||
## - configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing.
|
||||
## - This should not happen. Check config.log for additional information.
|
||||
## -
|
||||
aptitude install libc-client-dev
|
||||
## - or
|
||||
apt-get install libc-client2007e libc-client2007e-dev libpam0g-dev mlock
|
||||
|
||||
|
||||
## - ICU support (?)
|
||||
## -
|
||||
## - configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install
|
||||
## - prefix and make sure icu-config works.
|
||||
## -
|
||||
apt-get install libicu-dev
|
||||
|
||||
|
||||
## - PSPELL support
|
||||
## -
|
||||
## - configure: error: Cannot find pspell
|
||||
## -
|
||||
apt-get install libpspell-dev
|
||||
|
||||
|
||||
## - VPX Codecs
|
||||
# -
|
||||
apt-get install libvpx-dev
|
8
DOC/README.php5.6.redis
Normal file
8
DOC/README.php5.6.redis
Normal file
@ -0,0 +1,8 @@
|
||||
## - Install redis extension under php 5.6
|
||||
## -
|
||||
## - Note: the actual version (at time 3.0) requires php vsersion >= 7.0
|
||||
## - (and for now < 7.1)
|
||||
## -
|
||||
## - Note: On php 5.6.x install redis v. 2.2.8
|
||||
## -
|
||||
pecl install redis-2.2.8
|
14
DOC/README.php57.ldap
Normal file
14
DOC/README.php57.ldap
Normal file
@ -0,0 +1,14 @@
|
||||
## - PHP does not find LDAP libraries:
|
||||
## -
|
||||
## - configure: error: Cannot find ldap libraries in /usr/lib
|
||||
## -
|
||||
## - FIX: set a symlink:
|
||||
## - ln -s /usr/lib/x86_64-linux-gnu/libldap.so /usr/lib/
|
||||
## -
|
||||
ln -s /usr/lib/x86_64-linux-gnu/libldap.so /usr/lib/
|
||||
|
||||
## - Note:
|
||||
## -
|
||||
## - If 'apr' and apr-utils' wasn't compiled with ldap support (that
|
||||
## - is, if libldap.so wasn't present), recompile both
|
||||
|
29
DOC/READNE.memcached
Normal file
29
DOC/READNE.memcached
Normal file
@ -0,0 +1,29 @@
|
||||
## ---
|
||||
## - Installtion of PHP-Extension Memcached
|
||||
## ---
|
||||
|
||||
## - Install extension memcached via pecl (pecl install memcached)
|
||||
## -
|
||||
## - Note: Installation my fail with error message:
|
||||
## -
|
||||
## - configure: error: no, libmemcached sasl support is not enabled. Run configure with --disable-memcached-sasl to disable this check
|
||||
## -
|
||||
## -
|
||||
## - During installation answer with this:
|
||||
## -
|
||||
## - libmemcached directory [no] : no --disable-memcached-sasl
|
||||
|
||||
|
||||
## - Install extension memcached directly and give configure option --disable-memcached-sasl
|
||||
## -
|
||||
## - --disable-memcached-sasl
|
||||
## -
|
||||
VERSION=2.2.0
|
||||
wget https://pecl.php.net/get/memcached-${VERSION}.tgz
|
||||
gunzip < memcached-${VERSION}.tgz | tar -xf -
|
||||
cd memcached-${VERSION}
|
||||
./configure --disable-memcached-sasl
|
||||
make
|
||||
make install
|
||||
|
||||
|
56
DOC/ffmpeg-php.INSTALL
Normal file
56
DOC/ffmpeg-php.INSTALL
Normal file
@ -0,0 +1,56 @@
|
||||
## - install prerequisites
|
||||
## -
|
||||
apt-get install ffmpeg re2c libavcodec-dev libavformat-dev libswscale-dev libpostproc-dev
|
||||
|
||||
cd /usr/local/src/apache2
|
||||
|
||||
## - download ffmpeg-php from sourceforge
|
||||
## -
|
||||
## - http://sourceforge.net/projects/ffmpeg-php/files/ffmpeg-php/
|
||||
## -
|
||||
|
||||
|
||||
## - If configure script ends up in error
|
||||
## -
|
||||
## - configure: error: ffmpeg shared libraries not found. Make sure ffmpeg is compiled as shared libraries using the --enable-shared option
|
||||
## -
|
||||
## - library libavcodec.so was not found.
|
||||
## -
|
||||
## - You can solve it, by symlinc libavcodec.so to directory /usr/lib
|
||||
## -
|
||||
cd /usr/lib
|
||||
ln -s x86_64-linux-gnu/libavcodec.so
|
||||
|
||||
|
||||
|
||||
bunzip2 < ffmpeg-php-0.6.0.tar.bz2 | tar -xf -
|
||||
cd ffmpeg-php-0.6.0
|
||||
|
||||
phpize
|
||||
./configure
|
||||
make
|
||||
make install
|
||||
|
||||
|
||||
## - in file (/usr/local/apache2/conf/)php.ini add:
|
||||
## - extension=ffmpeg.so
|
||||
vim /usr/local/apache2/conf/php.ini
|
||||
|
||||
/etc/init.d/apache2 restart
|
||||
|
||||
|
||||
## - Install fron source (svn)
|
||||
|
||||
#svn co https://ffmpeg-php.svn.sourceforge.net/svnroot/ffmpeg-php ffmpeg-php_php-5.3.26
|
||||
svn co https://svn.code.sf.net/p/ffmpeg-php/code ffmpeg--php_php-5.3.26
|
||||
|
||||
cd ffmpeg-php_php-5.4.26/trunk/ffmpeg-php
|
||||
|
||||
phpize
|
||||
./configure --enable-shared
|
||||
make
|
||||
make install
|
||||
|
||||
## - in file (/usr/local/apache2/conf/)php.ini add:
|
||||
## - extension=ffmpeg.so
|
||||
vim /usr/local/apache2/conf/php.ini
|
24
DOC/php_pear_install.txt
Normal file
24
DOC/php_pear_install.txt
Normal file
@ -0,0 +1,24 @@
|
||||
PHP 5.3.18
|
||||
==========
|
||||
pear install Auth_SASL
|
||||
pear install Console_Getopt
|
||||
pear install HTTP
|
||||
pear install HTTP_Request
|
||||
pear install HTTP_Upload-beta
|
||||
pear install Mail
|
||||
pear install Mail_Mime
|
||||
pear install Mail_mimeDecode
|
||||
pear install Net_SMTP
|
||||
|
||||
PHP 5.4.9
|
||||
=========
|
||||
pear install Auth_SASL
|
||||
pear install Console_Getopt
|
||||
pear install HTTP
|
||||
pear install HTTP_Request
|
||||
pear install HTTP_Upload-beta
|
||||
pear install Mail
|
||||
pear install Mail_Mime
|
||||
pear install Mail_mimeDecode
|
||||
pear install Net_SMTP
|
||||
|
14
DOC/php_pecl_install.txt
Normal file
14
DOC/php_pecl_install.txt
Normal file
@ -0,0 +1,14 @@
|
||||
PHP 5.3.18
|
||||
==========
|
||||
pecl install pecl_http
|
||||
pecl install apc
|
||||
pecl install imagick
|
||||
pecl install geoip
|
||||
|
||||
|
||||
PHP 5.4.9
|
||||
=========
|
||||
pecl install pecl_http
|
||||
pecl install apc
|
||||
pecl install imagick-beta
|
||||
pecl install geoip
|
Reference in New Issue
Block a user