Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set MySQL default socket to BOXEN_MYSQL_SOCKET #41

Closed
nomasprime opened this issue Jul 25, 2013 · 4 comments
Closed

Set MySQL default socket to BOXEN_MYSQL_SOCKET #41

nomasprime opened this issue Jul 25, 2013 · 4 comments

Comments

@nomasprime
Copy link
Contributor

Looked through some code but can't see how this is specified.

@mattheath
Copy link
Owner

It's in the php.ini file which each php version is given a copy of. It's not set, so it should fall back to the PHP default:

pdo_mysql: https://github.com/mattheath/puppet-php/blob/master/templates/php.ini.erb#L1013
mysql: https://github.com/mattheath/puppet-php/blob/master/templates/php.ini.erb#L1167
mysqli: https://github.com/mattheath/puppet-php/blob/master/templates/php.ini.erb#L1226

As noted in #32 its currently not easy to customise this unfortunately

@nomasprime
Copy link
Contributor Author

@mattheath unless I'm missing something, couldn't we just inject BOXEN_MYSQL_SOCKET?

@mattheath
Copy link
Owner

Yeah, fair point. This should probably be changed.

@mattheath mattheath reopened this Jul 29, 2013
@mattheath
Copy link
Owner

Fixed in boxen#10

webflo pushed a commit to webflo/puppet-php that referenced this issue Jun 26, 2014
Add PHP 5.4.27, 5.4.28. 5.4.29, 5.5.11, 5.5.12, 5.5.13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants