From:             steve dot warr at hemdean dot plus dot com
Operating system: Win32/2k
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  Setting up PATH variable correctly

Description:
------------
There are numerous claims online about getting a 'php_mysql.dll - module
not found' error message. I basically encountered this problem, where the
command line 'php -m' showed that mysql was getting loaded ok, but my IIS
webservice kept producing the 'module not found' error message.

After a very, very painful day of tracing through the install procedure, I
eventually found that the problem was related not php_mysql.dll itself, 
but to the dependent 'libMySQL.dll'.  I had followed the install doc to
the letter and added 'c:\<php_install_dir>' to my PATH variable. However,
the doc fails to mention that you **must** add this path as part of the
'system variables' and not to the 'user variables' section. This explains
why the command line worked, but not the web service.  Obvious really when
you know, but really difficult to debug. One extra line of text in the
install doc pointing out this gotcha would have saved a lot of
frustration.






-- 
Edit bug report at http://bugs.php.net/?id=33236&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33236&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33236&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33236&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33236&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33236&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33236&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33236&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33236&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33236&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33236&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33236&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33236&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33236&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33236&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33236&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33236&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33236&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33236&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33236&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33236&r=mysqlcfg

Reply via email to