I know PHP5 doesn’t come with MySQL installed. How do I install it so it can connect with my PHP scripts. All of them are up and running very smoothly [individually speaking that is].
-Ryan
I know PHP5 doesn’t come with MySQL installed. How do I install it so it can connect with my PHP scripts. All of them are up and running very smoothly [individually speaking that is].
-Ryan
you will have to load up the lib_mysql.dll and the php_mysql.dll
lib_mysql.dll goes in youre systemroot
php_mysql.dll whereever you want to but u will have to specify it in ure php.ini
OK check this out…I have php_mysql.dll correctly pathed because it doesn’t throw that error if its incorrectly pathed. And I have libmysql.dll in the c:\WINDOWS dir i have proof look at the pictures. And when I run this script on my PHP
$arr = get_loaded_extensions();
foreach ( $arr as $key=> $ext )
{
echo $ext.'<BR><BR>';
}
The MySQL extention doesn’t show…what else could I be doing wrong?
What does phpinfo(); say? It will list any modules loaded with php if they are installed correctly.
in your php ini file uncomment the mysql line, that’s all I had to do
NEVER MIND I AM A MORON! ON THE APACHE2 httpd.conf there is a line where you tell it where the php.ini file is and I had it pointing to the wrong ini.
Fixed it…and again I am a moron!
:: Copyright KIRUPA 2024 //--