Previous Thread
Next Thread
Print Thread
Hop To
PHP Version Problem? #259034 02/01/2017 4:52 AM
Joined: Jan 2017
Posts: 7
Istech Web Desig Offline OP
stranger
OP Offline
stranger
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

Re: PHP Version Problem? [Re: Istech Web Desig] #259035 02/01/2017 5:01 AM
Joined: Apr 2004
Posts: 1,571
Likes: 6
isaac Online Splat
UBB.threads Developer
Online Splat
UBB.threads Developer
Joined: Apr 2004
Posts: 1,571
Likes: 6
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 // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Re: PHP Version Problem? [Re: isaac] #259036 02/01/2017 5:50 AM
Joined: Jan 2017
Posts: 7
Istech Web Desig Offline OP
stranger
OP Offline
stranger
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 5:50 AM.

Link Copied to Clipboard
Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Subscriptions Question
by Ruben - 01/14/2020 12:11 PM
Page won't load after 7.7.3 Update
by Jim0421 - 01/08/2020 11:11 AM
Ubb 7.7.3 winkey emoji shortcut issue
by Ruben - 01/07/2020 4:04 PM
testing winkey emoji shortcut
by Ruben - 01/06/2020 2:36 PM
Very strange problem
by Baldeagle - 01/05/2020 1:22 PM
Who's Online Now
3 members (Ruben, isaac, Larry Miller), 73 guests, and 339 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20200106)