• like gnulinux.ro

    like gnulinux.ro
  • 0
    Nota
  • 0
    Optiuni
  • 421
    Accesari
    • CritiC

    phpfarm

  • 1 year ago

custom-options-5.4.8.sh

sterge din custom options:

–with-fpm-user=nobody
–with-fpm-group=nogroup
–enable-fpm 

compileaza prima data:

./compile.sh      5.4.8

compileaza a 2-a oara cu custom-options full

./compile.sh      5.4.8

copiaza php.ini din versiunea anterioara

copiaza etc/php-fpm anterios /opt/phpfarm/inst/php-5.4.8/etc

modifica PID in /opt/phpfarm/inst/php-5.4.8/etc/php-fpm.conf

pid = /var/run/php-fpm/php-fpm-548.pid

 

APC

cd /usr/src/APC-3.1.13
/opt/phpfarm/inst/bin/phpize-5.4.8
./configure –with-php-config=/opt/phpfarm/inst/bin/php-config-5.4.8
make && make install

copiaza init /opt/phpfarm/inst/php-5.4.8/bin/init.d.php-fpm
modifica versiune noua

prefix=/opt/phpfarm/inst/php-5.4.8
exec_prefix=/opt/phpfarm/inst/php-5.4.8
php_fpm_PID=/var/run/php-fpm/php-fpm-548.pid

opreste versiune veche si porneste php-fpm nou:

/opt/phpfarm/inst/php-5.4.7/bin/init.d.php-fpm stop
/opt/phpfarm/inst/php-5.4.8/bin/init.d.php-fpm start