On Tue, Feb 10, 2004 at 12:01:37PM -0800, Radi Shourbaji wrote: > I'm trying to move a PHP application that was originally built on the > windows PHP implementation to a newly installed Fedora FC1 Linux system. > However the Fedora implementation of PHP 4.3.4 seems to be missing the > mysql_real_escape_string() function. I suspect that there might be other > mysql functions missing as well - so I would appreciate your advice on how > to get this new system up to speed with all of the latest PHP 4.3.x > extensions. Why do you say it's missing, are you sure your FC1 install is complete? $ cat mysql.php <? printf("%s\n", mysql_real_escape_string("'fish'")); ?> $ php -f mysql.php <br /> <b>Warning</b>: mysql_real_escape_string(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in <b>/home/jorton/mysql.php</b> on line <b>1</b><br /> <br /> <b>Warning</b>: mysql_real_escape_string(): A link to the server could not be established in <b>/home/jorton/mysql.php</b> on line <b>1</b><br /> $ rpm -q php-mysql php-mysql-4.3.4-1.1 joe