• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Php extension

Peter-

Basic Pleskian
Hello

A couple of months ago, I installed mongodb and added the extension in my php.ini directives from plesk admin (I think) -> go to subdomain, php configuration, scroll to the bottom.

Today I tried installing the phalcon framework. Everything worked like a charm, I restarted apache (service httpd restart), but I don't see anything loaded from phalcon.

So I went to plesk, added extension=phalcon.so at the end, restarted apache again and still nothing.

Then I removed everything from that textbox, but mongo.so still loads, lol.

What did I do and how do I debug this?

In /etc/php.ini, there was extension=mongo.so,but commenting it with ";" didn't affect anything.

Can someone explain how plesk's arhitecture works so I remember next time I want to install some extension?

Do I need to copy anything to php's folder?

Thanks! :)
 
Apparently there's a problem with phalcon. Removing mongo from extensions in my subdomain's php config and restarting httpd takes mongo out from the loaded extensions array...

Do I need to copy phalcon somewhere? I installed as root while beeing in /root :)
 
Back
Top