RE: [PHP-DB] php maximum characters in text field

2007-10-13 Thread Jürgen Wind

varchar maxs out at 255 characters
just for clarification, mysql varchar easily can hold more than 255
characters 
(I remember it was the case in ancient 3.x times) 
only if one wants to store newlines he must use type text

just my 2 cent
-- 
View this message in context: 
http://www.nabble.com/php-maximum-characters-in-text-field-tf4614039.html#a13191426
Sent from the Php - Database mailing list archive at Nabble.com.

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] help for a newb - php install erroring out on MySQL file libmysqlclient.so.15

2007-10-13 Thread Dave Cocuzzi
This is kind of db related since the error appears to be occurring when 
accessing a MySQL file.


This install is on Fedora 6 with Apache 2 and MySQL 5.0.45.

While doing the php install the config script errors out when it gets to 
creating main/internal_functions_cli.c.


This is part of the general message:

ATTENTION Something is likely messed up here, because the configure 
script was not able to detect a simple feature on your platform  
...see the debug.log file.


debug.log contains this error:

gcc -o conftest -I/usr/include -g -O2 -L/usr/lib 
-Wl,-rpath,/usr/local/mysql-5.0.45-linux-i686-icc-glibc23/lib 
-L/usr/local/mysql-5.0.45-linux-i686-icc-glibc23/lib conftest.c -lcrypt 
-lrt -lmysqlclient -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm 
-lxml2 -lz -lm -lcrypt 15

conftest.c: In function 'main':
conftest.c:3: warning: incompatible implicit declaration of built-in 
function 'exit'
./conftest: error while loading shared libraries: 
/usr/local/mysql-5.0.45-linux-i686-icc-glibc23/lib/libmysqlclient.so.15: 
cannot restore segment prot after reloc: Permission denied



There is indeed a libmysqlclient.so.15 owned by mysql. I am surely not 
about to edit it and really am not sure how to go about correcting this.


--
Dave Cocuzzi
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]