Mautic Community Forums

PHP requirements

Hi, I just moved my Mautic installation from a CentOS server to a Debian OS.



I get some errors in backend, eg.

Code:
PHP Fatal error: Call to undefined function Debril\RssAtomBundle\Driver\curl_init() in /var/www/mautic/vendor/debril/rss-atom-bundle/Debril/RssAtomBundle/Driver/HttpCurlDriver.php on line 54, referer: https://myserver.it/s/login

I wondering if there is some tool to check if minimum requirements are met, and I case, which PHP modules are missing.
In that case, it seems that php5-curl is missing.
..how can I check others, eventually?

Thank you!





Hi, I just moved my Mautic installation from a CentOS server to a Debian OS.

I get some errors in backend, eg.

PHP Fatal error:  Call to undefined function Debril\RssAtomBundle\Driver\curl_init() in /var/www/mautic/vendor/debril/rss-atom-bundle/Debril/RssAtomBundle/Driver/HttpCurlDriver.php on line 54, referer: https://myserver.it/s/login

I wondering if there is some tool to check if minimum requirements are met, and I case, which PHP modules are missing.
In that case, it seems that php5-curl is missing.
…how can I check others, eventually?

Thank you!

@armitage318

To all that care…you must aware in settting up Mautic. There are several things that have to happen in order for installation to go smooth.

  1. Set UP to use PHP 7
  2. contact host to have certain php extensions setup
  3. make sure the php.ini is setup correctly

Once those are setup properly, installation go smooth

You don’t have the curl extension installed for php.

If on Ubuntu:

apt-get install php-curl

or

apt-get install php56-curl for php 5.6

apt-get install php7-curl for php 7