From:             
Operating system: 
PHP version:      5.3SVN-2011-03-31 (snap)
Package:          *Configuration Issues
Bug Type:         Feature/Change Request
Bug description:API Module differences should show actual module paths.

Description:
------------
Hi.



If a user has mixed the versions of the extensions and PHP, the presence of
a 

physical filepath for the extensions and php in the resulting error message


would help identify the problem quicker.



I've created a small patch to ext/standard/dl.c which simply appends the
path of 

the extension and the sapi_module.executable_location to the lines
detailing the 

conflicting API numbers.



This isn't a complete fix as the sapi_module.executable_location may not be


fully valid in all circumstances (see
http://bugs.php.net/bug.php?id=54432).



Copy an inappropriate module into the extension folder.



Running ...



C:\php5\php.exe -dextension=php_soap.dll -ddisplay_startup_errors=1 -m



outputs ...



Warning: PHP Startup: soap : Unable to initialize module

Module compiled with module API=20060613 (C:\PHP5\ext\php_soap.dll)

PHP    compiled with module API=20090626 (C:\PHP5\php.exe)

These options need to match

 in Unknown on line 0




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

Reply via email to