[RESOLVED] cant locate php-config when building extension
Results 1 to 3 of 3

Thread: [RESOLVED] cant locate php-config when building extension

  1. #1
    Junior Member
    Join Date
    Oct 2012
    Posts
    2

    resolved [RESOLVED] cant locate php-config when building extension

    I try to build an extension (phpize..../configure --with... etc) The extension builds fine on my machine, but when I go to another machine
    (which has PHP built from soure, and the php-configure is both in script folder and the /usr/bin folder)
    I get configure: error: Cannot find php-config. Please use --with-php-config=PATH.

    Same happen even if I --with-php-config=/usr/bin
    Just to make sure, when I type /usr/bin/php-config it runs.

  2. #2
    Pna lbh ernq guvf¿
    Join Date
    Jul 2004
    Location
    Kansas City area
    Posts
    19,428
    Have you tried using `--with-php-config=/usr/bin/php-config' instead?

  3. #3
    Junior Member
    Join Date
    Oct 2012
    Posts
    2

    Thanks - that was my mistake, did not add the file name itself to the path

    Thanks - that was my mistake, did not add the file name itself to the path

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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