Loading...


bookmark - Getting Php 5 To Work With Mysql getting PHP 5 to work with MySQL

Getting Php 5 To Work With Mysql - getting PHP 5 to work with MySQL

 
 Discussion by eskimmer with 0 Replies.
 Last Update: August 16, 2007, 6:35 am
 
bookmark - Getting Php 5 To Work With Mysql getting PHP 5 to work with MySQL  
Quickly Post to Getting Php 5 To Work With Mysql getting PHP 5 to work with MySQL w/o signup Share Info about Getting Php 5 To Work With Mysql getting PHP 5 to work with MySQL using Facebook, Twitter etc. email your friend about Getting Php 5 To Work With Mysql getting PHP 5 to work with MySQL Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

Just thought this would be of extreme help to those who are planning to migrate to php5 and still continue using MySQL same way as before:....

to get mysql work with the php 5 copy /dll/libmySQL.dll to the directory where php 5 resides and copy the /extensions/php_mysql.dll to the directory where php.exe resides.(if you can't find the two above files probably you are using an old release of php 5.you should check for latest at :http://snaps.php.net/)

in additon uncomment extension line in php.ini
and add the following code to a gnereal database file(dbcon.php) in my case and include it in each file which needs access to datanase.

CODE

if (!class_exists('mysql')) {
if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN')
dl('php_mysql.dll');
else
dl('php_mysql.so');
}



I tried to eliminate above code and leave php_mysql.dll in extensions directory. But it didn't work shouting the familiar dialouge: Unable to load ......

   Thu Aug 16, 2007    Reply         

Quickly Post to Getting Php 5 To Work With Mysql getting PHP 5 to work with MySQL w/o signup Share Info about Getting Php 5 To Work With Mysql getting PHP 5 to work with MySQL using Facebook, Twitter etc. email your friend about Getting Php 5 To Work With Mysql getting PHP 5 to work with MySQL Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

Similar Topics:

Mysql Php Apache Downloads And Se...

Mysql, PHP, Apache downloads were easy enough. Then came the setup process. This seemed to be an endless mess of going back and forth trying to get the programs to work together properly. Finaly I got them working after about 48 hours. There are great tutorials on the setup process, but only one or ...more

   20-Apr-2008    Reply         

Php And Mysql Programming

hi everyone! I am making a program using php and mysql...I am a noob on this so i need your help guys...I want to make a simple program that will some values and then store them on a database and then retrieve them...uhmm let me give an example out put of what i need. T ...more

   05-May-2008    Reply         

Best Php And Mysql Editor For Noobs

hi there guys, from my previous posting, i am a noob in php and mysql programming. I want to know if there are any php and mysql editors which are best for me as a noob. i appreciate your kindness ...more

   06-May-2008    Reply         

Php Pages Permission On Apache Server PHP pages permission on Apache Server   Php Pages Permission On Apache Server PHP pages permission on Apache Server (1) (2) Problem With A Mysql Join Problem with a mysql join  Problem With A Mysql Join Problem with a mysql join