From:             
Operating system: Linux - Ubuntu 11.10
PHP version:      5.3SVN-2011-12-12 (SVN)
Package:          Dynamic loading
Bug Type:         Bug
Bug description:PHP Warning:  Module 'ssh2' already loaded in Unknown on line 0

Description:
------------
Installed every version of PHP from SVN/Snapshots:

# php -m | grep ssh2
PHP Warning:  Module 'ssh2' already loaded in Unknown on line 0
ssh2

When you remove extension=ssh2.so from the php.ini file:

# php -m | grep ssh2


No modules are returned.


The module is loaded only once in the config when the already loaded error
message is returned. A find / -name "*" -print | xargs grep "ssh2.so"

Returns the binary files in ~/ssh2-0.11.3 and
/usr/local/php-5.3/lib/php/20090626/ as well as the /etc/php.ini file.

Configuration File (php.ini) Path => /etc
Loaded Configuration File => /etc/php.ini
Scan this dir for additional .ini files => /etc
Additional .ini files parsed => /etc/php.ini

Only one file exists, and confirmed PHP is loading only one file.

Backtrace did not result in any useful information.




Test script:
---------------
Any code, simply, php -v

Expected result:
----------------
No message.

Actual result:
--------------
PHP Warning:  Module 'ssh2' already loaded in Unknown on line 0

-- 
Edit bug report at https://bugs.php.net/bug.php?id=60504&edit=1
-- 
Try a snapshot (PHP 5.4):            
https://bugs.php.net/fix.php?id=60504&r=trysnapshot54
Try a snapshot (PHP 5.3):            
https://bugs.php.net/fix.php?id=60504&r=trysnapshot53
Try a snapshot (trunk):              
https://bugs.php.net/fix.php?id=60504&r=trysnapshottrunk
Fixed in SVN:                        
https://bugs.php.net/fix.php?id=60504&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=60504&r=needdocs
Fixed in release:                    
https://bugs.php.net/fix.php?id=60504&r=alreadyfixed
Need backtrace:                      
https://bugs.php.net/fix.php?id=60504&r=needtrace
Need Reproduce Script:               
https://bugs.php.net/fix.php?id=60504&r=needscript
Try newer version:                   
https://bugs.php.net/fix.php?id=60504&r=oldversion
Not developer issue:                 
https://bugs.php.net/fix.php?id=60504&r=support
Expected behavior:                   
https://bugs.php.net/fix.php?id=60504&r=notwrong
Not enough info:                     
https://bugs.php.net/fix.php?id=60504&r=notenoughinfo
Submitted twice:                     
https://bugs.php.net/fix.php?id=60504&r=submittedtwice
register_globals:                    
https://bugs.php.net/fix.php?id=60504&r=globals
PHP 4 support discontinued:          
https://bugs.php.net/fix.php?id=60504&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=60504&r=dst
IIS Stability:                       
https://bugs.php.net/fix.php?id=60504&r=isapi
Install GNU Sed:                     
https://bugs.php.net/fix.php?id=60504&r=gnused
Floating point limitations:          
https://bugs.php.net/fix.php?id=60504&r=float
No Zend Extensions:                  
https://bugs.php.net/fix.php?id=60504&r=nozend
MySQL Configuration Error:           
https://bugs.php.net/fix.php?id=60504&r=mysqlcfg

Reply via email to