| View previous topic :: View next topic |
| Author |
Message |
Steffen
Joined: 07 Jun 2004 Posts: 403 Location: Netherlands
|
Posted: Fri 17 Dec '04 1:28 Post subject: PHP 4.3.10 & 5.0.3 and MySQL 4.1.8 released |
|
|
See http://www.php.net/ and http://dev.mysql.com/ for more info.
We running here at sambarserver.info PHP 5.0.3 and Mysql 4.1.8 without problems.
Last edited by Steffen on Sun 08 May '05 14:24; edited 1 time in total |
|
| Back to top |
|
waldbauer.com

Joined: 08 Jun 2004 Posts: 105 Location: Vienna
|
Posted: Fri 17 Dec '04 14:49 Post subject: |
|
|
| ...which extension for php 5 and mysql ? |
|
| Back to top |
|
pdalger
Joined: 06 Jun 2005 Posts: 5 Location: Washington State (USA)
|
Posted: Mon 06 Jun '05 5:40 Post subject: How to install php 5 and mysql?? |
|
|
Stephan;
How did you get php5 to work with mysql. I get the error "Unable to load dynamic library './php_mysql.dll"
I have uncomented the extentension=php_mysql.dll in php.ini and set the extension directory to point to my extension directory to the proper place. I even copied libmysql.dll to the system32 directory.
It works fine with php4 (since the mysql support is built in) but I can't get php5 to work with mysql at all.
How did you get it to work? |
|
| Back to top |
|
Steffen
Joined: 07 Jun 2004 Posts: 403 Location: Netherlands
|
Posted: Mon 06 Jun '05 12:07 Post subject: Re: How to install php 5 and mysql?? |
|
|
| pdalger wrote: | Stephan;
How did you get php5 to work with mysql. I get the error "Unable to load dynamic library './php_mysql.dll"
I have uncomented the extentension=php_mysql.dll in php.ini and set the extension directory to point to my extension directory to the proper place. I even copied libmysql.dll to the system32 directory.
It works fine with php4 (since the mysql support is built in) but I can't get php5 to work with mysql at all.
How did you get it to work? |
I have done the same and it is working fine.
Sure your extension_dir in php.ini is ok ? I have the full path eg. extension_dir = "c:\php5\ext"
Steffen |
|
| Back to top |
|
pdalger
Joined: 06 Jun 2005 Posts: 5 Location: Washington State (USA)
|
Posted: Mon 06 Jun '05 16:07 Post subject: |
|
|
Thanks Stephen!
I got it working. I had a copy of my php.ini in the sambar root directory (as a reference) and it seems that php uses THAT php.ini before it uses the one in the windows directory. I was happily changing the php.ini in the windows directory and having no effect at all! When I copied my php.ini from the windows directory to the sambar root (again as a reference), boom... everything started working.
I have since verified the fact by removing the php.ini from the windows directory entirely and verified that modifying the php.ini in the sambar root directory does in fact make changes to the php install.
Also, I found that leaving a copy of the libmySQL.dll file in the sambar root directory works just as good as sticking it in the windows/system32 directory.
Paul |
|
| Back to top |
|