SOLVED curl not working in JailShell

<esc>

Member
Jun 19, 2005
15
1
153
I just got an request from a PHP developer who claims that curl is not working from PHP in a JailShell account while compiled into Apache. Is this a security feature or some misconfiguration on my side?
 

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,543
208
343
Chesapeake, VA
cPanel Access Level
DataCenter Provider
Neither, assigning an account to jailshell would have no impact on php's curl functionality. I would look at the phpinfo to verify that curl is in fact included with your php configuration and if it is then I would stick a simple curl example page on their site to show them that it is working.

I find sometimes that developers who cannot get something to work automatically assume that its php's fault and not the code, so giving them a working example on the same domain usually takes that off the table.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,234
363
cPanel Access Level
DataCenter Provider
Twitter
Hello,

Can you let us know the specific curl command the developer is running from the user's jailed shell environment? Also, post any specific error messages that appear.

Thank you.
 

<esc>

Member
Jun 19, 2005
15
1
153
Thank you every body replying. This issue is resolved ...

I routinely select curl among other options doing an new build of Apache but this time I overlooked it and nobody complained for about a year. Yesterday a developer tried to integrate a MailChimp connector into a WordPress site which showed an error in the front end, something like 'curl not found', and as I told him curl should be integrated he suggested that jailshell might be the culprit.

Erich Schreiber
 
Last edited:
  • Like
Reactions: cPanelMichael