Comments (4)
You basically have to build the newer version with the same options as you did in the previous build . note that phpbrew is a multi version installer .So there is no concept like upgrade php5.5.x to a newer one .You just build the new one alongside the old and delete the old one if its not required . Each version will be installed into its own folder .
Also read : https://github.com/phpbrew/phpbrew/wiki/Cookbook
from autom8n.
@AnoopAlias -- I'm a bit confused and hope you can help! Your SSH key is still in my hosts file, just FYI.
[root@lw ~]# phpbrew update
===> Fetching release list...
[==================================================================] 184.00/184.00B 100%
Redirecting to https://secure.php.net/releases/index.php?json&version=5&max=100
5.6: 12 releases
5.5: 28 releases
5.4: 44 releases
5.3: 16 releases
===> Done
[root@lw ~]# phpbrew known
5.6: 5.6.11, 5.6.10, 5.6.9, 5.6.8, 5.6.7, 5.6.6, 5.6.5, 5.6.4 ...
5.5: 5.5.27, 5.5.26, 5.5.25, 5.5.24, 5.5.23, 5.5.22, 5.5.21, 5.5.20 ...
5.4: 5.4.43, 5.4.42, 5.4.41, 5.4.40, 5.4.39, 5.4.38, 5.4.37, 5.4.36 ...
5.3: 5.3.29, 5.3.28, 5.3.27, 5.3.26, 5.3.25, 5.3.24, 5.3.23, 5.3.22 ...
You can run `phpbrew update` to get a newer release list.
[root@lw ~]# phpbrew install --like php-5.5.20 --as php-5.5.27
GetOptionKit\Exception\InvalidOptionException: Invalid option: --as
Trace:
0) GetOptionKit\ContinuousOptionParser->parse(['/usr/bin/phpbrew', 'install', '--like', 'php-5.5.20', '--as', 'php-5.5.27'])
1) GetOptionKit\ContinuousOptionParser->continueParse()
2) CLIFramework\Application->run(['/usr/bin/phpbrew', 'install', '--like', 'php-5.5.20', '--as', 'php-5.5.27'])
3) CLIFramework\Application->runWithTry(['/usr/bin/phpbrew', 'install', '--like', 'php-5.5.20', '--as', 'php-5.5.27'])
4) require('phar:///usr/bin/phpbrew/scripts/phpbrew-emb.php')
[root@lw ~]# phpbrew install phpbrew 5.5.27
Exception: Version phpbrew not found.
Trace:
0) PhpBrew\Command\InstallCommand->execute('phpbrew', '5.5.27')
1) call_user_func_array([PhpBrew\Command\InstallCommand, 'execute'], ['phpbrew', '5.5.27'])
2) CLIFramework\CommandBase->executeWrapper(['phpbrew', '5.5.27'])
3) CLIFramework\Application->run(['/usr/bin/phpbrew', 'install', 'phpbrew', '5.5.27'])
4) CLIFramework\Application->runWithTry(['/usr/bin/phpbrew', 'install', 'phpbrew', '5.5.27'])
5) require('phar:///usr/bin/phpbrew/scripts/phpbrew-emb.php')
from autom8n.
@AnoopAlias Please help!
from autom8n.
@brianjking .phpbrew is a bit cumbersome as we have to apply all the options again to compile the new version . One easy way to apply the current cPanel config is
phpbrew install 5.x.x +fpm -- CONFIGOPTIONS
Where CONFIGOPTIONS can ge got from the command
php-config --configure-options
Note that you must delete the "--prefix=/usr/local" from the above manually as otherwise the install will overwrite system php.
To get rid of all these hassles you can use the PHP installed from remi repo using command
/opt/nDeploy/scripts/easy_php_setup.sh
This will install 3 versions of PHP and always keep it updated using yum .
Again phpbrew recompile is not an nDeploy bug. So this issue is a wontFix .You can avail our tech support and have one of our admins compile phprew new version at hourly support rates if you wish
from autom8n.
Related Issues (20)
- custom nginx error_log for nemesida HOT 1
- Add autofix maxscale mysql on master cron
- Add default my.cnf.local on initial playbook run
- show maxscale/mariadb cluster status in WHM UI
- Extend proxy_to_master feature with a failover upstream setup
- nwaf whitelisting is accepting only one domain as parameter
- Basic spam filtering in postfix on slave nodes
- Cleanup WHM UI
- fix update_nginx_status_allow.py script on NAT-ed environment
- update maxscale to new version on playbook
- fix nwaf disable
- remove upgrade in server.j2
- Feature Request - Development Mode via App Integration HOT 1
- nginx stopped in slave for ssl error
- ansible dont support /etc/crontab for cron entry
- mariabackup gtid position script error
- Centos8 change rpm dependency to ansible-core instead of ansible HOT 1
- Remove nginx modules that no longer compile HOT 1
- move named stop step in playbook to end
- fix compatibility issue with centos7/centos8 in playbook run
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autom8n.