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

xdebug Warning encountered during installation #9

Merged
merged 1 commit into from
Sep 15, 2012

Conversation

patcon
Copy link
Contributor

@patcon patcon commented Sep 15, 2012

[Mon, 25 Jun 2012 06:26:57 -0700] INFO: Start handlers complete.
[Mon, 25 Jun 2012 06:26:58 -0700] INFO: Missing gem 'mysql'
[Mon, 25 Jun 2012 06:26:58 -0700] WARN: Missing gem 'right_aws'
[Mon, 25 Jun 2012 06:26:58 -0700] INFO: Missing gem 'mysql'
[Mon, 25 Jun 2012 06:26:58 -0700] INFO: Could not find previously defined grants.sql resource
sh: 
pear: not found
[Mon, 25 Jun 2012 06:26:58 -0700] INFO: Processing package[git-core] action install (git::default line 21)
[Mon, 25 Jun 2012 06:32:13 -0700] INFO: Processing template[/etc/php5/conf.d/xdebug.ini] action create (xdebug::default line 32)
PHP Warning:  Xdebug MUST be loaded as a Zend extension in Unknown on line 0

was following the following from 10.7.4:


curl -L get.rvm.io | bash -s 1.14.1
source ~/.rvm/scripts/rvm
rvm reload
git clone https://github.com/myplanetdigital/ariadne.git new_vagrant_box
cd new_vagrant_box
bundle exec rake setup
  -- enter your password
bundle exec rake "init_project[myplanetdigital/ariadne-tap]"
project=tap bundle exec vagrant up
bundle exec rake restart_dns

@patcon
Copy link
Contributor

patcon commented Jun 25, 2012

Thanks for the heads up Jon, but those have always been errors that come through from inside the VM but don't affect anything. Only happen on the first run as well.

The first is from drush doing a pear version check before pear exists, so I'll add a TODO for submitting a pull request to @msonnabaum.

c7800eb

The other is from the php_pear resource and the way the xdebug package throws a warning before you've had a chance to drop in the config changes. Not something that's easily fixed, if I remember correctly.

@patcon patcon closed this Jun 25, 2012
@fluxsauce fluxsauce reopened this Jun 26, 2012
@fluxsauce
Copy link
Author

the xdebug package throws a warning before you've had a chance to drop in the config changes

Is it possible to resequence to do the config changes before installing xdebug? PHP won't be reloaded until everything is done, IIRC.

@patcon
Copy link
Contributor

patcon commented Jun 26, 2012

Hm. The only obvious thing with wiggle room for change in that area would be to restart apache immediately:
https://github.com/myplanetdigital/chef-xdebug/blob/create-logfile/recipes/default.rb#L39

Added a TODO to test it out sometime
myplanetdigital/ariadne-tap@d40d363

Thanks man

@patcon
Copy link
Contributor

patcon commented Jun 26, 2012

Actually, I'm treating the TODOs as the canonical issue trackers for the projects, so in the spirit of GTD, I'm going to close this :)

patcon pushed a commit that referenced this pull request Sep 15, 2012
Upgraded xdebug cookbook to use new php_pear resource attr, avoiding confusing warning during first chef run.
@patcon patcon merged commit 822c259 into develop Sep 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants