[PHP-DEV] Bug #13768 Updated: MySQL 4.0.0 API Broken

2001-10-23 Thread vitaliyf

ID: 13768
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: MySQL related
Operating System: RedHat 6.2/Kernel 2.2.3
PHP Version: 4.0.6
New Comment:

'./configure' '--with-apxs' '--with-mysql=/usr' '--enable-debug=no' 
'--with-gd=/usr/local' '--with-ttf' '--with-zlib' '-with-mm' '--with-jpeg=/usr/lib' 
'--with-sablot'

This has MySQL (3.23 or 4.0) installed from mysql.com's RPMs.

Previous Comments:


[2001-10-23 14:22:58] [EMAIL PROTECTED]

Can you post your configure-line?



[2001-10-19 21:33:43] [EMAIL PROTECTED]

PHP 4.0.6 compiled with same configure parameters, but after MySQL 4.0.0 was upgraded 
(from 3.23.43) generated the following error on Apache's restart:

Cannot load /usr/local/apache/libexec/libphp4.so into server: undefined symbol: 
mysql_module_entry

Presumably because MySQL's API has changed and PHP hasn't been updated yet.

This probably should be fixed ASAP (I thought MySQL guys were supporting MySQL 
extension themselves?) as I'm sure quite a few people are anxious to jump into MySQL 
4.0





Edit this bug report at http://bugs.php.net/?id=13768edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13768: MySQL 4.0.0 API Broken

2001-10-19 Thread vitaliyf

From: [EMAIL PROTECTED]
Operating system: RedHat 6.2/Kernel 2.2.3
PHP version:  4.0.6
PHP Bug Type: MySQL related
Bug description:  MySQL 4.0.0 API Broken

PHP 4.0.6 compiled with same configure parameters, but after MySQL 4.0.0
was upgraded (from 3.23.43) generated the following error on Apache's
restart:

Cannot load /usr/local/apache/libexec/libphp4.so into server: undefined
symbol: mysql_module_entry

Presumably because MySQL's API has changed and PHP hasn't been updated
yet.

This probably should be fixed ASAP (I thought MySQL guys were supporting
MySQL extension themselves?) as I'm sure quite a few people are anxious to
jump into MySQL 4.0
-- 
Edit bug report at: http://bugs.php.net/?id=13768edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10770: . (concatenation) preceeds mathematical operations in order of execution

2001-05-09 Thread vitaliyf

From: [EMAIL PROTECTED]
Operating system: Linux
PHP version:  4.0.5
PHP Bug Type: Feature/Change Request
Bug description:  . (concatenation) preceeds mathematical operations in order of 
execution

?
  $i=10;
  print hello  . $i-2 .  world;
?

will output:   -2 world

(hello  . $i is evaluated into hello 10, then 2 is subtracted (by casting hello 
10 into a 0, then subtracting 2).  Then world is appened, thus giving us -2 world)

I think this might be way counter-intuitive to what should be happening: - (or all 
other operations) should be avaluated first, and concatenation last, producing hello 
8 world.

Or how about this example, which definately can confuse some people:

print Hello is less than  . 1+strlen('hello') .  characters long.;

Workaround: use () to arrange things to be executed in proper order but that might not 
be obvious for someone who doesn't know about this situation.

PS:
Thanks PartyZan for finding this.


-- 
Edit Bug report at: http://bugs.php.net/?id=10770edit=1



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]