I am trying to install Chipmunk Chat on my website On the README it says to run install.php When i try this my browser says: Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Abyss Web Server\htdocs\connect.php on line 2 I do not know php at all. The php file is: <?php include "connect.php"; $installmessages="CREATE TABLE ch_messages ( ID bigint(21) NOT NULL auto_increment, poster varchar(255) NOT NULL default '', message mediumtext NOT NULL, registered int(11) NOT NULL default '0', time bigint(21) default NULL, PRIMARY KEY (ID) )"; mysql_query($installmessages) or die(mysql_error()); $installchatters="CREATE TABLE ch_chatters ( ID bigint(20) NOT NULL auto_increment, chatter varchar(255) NOT NULL default '', password varchar(255) NOT NULL default '', email varchar(255) NOT NULL default '', PRIMARY KEY (ID) )"; mysql_query($installchatters) or die("Could not install chatters table"); $installadmins="CREATE TABLE ch_admins ( ID int(11) NOT NULL auto_increment, adminname varchar(255) NOT NULL default '', password varchar(255) NOT NULL default '', PRIMARY KEY (ID) )"; mysql_query($installadmins) or die("Could not install admin table"); $installonline="CREATE TABLE ch_online ( ID bigint(21) NOT NULL auto_increment, sessionname varchar(255) NOT NULL default '', time int(11) NOT NULL default '0', PRIMARY KEY (ID) )"; mysql_query($installonline) or die("Could not install whose online"); ?> Thanks!
Are u sure MYSQL is installed. Plus have u modified connect.php according to your server. I can assist u if u want !
If you have access to PHP.ini and if you are pretty sure if Mysql is installed then Search these lines separately in php.ini file: ;extension=php_mysql.dll and change it to extension=php_mysql.dll now search ;extension=php_mysqli.dll and change it to extension=php_mysqli.dll Thanks, hope it helps