You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.
I'm trying to configure php with nginx but I can't continue because I'm receiving the next errors:
==> myvm: Error: Could not find command 'php5enmod'
==> myvm: Error: /Stage[main]/MyVM::Webphp/Php::Mod[[xml, pdo, mcrypt, mbstring, fpm, tokenizer, pear, pecl-memcache, pecl-oauth, php5enmod mcrypt]]/Exec[php_mod_tool_[xml, pdo, mcrypt, mbstring, fpm, tokenizer, pear, pecl-memcache, pecl-oauth, php5enmod mcrypt]]/returns: change from notrun to 0 failed: Could not find command 'php5enmod'
I was using this puppet https://github.com/thias/puppet-php but since I need php 5.6 at least, I decided to try with this one and this my configuration.
class myvm::webphp {
class { 'php':
service => 'nginx'
}
#include php::mod_php5 I was using this previously
$module = hiera_array('myvm::webphp::modules') # [xml, pdo, mcrypt, ...]
php::mod { "$module": }
}
So, I don't know why is trying to set a module for apache when I'm using nginx but if still is necessary the php5mod, can you tell me what's line should I use to set that php5mod please.
Kind regards!
The text was updated successfully, but these errors were encountered:
Hi!
I'm trying to configure php with nginx but I can't continue because I'm receiving the next errors:
I was using this puppet https://github.com/thias/puppet-php but since I need php 5.6 at least, I decided to try with this one and this my configuration.
So, I don't know why is trying to set a module for apache when I'm using nginx but if still is necessary the php5mod, can you tell me what's line should I use to set that php5mod please.
Kind regards!
The text was updated successfully, but these errors were encountered: