• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Error 500 on send_httprequest function

artefact

New Pleskian
Hi

I am a Linux and Plesk newbee.

I have an OVH VPS under Ubuntu and Plesk 11.5.30 which is hosting a paybox.php file call from outside (Paybox payment server). A send_httprequest function is causing an 500 error when Paybox is calling the paybox.php URL. This file was working well under another server. Which module have I forget to install to make this function working?

Any help would be appreciated
Greg
 
Hi

Log error give me: PHP Fatal error: Class 'HttpRequest' not found

Here is the solution:
First, you will need to install PEAR via apt-get to get the necessary package and distribution system that both PEAR and PECL use. From a shell prompt enter:

sudo apt-get install build-essential

sudo apt-get install php-pear

Install the HTTP_PECL module with the following command:

sudo pecl install pecl_http

You may need to install these packages for dependencies :

sudo apt-get install zlibc
sudo apt-get install libcurl4-openssl-dev

Enable http.so in apache by adding "extension=http.so" to php.ini

then restart apache :

/etc/init.d/apache2 restart

Hope this will help
Greg
 
Back
Top