• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue 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
 
Back
Top