Comments (8)
Hi @bassrock,
could you elaborate this issue a bit more?
Let me know which path(s) are different and we can get it addressed ASAP...
Thanks!
David
from newrelic.
So the php5 inis are now symlinked:
Also when enabling mods it is now recommended to use php5enmod as shown here: http://www.lornajane.net/posts/2012/managing-php-5-4-extensions-on-ubuntu
from newrelic.
Hi @bassrock,
correct me if I'm wrong, but the newrelic.ini ends up in /etc/php5/apache2/conf.d already, depending on your php_ext_conf_dir... The actual installation and setup of PHP doesn't really matter that much, as long as you guide the newrelic-cookbook to the right location to write newrelic.ini to.
Are you having any particular installation issues?
Thanks in advance for your feedback!
Kind regards,
David
from newrelic.
It does leave a newrelic.ini, but in the latest versions it should leave the .ini in the mods-available folder and then enable it using php5enmod newrelic
This will make sure it gets enabled properly in the latest versions of php and apache2
from newrelic.
@djoos do you think this got fixed in the 2.0.0 release then ? (wondering as issue is opened but 2.0.0 is tagged already).
This is a (small) issue for us as it creates duplicated newrelic.ini files when the newrelic package is updated.
Thanks
from newrelic.
Hi @gleseur,
2.0.0 shipped without addressing this issue. I've been just too busy lately...
It sounds like you'd like an additional notifies on the template node['newrelic']['php_agent']['config_file'](which you can easily point to a newrelic.ini to the mods-available folder already) which will enable the .ini using (the new) php5enmod. It will be key to make sure it will only do this in php -v >= 5.5.0...
@bassrock or @gleseur: do send me a PR and I'll get it merged in ASAP.
Kind regards,
David
from newrelic.
FYI: I've renamed the milestone to 2.0.x ;-) #sneaky
from newrelic.
I'll close this one for now - see #123 for more information...
Kind regards,
David
from newrelic.
Related Issues (20)
- Newrelic dot APM agent doesnot upgrade HOT 4
- doesn't support strip_command_line parameter HOT 2
- Every node attribute used a default value to a property needs a `lazy { }` around it. HOT 6
- Cannot overwrite windows newrelic-infra agent source HOT 1
- Cloning resource attributes for service[newrelic-daemon] from prior resource HOT 1
- [agent_dotnet] Add support for enabling distributed tracing on the newrelic.config.erb template HOT 1
- Error executing action `enable` on resource 'newrelic_agent_infrastructure[Install]' is failing on debian7
- Default value of 'windows_checksum' in newrelic/resources/agent_infrastructure.rb does not match computed checksum HOT 1
- Recipe newrelic::java_agent fails install with the `Error executing action run on resource execute[newrelic_install_newrelic.jar]` HOT 2
- hello-world
- Hi world HOT 1
- Distributed Tracing feature in PHP Agent cookbook doesn't work
- add max_procs for newrelic_infra.yml
- Saleem A. H
- Compile Error on server_monitor.rb HOT 2
- "platform?" bug after ugprading newrelic version HOT 2
- Adding add event_queue_depth attribute to newrelic-infra.yml file is not there
- Cookbook failed on chef-client 17.8.25 HOT 2
- Hello World
- Please add Ubuntu 22.04 support, Ubuntu 20.04 fails with malformed repository line
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newrelic.