Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    adding curl support to php after installing it from sources


    Hi
    I installed php 5.6 with configure options --enable-fpm and --with-mysql

    but today I realised that I need curl support as well.

    what should I do ?

    Code:
    ./configure --enable-fpm --with-mysql --with-curl
    or
    Code:
    ./configure  --with-curl
    I have always installed apps from repos so don't know about building from sources.

  2. #2
    Linux Guru
    Join Date
    Dec 2013
    Location
    Victoria, B.C. Canada
    Posts
    2,103
    -->
    Configure doesn't make any changes to anything that is compiled. You can run "make clean" and rebuild with the options you want but it doesn't always work very well. Often you're better off removing the build directory unpacking the sources again and starting from scratch i.e. all the options to configure, make and make install.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •