install problem

21 views
Skip to first unread message

bilsalak

unread,
Apr 29, 2010, 8:58:56 PM4/29/10
to Alternative PHP Monitor - User
- php 5.3.1
- peclapm svn rev 125

- when running make test:

Build complete.
Don't forget to run 'make test'.

PHP Warning: PHP Startup: Unable to load dynamic library 'modules/
apc.so' - modules/apc.so: cannot open shared object file: No such file
or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/apc.so'
- modules/apc.so: cannot open shared object file: No such file or
directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'modules/
memcached.so' - modules/memcached.so: cannot open shared object file:
No such file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/
memcached.so' - modules/memcached.so: cannot open shared object file:
No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'modules/
gearman.so' - modules/gearman.so: cannot open shared object file: No
such file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'modules/
gearman.so' - modules/gearman.so: cannot open shared object file: No
such file or directory in Unknown on line 0
PHP Warning: Module 'apm' already loaded in Unknown on line 0


- some more info

php -m
[PHP Modules]
apc
...
gearman
...
memcached
...

I dismissed this a faulty test but I am also unable to get data to
populate the db even after setting world writable pernissions to the
event db and its parent folder.

any ideas ?

Patrick ALLAERT

unread,
Apr 30, 2010, 3:21:29 AM4/30/10
to apm-...@googlegroups.com
Hi,

2010/4/30 bilsalak <bils...@gmail.com>:
Not directly.
What's weird is that "php -m" don't complain about the libraries,
those are found thanks to the extension_dir configuration setting.
Is this setting different on your box when running "make test" than
when running "php -m" ?

You might also check that the same binary is used, compare the result of:
$ which php
$ grep "PHP_EXECUTABLE =" Makefile

You may want to hack the Makefile around the line with "test: all" to
discover what's wrong. What's the value of INI_FILE,
INI_SCANNED_PATH,...

Sounds like a configuration file mentioning apc, gearman and memcached
is used but with an extension_dir which is different than when running
"php -m".

Hope this will help you discovering what's wrong!

Regards,

--
Patrick Allaert
---
http://code.google.com/p/peclapm/ - Alternative PHP Monitor
Reply all
Reply to author
Forward
0 new messages