General

What is the location of curl?

Updated November 2026 10,533 views 3 min read
General | Updated November 2026

The curl binary is located at /usr/bin/curl on Ultra Web Hosting servers. The PHP cURL extension is also enabled by default on all shared, reseller, VPS, and dedicated hosting accounts. If an application asks for the curl path or whether cURL is supported, the answer is yes.

01. Curl Binary Path

The command-line curl binary is at /usr/bin/curl. This is the standard location on CentOS/CloudLinux systems. If you need to call curl from a shell script, cron job, or application config, use this path.

# Verify the path
which curl
# Output: /usr/bin/curl

02. PHP cURL Extension

The PHP cURL extension is separate from the command-line binary. Most PHP applications (WordPress, Joomla, Drupal, WooCommerce, payment gateways) use the PHP extension, not the command-line tool.

To verify it's enabled, create a temporary phpinfo.php file:

<?php phpinfo(); ?>

Search the output for "curl." You should see a cURL section showing the version and supported features. Delete the file when done.

Or via SSH:

php -m | grep curl
# Output: curl

If PHP cURL is not listed (which would be unusual), note that it is enabled by default on every PHP version - open a support ticket and we'll check your configuration.

03. Checking the Version

# Command-line curl version
curl --version
# Shows: curl 7.x.x (or 8.x.x) with supported protocols

# PHP cURL version
php -r "echo curl_version()['version'];"

The curl version matters when interacting with APIs that require specific TLS versions or HTTP/2 support. All Ultra Web Hosting servers run curl versions that support TLS 1.2, TLS 1.3, and HTTP/2.

04. Common Uses

Cron jobs - Calling a URL on a schedule: /usr/bin/curl -s https://yourdomain.com/cron.php >/dev/null 2>&1. See our cron job guide.

API calls from scripts - Shell scripts that interact with payment gateways, shipping APIs, or third-party services.

File downloads - Downloading files to your server: curl -O https://example.com/file.zip

WordPress and WooCommerce - These require PHP cURL for update checks, plugin installation, payment processing, and REST API communication.

05. Troubleshooting

"curl: command not found" - You may be in a restricted shell. Use the full path /usr/bin/curl instead of just curl.

PHP says cURL is not installed - cURL is enabled by default on every PHP version. If it is reported missing after a version change, open a support ticket and we'll check the configuration for that domain.

SSL certificate errors with curl - If curl reports certificate verification failures, the CA certificate bundle may need updating. Contact support to update the server's CA bundle.

For other server paths (PHP, Perl, Python, ImageMagick, sendmail), see Server Paths - PHP, Perl, Python and More. To request a module installation, see How to Request a Server Module.

Need a Module Installed?

If you need a specific PHP extension or server tool that isn't available, open a support ticket.

Open a Support Ticket

Frequently Asked Questions

Where is curl located on UWH servers?

The curl binary is at /usr/bin/curl. The PHP cURL extension is also enabled by default on all plans, so applications that use cURL work without any setup.

Is PHP cURL supported on UWH hosting?

Yes. The PHP cURL extension is enabled by default on shared, reseller, VPS, and dedicated accounts, so scripts and applications that make HTTP requests with cURL work out of the box.

How do I check the curl version?

From an SSH shell run curl --version for the binary, or create a page that calls phpinfo() and look at the cURL section for the PHP extension's version. Both show the version available on your account.

How do I find the curl path myself?

From an SSH shell run which curl or whereis curl to print the exact location, which confirms /usr/bin/curl on our servers. Use that path where an application asks for the curl binary.

Quick Recap: Curl on Ultra Web Hosting

  1. Binary path: /usr/bin/curl
  2. PHP cURL extension is enabled by default on all accounts
  3. Both command-line and PHP cURL are available
  4. TLS 1.2/1.3 and HTTP/2 are supported
  5. See Server Paths article for other binary locations

Last updated November 2026 · Browse all General articles

Share: X in Reddit f Email
  • 461 Users Found This Useful

Was this answer helpful?

Related Articles

How to Password Protect a Directory

General | Updated November 2026 You can password-protect any directory on your website so...

How can I change the default page / document?

General | Updated November 2026 The default page (also called the directory index) is the...

My pages are updating/refreshing slowly

General | Updated January 2026 If your website loads slowly or takes a long time to update...

Mounting Samba Share in Linux for Startup

General | Updated March 2026 Mounting a Samba (SMB/CIFS) share on a Linux server lets you...

Point my domain to my wix account

General | Updated November 2026 If you want to use a domain registered through Ultra Web...



Save 30% on web hosting - Use coupon code Hosting30