I was looking at the thread about loading the php_mysql.dll problem. Am still experiencing problems. In fact what I did is uncommented all the extesions in my php.ini file...
Here is the kicker some of them load some of them don't.
Am using Win2000 Server, IIS nd php 5.0.1
I know php is working since I was able to write a script that calls phpinfo(). I also know my paths are correct since only afew of the modules dont load. And further proof that my paths are correct ... I add an entry for php_mysqli.dll and check the phpinfo() again. The mysqli entry are all there.
Is php_mysqli an extension to php_mysql or a replacement? If so I still get... PHP Fatal error: Call to undefined function mysql_connect() in C:\Inetpub\wwwroot\postnuke\pnadodb\drivers\adodb-mysql.inc.php on line 236 (Of course trying to isntall post nuke lol)
The troubeling modules.
[24-Aug-2004 02:09:05] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_exif.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:05] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_iconv.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:06] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_ifx.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:06] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mcrypt.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:07] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mysql.dll' - The specified procedure could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:07] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_oci8.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:08] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_oracle.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:08] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_sybase_ct.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:09] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_w32api.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:09] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_yaz.dll' - The specified procedure could not be found.
in Unknown on line 0many of the extensions do not work basically you need to use only the extensions that are necesarry by the way are you running php on a windows machine i am'b luckily i only really need two extensions mysqll.dll and mhash.dll many of the other extensions you will find do not exist in your ext folder of php and the latest build extension are beta at best if you are in a production envirment i suggest going back to php 4 sorry billThe DLLs php is trying to load may need some others that you don't have in your installation.
You may download this tool:
Dependency Walker (<!-- m --><a class="postlink" href="http://www.dependencywalker.com/">http://www.dependencywalker.com/</a><!-- m -->)
That will tell you what files are missing (if any).
You may need some files on your (phpinstallation)/dlls directory. For instance: iconv.dll (not php_iconv.dll). Check if you have them.
Regards!In answer to your question about mySQLi and mySQL. mySQLi stands for mySQL Improved. Basically, they've reworked it so that it runs faster and better. You can do more with mySQLi than with mySQL, but the databases are the same. The only difference lies in the interation between database and application. Basically, the communication layer was improved.
If you can use the mySQLi extension (which in some cases is better, but not all hosts support), then you use typical calls like:
mysqli_connect()
mysli_query()
mysqli_fetch_array()
Notice the difference to what you tried? You can read more about the mySQLi extension in the Manual Documentation (<!-- m --><a class="postlink" href="http://www.php.net/mysqli">http://www.php.net/mysqli</a><!-- m -->).Good god, I thought I was going insane! It turns out, yes, it wasn't working because it was missing libmysql.dll !! It's included in the zip file for windows but not the installer. Teach us to use windows.
Chevallier, you are awesome. I hope everyone having this problem reads this when google updates it's cache!
Here is the kicker some of them load some of them don't.
Am using Win2000 Server, IIS nd php 5.0.1
I know php is working since I was able to write a script that calls phpinfo(). I also know my paths are correct since only afew of the modules dont load. And further proof that my paths are correct ... I add an entry for php_mysqli.dll and check the phpinfo() again. The mysqli entry are all there.
Is php_mysqli an extension to php_mysql or a replacement? If so I still get... PHP Fatal error: Call to undefined function mysql_connect() in C:\Inetpub\wwwroot\postnuke\pnadodb\drivers\adodb-mysql.inc.php on line 236 (Of course trying to isntall post nuke lol)
The troubeling modules.
[24-Aug-2004 02:09:05] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_exif.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:05] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_iconv.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:06] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_ifx.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:06] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mcrypt.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:07] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mysql.dll' - The specified procedure could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:07] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_oci8.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:08] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_oracle.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:08] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_sybase_ct.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:09] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_w32api.dll' - The specified module could not be found.
in Unknown on line 0
[24-Aug-2004 02:09:09] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_yaz.dll' - The specified procedure could not be found.
in Unknown on line 0many of the extensions do not work basically you need to use only the extensions that are necesarry by the way are you running php on a windows machine i am'b luckily i only really need two extensions mysqll.dll and mhash.dll many of the other extensions you will find do not exist in your ext folder of php and the latest build extension are beta at best if you are in a production envirment i suggest going back to php 4 sorry billThe DLLs php is trying to load may need some others that you don't have in your installation.
You may download this tool:
Dependency Walker (<!-- m --><a class="postlink" href="http://www.dependencywalker.com/">http://www.dependencywalker.com/</a><!-- m -->)
That will tell you what files are missing (if any).
You may need some files on your (phpinstallation)/dlls directory. For instance: iconv.dll (not php_iconv.dll). Check if you have them.
Regards!In answer to your question about mySQLi and mySQL. mySQLi stands for mySQL Improved. Basically, they've reworked it so that it runs faster and better. You can do more with mySQLi than with mySQL, but the databases are the same. The only difference lies in the interation between database and application. Basically, the communication layer was improved.
If you can use the mySQLi extension (which in some cases is better, but not all hosts support), then you use typical calls like:
mysqli_connect()
mysli_query()
mysqli_fetch_array()
Notice the difference to what you tried? You can read more about the mySQLi extension in the Manual Documentation (<!-- m --><a class="postlink" href="http://www.php.net/mysqli">http://www.php.net/mysqli</a><!-- m -->).Good god, I thought I was going insane! It turns out, yes, it wasn't working because it was missing libmysql.dll !! It's included in the zip file for windows but not the installer. Teach us to use windows.
Chevallier, you are awesome. I hope everyone having this problem reads this when google updates it's cache!