Git Product home page Git Product logo

xhprof's People

Contributors

bronsonquick avatar ntwb avatar

Watchers

 avatar  avatar  avatar

Forkers

isabella232

xhprof's Issues

Get XHGui working or document it

Currently there's a rule to auto prepend xhgui's header file but it doesn't exist in this repo. Maybe just needs adding as a submodule.

Get this working with Php 7.x

I don't think Php 7.1+ is supported yet but we should get this working with the other versions.

We might be able to use pecl to install this instead. Something like what JoHo has done on the HM AWS stack might work but using Puppet instead. e.g.
curl -L https://github.com/humanmade/xhprof/archive/sampling-interval.zip > /tmp/xhprof.zip && unzip -o /tmp/xhprof.zip -d /tmp && cd /tmp/xhprof-sampling-interval/extension && phpize && ./configure && make && make install && echo "extension=xhprof.so" > /etc/php/7.0/fpm/conf.d/20-xhprof.ini && echo "extension=xhprof.so" > /etc/php/7.0/cli/conf.d/20-xhprof.ini

Add an unless test for "move module"

Currently when you provision this is happening each time:

/Stage[main]/Xhprof/Exec[move module]/returns: executed successfully

We can add an unless test to stop this occurring if the file exists.

Error on provision

  1. What operating system do you use?
    Arch Linux

  2. What version of Vagrant are you running?
    2.2.6

  3. Are you using VirtualBox or VMWare and which version are you using?
    VirtualBox 6.0.14 r132055

  4. Do you have a custom YAML file? If so, what does it contain?

php: '7.2'
paths:
  base: ..
  wp: wordpress
  content: content
multisite: true
extensions:
  - humanmade/platform_chassis_extension
elasticsearch:
  repo_version: 6.x
  version: 6.3.1
  plugins: [analysis-icu, ingest-attachment]
hosts:
  - myhost.local
machine_name: myhost.local
  1. Do you have any Chassis other extensions installed? If so, what are they?
  • cavalcade
  • chassis_aws_analytics
  • chassis_elasticsearch
  • chassis_openssl
  • chassis_redis
  • composer
  • example
  • imagick
  • intl
  • mailhog
  • mcrypt
  • nodejs
  • phpdbg
  • platform_chassis_extension
  • tachyon
  • v8js
  • xhprof
  • yarn

Here's the error I got when the box is provisioned for the first time:

myhost.local: Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - /etc/php/7.2/fpm/conf.d/xhprof.ini20191219-2564-ycp053.lock (file: /vagrant/extensions/xhprof/modules/xhprof/manifests/init.pp, line: 52)
myhost.local: Error: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - /etc/php/7.2/fpm/conf.d/xhprof.ini20191219-2564-ycp053.lock (file: /vagrant/extensions/xhprof/modules/xhprof/manifests/init.pp, line: 52)
myhost.local: Wrapped exception:
myhost.local: No such file or directory @ dir_s_mkdir - /etc/php/7.2/fpm/conf.d/xhprof.ini20191219-2564-ycp053.lock
myhost.local: Error: /Stage[main]/Xhprof/File[/etc/php/7.2/fpm/conf.d/xhprof.ini]/ensure: change from 'absent' to 'file' failed: Could not set 'file' on ensure: No such file or directory @ dir_s_mkdir - /etc/php/7.2/fpm/conf.d/xhprof.ini20191219-2564-ycp053.lock (file: /vagrant/extensions/xhprof/modules/xhprof/manifests/init.pp, line: 52)

Running vagrant provision after the box is setup fixes the issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.