Previous Thread
Next Thread
Print Thread
Hop To
#259034 02/01/2017 5:52 AM
Joined: Jan 2017
Posts: 7
I
stranger
OP Offline
stranger
I
Joined: Jan 2017
Posts: 7
Hi,

Installing software for the first time and getting the following error on Step 3 Database check, using PHP 5.4.16.

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/vhosts/hapai.ie/forum.hapai.ie/install/install.php:500\nStack trace:\n#0 /var/www/vhosts/hapai.ie/forum.hapai.ie/install/install.php(57):

Any help would be much appreciated.

Thanks

Eoin

Joined: Apr 2004
Posts: 1,918
Likes: 140
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,918
Likes: 140
Your server's error:
Uncaught Error: Call to undefined function mysql_connect()


It looks like PHP does not have access to the mysql client libraries.
Confirm that your PHP to MySQL communication settings are correct.

Also, have a quick skim through this link:
http://stackoverflow.com/questions/...call-to-undefined-function-mysql-connect


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Work In Progress: soon
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jan 2017
Posts: 7
I
stranger
OP Offline
stranger
I
Joined: Jan 2017
Posts: 7
Hi,

Thanks for getting back to me.

We changed PHP from runing as an FPM application served by Apache to a FastCGI application served by Apache and it's now working.

Thanks

Eoin

Last edited by Istech Web Desig; 02/01/2017 6:50 AM.

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
"forum introduction body" - Where is this stored.
by mmem700 - 09/24/2022 10:58 AM
Google Search Console mobile usability issue
by cegadm - 09/11/2022 4:36 PM
10 images attached - only one displayed
by Baldeagle - 09/06/2022 6:01 PM
Help! Broken UBB
by JPFolks - 06/27/2022 3:43 PM
Who's Online Now
1 members (mmem700), 46 guests, and 80 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.5