[PHP] php5 / php4 - MySQL/SQLite
Hi, Let me open a discussion about php5 / php4 Why upgrade? It worth? Benefits? Code programming changes? Is there and end-of-life for php4, in the near/medium future? What about MySQL and SQLite. What is the future of both? I would like to open a discussion about the future of both related to php no matter the version of it... Let´s start -- dpc
Re: [PHP] php5 / php4 - MySQL/SQLite
Danny wrote: Hi, Let me open a discussion about php5 / php4 Why upgrade? It worth? Benefits? Code programming changes? Is there and end-of-life for php4, in the near/medium future? What about MySQL and SQLite. What is the future of both? I would like to open a discussion about the future of both related to php no matter the version of it... Let´s start not that this horse hasn't been flogged to death, whats your own opinion? ...when even Richard Lynch is begrudgingly starting to use foreach() it might be time to move on and upgrade ;-) -- dpc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php5 / php4 - MySQL/SQLite
I recently upgraded to PHP5 and had no issues with code incompatibilities. I believe we ran PHP 4.10 (I don't remember the exact version). Honestly, I haven't seen that many benefits but I don't write that many scripts that use advanced OOP methodology. -Original Message- From: Danny [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 3:53 AM To: php-general@lists.php.net Subject: [PHP] php5 / php4 - MySQL/SQLite Hi, Let me open a discussion about php5 / php4 Why upgrade? It worth? Benefits? Code programming changes? Is there and end-of-life for php4, in the near/medium future? What about MySQL and SQLite. What is the future of both? I would like to open a discussion about the future of both related to php no matter the version of it... Let´s start -- dpc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP5 qne MySQL
I have been trying to set an area at home to run and test php and MySQL applications. I used the tutorial on http://www.ricocheting.com/server/cgi.html to install Apache, PHP, and MySQL. Everything is working great except for trying to test a simple connection to the MySQL database through php. I have seen some other people quote on how PHP5 no longer has a direct link to MySQL. My platform is Windows XP at the moment. I will shortly be partitioning two hard drives for use of Linux on one of them. I would like to know if there is a solution for WIndows XP. I have seen people just go back to php4 to correct this. I was wondering if there is a simple way I can stick with PHP5 and make my connections. I receive this error right now: Fatal error: Call to undefined function mysql_connect() in C:\public_html\MySQLphptry.php on line 18 Where line 18, is just the mydsql_connect (); command. Thank you for your help in this I know myself as well as other forums out there would like to know a simple solution if there is one. SIncerely, Terry Mullin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP5 qne MySQL
Terrence Mullin a écrit : I have been trying to set an area at home to run and test php and MySQL applications. I used the tutorial on http://www.ricocheting.com/server/cgi.html to install Apache, PHP, and MySQL. Everything is working great except for trying to test a simple connection to the MySQL database through php. I have seen some other people quote on how PHP5 no longer has a direct link to MySQL. My platform is Windows XP at the moment. I will shortly be partitioning two hard drives for use of Linux on one of them. I would like to know if there is a solution for WIndows XP. I have seen people just go back to php4 to correct this. I was wondering if there is a simple way I can stick with PHP5 and make my connections. I receive this error right now: Fatal error: Call to undefined function mysql_connect() in C:\public_html\MySQLphptry.php on line 18 Where line 18, is just the mydsql_connect (); command. Thank you for your help in this I know myself as well as other forums out there would like to know a simple solution if there is one. SIncerely, Terry Mullin Try to edit your PHP.INI file check if PHP_MYSQL.DLL in declared as module... if the file is in the path... But try to use MySQLi or PDO (PHP 5.1 or PECL modules for PHP 5.0) This is a must better way to acces mysql Database... regards, FENDT Charles -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php5 and mysql 4.1 - Authentication
Hi there, I am sure there has been a discussion about this previously, I couldn't find much through google though . anyway. I know I must use mysqli, and that is also not the problem. The problem is with things like phpmyadmin and bxcms. I am not going through all the code to fix the mysql connections. Is there no way I can tell MySQL4.1.6 to accept http authentication? This seems to be the overall problem, because it foes not even find the right access password once a connection is establishes (using the OLD_PASSWORD() function). Thomas
[PHP] php5 and mysql
i've got a wamp with php5. is there any possibility to activate or reinstall, etc. the mysql extension? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php5 and mysql licences
Hello, i just read the news on php.net and wondered what it says about php5 and MySQL. They say that the libs for using a mysql server are not implemented any more,... so my question is: does that mean i (we) have to buy the licences to be allowed to use the mysql libs for php? kind regards Christopher Speer ( Europe - Germany ) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] php5 and mysql licences
On Mon, 30 Jun 2003, Christopher Speer wrote: i just read the news on php.net and wondered what it says about php5 and MySQL. They say that the libs for using a mysql server are not implemented any more,... so my question is: does that mean i (we) have to buy the licences to be allowed to use the mysql libs for php? No, that is not true. You will only need to buy a MySQL license if your script uses PHP's MySQL 4.x support (ie, linking to libmysql 4.x), you distribute your script AND you do not want to distribute your set of script under the GPL license (but under for example the BSD license or a commerical license). regards, Derick -- Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails. - Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php5 and mysql licences
Hi, Is the mysql client library going to be put back in for future betas? Or are we mis-reading the change log and its still there? -Dan Joseph -Original Message- From: Derick Rethans [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 1:05 PM To: Christopher Speer Cc: [EMAIL PROTECTED] Subject: Re: [PHP] php5 and mysql licences On Mon, 30 Jun 2003, Christopher Speer wrote: i just read the news on php.net and wondered what it says about php5 and MySQL. They say that the libs for using a mysql server are not implemented any more,... so my question is: does that mean i (we) have to buy the licences to be allowed to use the mysql libs for php? No, that is not true. You will only need to buy a MySQL license if your script uses PHP's MySQL 4.x support (ie, linking to libmysql 4.x), you distribute your script AND you do not want to distribute your set of script under the GPL license (but under for example the BSD license or a commerical license). regards, Derick -- Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails. - Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php5 and mysql licences
On Mon, 30 Jun 2003, Dan Joseph wrote: Is the mysql client library going to be put back in for future betas? Or are we mis-reading the change log and its still there? No, we will not bundle the library with PHP 5 anymore. Derick -- Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails. - Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php5 and mysql licences
On Mon, 30 Jun 2003, Dan Joseph wrote: Is the mysql client library going to be put back in for future betas? Or are we mis-reading the change log and its still there? There will always be MySQL support in PHP of one kind or another. The only change in PHP5 is that we are no longer bundling the client library itself. Some reasons in no particular order: 1. Most systems these days already have the client library installed. 2. Given 1, having multiple versions of the library can get messy. For example, if you link mod_auth_mysql against 1 version and PHP against another and then enable both in Apache, you get a nice fat crash. Also, the bundled library didn't always play well with the installed server version the most obvious symptom of this being disagreement over where to find the mysql.socket unix domain socket file. 3. Maintenance was somewhat lax and it was falling further and further behind the released version. 4. Future versions of the library are under the GPL and thus we don't have an upgrade path since we cannot bundle a GPL'ed library in a BSD/Apache-style licensed project. A clean break in PHP5 seemed like the best option. This won't actually affect that many people. UNIX users, at least the ones who know what they are doing, tend to always build PHP against their system's libmyqlclient library simply by doing --with-mysql=/usr when building PHP. For the beta1 release, it went out without a mysql.dll extension because we haven't quite worked out how to handle it, not because the final PHP5 release will not have MySQL support. Of course it will and Windows users will not be affected. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP5 with MySQL on windows
I can't seem to figure out how to get PHP5 working with MySQL support. I just downloaded the latest PHP5 from snaps (which seems to be yesterday's build) and it's installed fine, but I can't seem to get MySQL support. The php.ini file still says ;Note that MySQL and ODBC support is now built in, so no dll is needed for it. However, MySQL support is no longer there. There doesn't seem to by any dll for mysql in the extensions subdirectory. There's a libmySQL.dll in dlls, but copying that into my system directory and adding an extension line for it in the php.ini file doesn't work. I get an error that says invalid library. Besides, it obviously has a different name that the other extension dlls. I am using Windows 2000. I am running MySQL 3.23.54. I can find nothing about this on the PHP web site. Everything I find still says that MySQL support is built-in. Can someone tell me what I need to do to use MySQL. Janet -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP5 with MySQL on windows
Hello Janet- Currently you have two choices: a) Compile PHP 5 on Windows yourself, with MySQL support b) Wait for a DLL to exist There isn't a DLL right now, nor do I know when one will exist. But, you can be pretty sure that one will eventually exist, especially before PHP 5 is officially released. PHP 5 beta 1 was released today, there isn't a MySQL DLL in there either. In PHP 4, MySQL is of course built in. That all changed in PHP 5 where it's no longer built in to the Windows binaries, nor is it bundled or enabled by default in *nix. Regards, Philip On Sun, 29 Jun 2003 [EMAIL PROTECTED] wrote: I can't seem to figure out how to get PHP5 working with MySQL support. I just downloaded the latest PHP5 from snaps (which seems to be yesterday's build) and it's installed fine, but I can't seem to get MySQL support. The php.ini file still says ;Note that MySQL and ODBC support is now built in, so no dll is needed for it. However, MySQL support is no longer there. There doesn't seem to by any dll for mysql in the extensions subdirectory. There's a libmySQL.dll in dlls, but copying that into my system directory and adding an extension line for it in the php.ini file doesn't work. I get an error that says invalid library. Besides, it obviously has a different name that the other extension dlls. I am using Windows 2000. I am running MySQL 3.23.54. I can find nothing about this on the PHP web site. Everything I find still says that MySQL support is built-in. Can someone tell me what I need to do to use MySQL. Janet -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP5 with MySQL on windows
On Sun, 2003-06-29 at 14:19, [EMAIL PROTECTED] wrote: However, MySQL support is no longer there. There doesn't seem to by any dll for mysql in the extensions subdirectory. http://bugs.php.net/bug.php?id=24389 This issue has been addressed and is now available in the snap build of PHP5.0 available at http://snaps.php.net/ John -- -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~- John Coggeshall john at coggeshall dot org http://www.coggeshall.org/ -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php