/    Sign up×
Community /Pin to ProfileBookmark

How to check which PHP extensions are active?

I’m currently having a few problems with my hosting company allowing mysqli extension. I’ve activated a few extensions through the PLESK panel PHP selector (see attached picture). [upl-image-preview url=https://www.webdeveloper.com/forum/assets/files/2019-01-19/1547906255-486449-php.png]
However, I still kept getting

[quote]

Fatal error: Uncaught Error: Call to undefined function mysqli_connect()

[/quote]

when trying to use my login script.

After opening a ticket and asking them to check the mysqli extension, I got this reply “We have enabled mysqli extension for your domain”. The script worked for 10 minutes but has now gone back to putting out the same error.

Is there a way I can check which extensions are running on the server? I’ve ran a simple php version checker, and it’s coming back with “Current PHP version: 7.0.33”, but is it possible to get a more detailed report?

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@rootJan 19.2019 — Duh , What do you think that php_info() is for?
Copy linkTweet thisAlerts:
@leosetiauthorJan 19.2019 — @root#1600188 you must be 12 years old with the attitude.
Copy linkTweet thisAlerts:
@leosetiauthorJan 19.2019 — Is there anything missing?

[upl-image-preview url=https://www.webdeveloper.com/forum/assets/files/2019-01-19/1547937777-543747-1.png]

[upl-image-preview url=https://www.webdeveloper.com/forum/assets/files/2019-01-19/1547937777-628243-2.png]
Copy linkTweet thisAlerts:
@NogDogJan 20.2019 — The fact that the Configure Command includes --without-mysqli seems wrong, if it's supposed to be enabled.
Copy linkTweet thisAlerts:
@rootJan 20.2019 — No, thats my IQ squared.
Copy linkTweet thisAlerts:
@leosetiauthorJan 20.2019 — @root#1600196 ??
×

Success!

Help @leoseti spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.13,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...