under the Apache/2.0.65 (Win32) PHP/5.2.13 Server .. when i run CMD line and input :php -r "new mysqli();" CMD return :Fatal error: Class 'mysqli' not found in Command line code on line 1
then i configure the php.ini and remove the comment from the start of the line extension=php_mysqli.dll , and set extension_dir = "C:\PHP\ext" , even i copy the libmysql.dll and php_mysqli.dll to c:\windows\system32. but it's still can't work ..
and run it again and still failed.
i run in windows7 apache 2.0 and php 5.2
who can help me ,,thanks
You set extension_dir = "C:\PHP\ext" in your php.ini. However you put PHP extension in C:\windows\system32.
php_mysqli.dll must be in C:\PHP\ext.
under the Apache/2.0.65 (Win32) PHP/5.2.13 Server .. when i run CMD line and input :php -r "new mysqli();" CMD return :Fatal error: Class 'mysqli' not found in Command line code on line 1
then i configure the php.ini and remove the comment from the start of the line extension=php_mysqli.dll , and set extension_dir = "C:\PHP\ext" , even i copy the libmysql.dll and php_mysqli.dll to c:\windows\system32. but it's still can't work ..
and run it again and still failed.
i run in windows7 apache 2.0 and php 5.2
who can help me ,,thanks
You set extension_dir = "C:\PHP\ext" in your php.ini. However you put PHP extension in C:\windows\system32.
php_mysqli.dll must be in C:\PHP\ext.
0 commentaires:
Enregistrer un commentaire