• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved PHP extension in Plesk 8.3 and 8.2 - ctype and bcmath not together

JuliuszR

New Pleskian
Server operating system version
Ubuntu 24.04
Plesk version and microupdate number
Plesk Obsidian v18.0.65_build1800241106.13 os_Ubuntu 24.04
Really funny,

For Laravel application I need 2 extensions - ctype and bcmath. one of them is in php 8.3.6 namely ctype, but bcmath is missing and when I try to install it via PECL I get information that it is not allowed to install.

The PHP extension 'bcmath' cannot be installed or uninstalled because it is provided by Plesk out of the box, or uses packages provided by the OS vendor, or uses some other packages. You can only enable or disable the extension.

But in no one version of PHP 8.3.6 is bcmath, the funny thing is that in version PHP 8.3.13 - 8.2.25 it is everywhere but there is no ctype and it cannot be installed via PECL.

Question - how to install ctype in PHP 8.2.25 if it is not in PECL? or

Thank you for help

Juliusz
 
Hi,
PHP 8.2.25 shipped with Plesk is already compiled with ctype module:
Bash:
# /opt/plesk/php/8.2/bin/php -m | grep ctype
ctype
you do not have to install it additionally
 
Last edited:
HI Nikolay,
you are right, sorry, I was too lazy to write phpinfo and upload it to the server. I checked the graphical surface of php settings in plesk and there is no ctype extension there.
sorry again

ctype.png
 
Yeah, the modules on this list enabled via .ini files located /opt/plesk/php/8.2/etc/php.d/ here and external library file.
ctype module is a part of PHP binary files and is permanently enabled, that is why its not on the list
 
Back
Top