Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8300003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T16:23:09+00:00 2026-06-08T16:23:09+00:00

I have some php scripts that I’ve been running on an Apache server on

  • 0

I have some php scripts that I’ve been running on an Apache server on a windows machine. These scripts use curl which isn’t enabled by default in php. For windows enabling it was as easy and un-commenting the line with the curl .dll file in the php.ini file. Well since Linux uses .so instead of .dll files that wont work.

Does anyone have any idea how to enable curl on an Apache server running on a Linux machine? Php is already installed so I’m really hoping for a solution that doesn’t involve re-installing php. Thanks in advance!

Edit:
The machine has the openSUSE v11.3 version of linux installed. I’m didn’t setup the machine and am interacting with it over command line(putty). Any help would be great.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T16:23:11+00:00Added an answer on June 8, 2026 at 4:23 pm

    If anyone else stumbles onto this page from google like I did:

    use putty (putty.exe) to sign into your server and install curl using this command :

        sudo apt-get install php5-curl
    

    Make sure curl is enabled in the php.ini file. For me it’s in /etc/php5/apache2/php.ini,
    if you can’t find it, this line might be in /etc/php5/conf.d/curl.ini. Make sure the line :

        extension=curl.so
    

    is not commented out
    then restart apache, so type this into putty:

        sudo /etc/init.d/apache2 restart
    

    Info for install from https://askubuntu.com/questions/9293/how-do-i-install-curl-in-php5, to check if it works this stack overflow might help you: Detect if cURL works?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some working cURL scripts but have been relying on the remote server
I have some long-running CLI PHP scripts that run regularly via cron. I'd like
I have some PHP scripts that are accessed by external non human sources. Normally
I have some php scripts that handle uploaded files via forms and stores them
I have seen some examples of php scripts that read email headers and parse
I have an ubuntu server that i have some scripts that need to run
I'm currently running an Apache server (2.2) on my local machine (Windows) which I'm
I have a php script that uses some css/javascript tabs, they work on my
This is driving me crazy. I have a PHP script that gets some data
I have a php script validation that looks for some special chars and deletes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.