Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add PHP CURL extension check to the first installation step #5145
This is based on 2 reports from slack about issues with the dashboard on first load.
On the first load the dashboard shows a 500 error but the left menu loads.
Refreshing the browser loads the dashboard without issues.
People starting a server with ubuntu don't have php-curl installed by default and the dashboard can show a 500 error on the first load but be fine when reloading.
@escopecz found the problem/fix here https://mautic.slack.com/archives/C02HV76BW/p1507820618000842
The install script that checks php extensions doesn't check for curl that causes the error.
I was one of the 2 people having this problem, just installing the php-curl package solved the issue.
No idea if it's important but I had curl installed on the server, but not the php-curl package, maybe that is why the pre-install check didn't think it was missing?
This was my setup in case it can be of help: apache 2.4.xx / php 7.0.xx / mariadb 10 / ubuntu 16.04.xx
I was opening an issue for the exact same problem, then searched for an already opened one and came to this.
A check about cURL is really helpful: I fully configured the server following the directives of the installation step, but it didn't alert me about cURL.
The result is that after login, I get a 500 error on the dashboard.
The logs all reference cURL constants that doesn't exist.
I just want to say this WAS important. I've been pulling my hair out this morning on this - curl is installed but not detected... but tried php-curl and voila - fixed. THANK YOU