C
C
Chokatillo2017-09-19 10:47:42
CMS
Chokatillo, 2017-09-19 10:47:42

Errors when installing Socialmat v1.6.2?

How to deal with installation errors?

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/c/cg91812/cg91812_Social/public_html/includes/db.php:6 Stack trace: #0 /home/c/cg91812/cg91812_Social/public_html/index.php(8): include_once() #1 {main} thrown in /home/c/cg91812/cg91812_Social/public_html/includes/db.php on line 6

Here
Everything seems to be done correctly (there are no special settings there)
What could be the matter?
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zorca, 2017-09-19
@serovpochta

Trying to install an ancient script on PHP 5.6 or 7:
php.net/manual/ru/function.mysql-connect.php

This extension has been deprecated since PHP 5.5.0 and removed in PHP 7.0.0. Use MySQLi or PDO_MySQL instead.

R
RidgeA, 2017-09-19
@RidgeA

most likely missing php-mysql extension

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question