I wrote my extension.
Ubuntu system.
php -c "/etc/php5/apache2/php.ini" -r "echo extension_loaded('my');"
=> 1 OK!
But under apache - nothing!
echo extension_loaded('my');
=> ""
Why?
Php ini shows:
"Loaded Configuration File /etc/php5/apache2/php.ini"
extension_loaded()