Calling to mysql error
hello there,
finally i have to come here...... php5 in SUSE 10 not support mysql module automatically.Check with /etc/php5/php5 -m showed: [PHP Modules] date hash libxml pcre Reflection session SimpleXML SPL standard xml [Zend Modules] ERROR : Fatal error: Call to undefined function mysql_connect() under php source program. $s = mysql_connect($svr,$usr,$passw) or die("$svr Connection Fail\n"); is there an easy way to enable it. i'm thinking to recompiled php4 tq |
just install the php5-mysql RPM. it should be in your repos, or you can find it here:
http://rpmfind.net/linux/rpm2html/se...ery=php5-mysql |
Thank for all...mysql module was not ticked during installation . i just tick just now and it installed form cd .it works now...
i'm using sles 10 |
All times are GMT -5. The time now is 07:16 PM. |