Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/xhprof.so' #78

Open
finnlewis opened this issue Nov 24, 2014 · 0 comments

Comments

@finnlewis
Copy link
Contributor

Hi guys,

after a recent pull on master, I am getting the following when running drush and php commands from within the parrot box:

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/uploadprogress.so' - /usr/lib/php5/20090626/uploadprogress.so: file too short in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/xhprof.so' - /usr/lib/php5/20090626/xhprof.so: file too short in Unknown on line 0

The files in question are both empty. I tried removing them and vagrant provision, but it does not appear to replace them. Every vagrant provision tries to re-install them:

$ vagrant provision
==> default: Configuring cache buckets...
==> default: Running provisioner: shell...
    default: Running: /var/folders/2x/md2868rj2zg2ygmzhjt4h5ym0000gn/T/vagrant-shell20141124-1271-1js4szr.sh
==> default: Configuring cache buckets...
==> default: Running provisioner: puppet...
==> default: Running Puppet with parrot.pp...
==> default: warning: Could not retrieve fact fqdn
==> default: warning: Host is missing hostname and/or domain: precise64
==> default: warning: Could not match
==> default:
==> default: warning: Could not match
==> default:
==> default: notice: /Stage[main]/Pear/Package[uploadprogress]/ensure: created
==> default: notice: /Stage[main]/Pear/Package[xhprof-beta]/ensure: created
==> default: notice: /Stage[main]/Http_stack::Apache/Service[apache2]: Triggered 'refresh' from 1 events
==> default: notice: /Stage[main]/Http_stack::Varnish/Service[varnish]: Triggered 'refresh' from 1 events
==> default: notice: Finished catalog run in 32.61 seconds
==> default: Configuring cache buckets...

Does this just mean that xhprof and uploadprogress are not being installed properly?

I can suppress the error by commenting out or removing the relevant files in /etc/php5/conf.d/ but vagrant provision pops them back again.

Any thoughts?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant