Forum Index Search Forum Register Log in

Current

7.0 Production
build 6 Mar '07


7.1 Beta 5
build 7 Oct '07



A donation makes a contribution towards the time and effort that's going in to running this site.

Steffen

Contact:
My mail address is
at the top of the paypal form :

Your donations will help to keep this site alive and well.

PHP 4.3.10 & 5.0.3 and MySQL 4.1.8 released

 
Post new topic   Reply to topic    Sambar Forum Index -> Coding & Script Corner
View previous topic :: View next topic  
Author Message
Steffen



Joined: 07 Jun 2004
Posts: 403
Location: Netherlands

PostPosted: Fri 17 Dec '04 1:28    Post subject: PHP 4.3.10 & 5.0.3 and MySQL 4.1.8 released Reply with quote

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
View user's profile Visit poster's website
waldbauer.com



Joined: 08 Jun 2004
Posts: 105
Location: Vienna

PostPosted: Fri 17 Dec '04 14:49    Post subject: Reply with quote

...which extension for php 5 and mysql ?
Back to top
View user's profile Visit poster's website
pdalger



Joined: 06 Jun 2005
Posts: 5
Location: Washington State (USA)

PostPosted: Mon 06 Jun '05 5:40    Post subject: How to install php 5 and mysql?? Reply with quote

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
View user's profile Visit poster's website
Steffen



Joined: 07 Jun 2004
Posts: 403
Location: Netherlands

PostPosted: Mon 06 Jun '05 12:07    Post subject: Re: How to install php 5 and mysql?? Reply with quote

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
View user's profile Visit poster's website
pdalger



Joined: 06 Jun 2005
Posts: 5
Location: Washington State (USA)

PostPosted: Mon 06 Jun '05 16:07    Post subject: Reply with quote

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
View user's profile Visit poster's website

Post new topic   Reply to topic    Sambar Forum Index -> Coding & Script Corner
Page 1 of 1