zach-adams / hgv-deploy-basic

This Ansible Playbook is designed to setup a Mercury-Like environment on a Production server without the configuration hassle.
11 stars 3 forks source link

"No package matching 'php5-mysql' is available" #5

Open juanbrujo opened 8 years ago

juanbrujo commented 8 years ago

Whole error message:

TASK [common : Install necessary packages for proper system state] *************
failed: [metrogasinvita.cl] (item=[u'sysv-rc-conf', u'python-apt', u'python-pycurl', u'python-mysqldb', u'git', u'curl', u'unzip', u'php5-mysql', u'traceroute', u'ack-grep', u'subversion', u'autojump', u'siege']) => {"failed": true, "item": ["sysv-rc-conf", "python-apt", "python-pycurl", "python-mysqldb", "git", "curl", "unzip", "php5-mysql", "traceroute", "ack-grep", "subversion", "autojump", "siege"], "msg": "No package matching 'php5-mysql' is available"}
timschroederme commented 7 years ago

You're probably trying to use this on a newer system that comes with PHP7 instead of PHP5. Try to replace "php5-mysql" with "php7.0-mysql".

thefrosty commented 7 years ago

@timschroedernet @juanbrujo It's actually php70-mysql, no period.