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.
what syntax do I use if I want to set more than one ini setting? For example, I want this:
upload_max_filesize = 200M
memory_limit=512M
Originally, I had this defined:
php::ini { "memory_limit":
value => 'memory_limit=512M'
}
which set the memory limit, but maybe I was doing it wrong. When I tried this:
php::ini { "memory_limit":
value => 'memory_limit=512M'
}
php::ini { "upload_max_filesize":
value => 'upload_max_filesize = 200M'
}
I get a duplicate declaration error, which makes sense, I guess. I'm just too new to puppet syntax to figure this out, but it's probably something simple. Any help?
The text was updated successfully, but these errors were encountered:
Uhm, sorry, I didn't look well at the define.
It's intended to create single .ini files, not to manage lines inside the php.ini file:
"""
With this you can alter/add a php ini file for a specific sapi target
or for both cli and apache2 (default for Ubuntu|Debian|Mint|SLES|OpenSuSE)
"""
what syntax do I use if I want to set more than one ini setting? For example, I want this:
upload_max_filesize = 200M
memory_limit=512M
Originally, I had this defined:
php::ini { "memory_limit":
value => 'memory_limit=512M'
}
which set the memory limit, but maybe I was doing it wrong. When I tried this:
php::ini { "memory_limit":
value => 'memory_limit=512M'
}
php::ini { "upload_max_filesize":
value => 'upload_max_filesize = 200M'
}
I get a duplicate declaration error, which makes sense, I guess. I'm just too new to puppet syntax to figure this out, but it's probably something simple. Any help?
The text was updated successfully, but these errors were encountered: