简体   繁体   中英

How to upgrade PHP with PHP-FPM

I tried to upgrade PHP from 5.2.12 to 5.2.14 (FreeBSD 7) (by make install), but after installation 'php -v' in command line shows '5.2.14' and phpinfo() shows '5.2.12'. How can it be?

Now I'm trying to install PHP patched with PHP-FPM, but get an error that says 'make deinstall' before.

How can I properly install PHP now? And what happens if I execute 'make deinstall'? Will config file, extensions and some settings be deleted?

为了升级任何端口,您必须运行make deinstall :)整个过程应如下所示: make clean && make build && make deinstall && make reinstall或仅使用portupgrade:
portupgrade -fR -o lang/php52

Did you restart your http server? It could still be using an in-memory instance of the old PHP 5.2.12 library.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM