Amazon Web Services - Can't Install PHP On Chef Due To Conflicts ...
- Home
- amazon web services - Can't install PHP on Chef due to conflicts with php-common-5.3.29-1.8.amzn1.x86_64
amazon web services - Can't install PHP on Chef due to conflicts with php-common-5.3.29-1.8.amzn1.x86_64
Get the solution ↓↓↓ I'm encountering some problems trying to install PHP on my node on AWS (using as OS Amazon AMI, that is some sort of Red Hat). When I try to run chef-solo I receive this output:
================================================================================ Error executing action `install` on resource 'yum_package[php-mysql]' ================================================================================ Chef::Exceptions::Exec Copy codeThat's my repo with cookbooks and config file:
https://github.com/Leonardo610/tirocinio
Thanks for the help!
Undefined asked 2022-06-4 Write your answer 470 votes
Answer
-- yum -d0 -e0 -y install php-mysql-5.3.29-1.8.amzn1 returned 1: STDOUT: You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest STDERR: Error: php56-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64 Cookbook Trace: Write your answer 383 votes
Answer
----- /home/ec2-user/chef-repo/localrepo/chef/local-mode-cache/cache/cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb:41:in `run_action' Resource Declaration: Write your answer 992 votes
Answer
- # In /home/ec2-user/chef-repo/localrepo/chef/local-mode-cache/cache/cookbooks/php/recipes/module_mysql.rb 22: package node['php']['mysql']['package'] do 23: action :install 24: end Compiled Resource: Write your answer 546 votes
Answer
-------- # Declared in /home/ec2-user/chef-repo/localrepo/chef/local-mode-cache/cache/cookbooks/php/recipes/module_mysql.rb:22:in `from_file' yum_package("php-mysql") do package_name "php-mysql" action [:install] retries 0 retry_delay 2 default_guard_interpreter :default declared_type :package cookbook_name "php" recipe_name "module_mysql" flush_cache {:before=>false, :after=>false} end Platform: --------- x86_64-linux Write your answerShare solution ↓
Additional Information:
Date the issue was resolved: 2022-06-4 Link To Source Link To Answer People are also looking for solutions of the problem: call to undefined function illuminate\encryption\openssl_cipher_iv_length()Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Ask a QuestionSimilar questions
Find the answer in similar questions on our website.
779 php - In a Twig template {{0 in ['a', 'b', '99']}} returns 1. WHY? 354 PHP + SQL - Using SQL Server 'Create To' scripts to create tables through PHP 384 How to check whether $_GET['id'] is set and it's not empty using php 86 php - Using JQuery UI's sortable('serialize') after loading data in via .load(); 787 php - Getting "Call to undefined function: 'define': in phalanger web site 515 installation - How to install PHP in IIS 7.5, Windows Server 2008 R2 (64bits) 710 php - DOMDocument need to search for an element that has attribute class="something" 569 php - Avoiding including abstract class in a general 'bootstrap' file 790 php - Why does $_SERVER['HTTP_REFERER'] still show original referrer? 503 authentication - php password protected websiteWrite quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.
About the technologies asked in this question
PHP
PHP (from the English Hypertext Preprocessor - hypertext preprocessor) is a scripting programming language for developing web applications. Supported by most hosting providers, it is one of the most popular tools for creating dynamic websites. The PHP scripting language has gained wide popularity due to its processing speed, simplicity, cross-platform, functionality and distribution of source codes under its own license.https://www.php.net/
MySQL
DBMS is a database management system. It is designed to change, search, add and delete information in the database. There are many DBMSs designed for similar purposes with different features. One of the most popular is MySQL. It is a software tool designed to work with relational SQL databases. It is easy to learn even for site owners who are not professional programmers or administrators. MySQL DBMS also allows you to export and import data, which is convenient when moving large amounts of information.https://www.mysql.com/
Welcome to programmierfrage.com
programmierfrage.com is a question and answer site for professional web developers, programming enthusiasts and website builders. Site created and operated by the community. Together with you, we create a free library of detailed answers to any question on programming, web development, website creation and website administration.
Get answers to specific questions
Ask about the real problem you are facing. Describe in detail what you are doing and what you want to achieve.
Help Others Solve Their Issues
Our goal is to create a strong community in which everyone will support each other. If you find a question and know the answer to it, help others with your knowledge.
Từ khóa » Chef Php 7
-
Php Cookbook - Chef Supermarket
-
Codenamephp_php Cookbook - Chef Supermarket
-
Sous-chefs/php: Development Repository For The Php Cookbook
-
Aerian-studios/chef-cookbook-php7: Development ... - GitHub
-
Top 14 Chef Php 7
-
This Site Is My Tech Obstacle Log, Leave Me A Msg If U ...
-
7" Chef Knife - Zebra Malaysia
-
Chef Celina David - Home | Facebook
-
Deploy WordPress On CentOS 7 Using Chef - Blog Of Kliment Andreev
-
Edomae Sushi - 白石 : Shiraishi
-
Chef - Datadog Docs
-
Kaïbee — Offre De Mission Chef De Projet - Expert Technique (PHP 7 ...
-
Chef Salaries In The Philippines For PARADISE DYNASTY - Indeed
-
PHP Version 7.0.33-0+deb9u10 | Linode Questions