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

  • SEARCH
  • Home
  • 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 681765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:31:10+00:00 2026-05-14T01:31:10+00:00

I have installed MAMP and the PHP it came with wasn’t compiled with ncurses

  • 0

I have installed MAMP and the PHP it came with wasn’t compiled with ncurses. I’ve tried to use port to install ncurses and it seems that it already exists on my system so now I was wondering if there was a way to get PHP to use it without having to recompile PHP –with-ncurses.

In other words: Can PHP be configured to use ncurses without the recompilation?

  • 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-05-14T01:31:11+00:00Added an answer on May 14, 2026 at 1:31 am

    I’m sorry for the late answer but this can actually be done quite easily with MAMP.

    I have done this on my MacBook running OS X Snow Leopard.

    Your MAMP directory contains the tar file of the php source code. MAMP version 1.8.4 ships with php-5.2.11.tar located here: /Applications/MAMP/bin/php5/

    1. cd /Applications/MAMP/bin/php5/
    2. tar -xvf php-5.2.11.tar
    3. cd php-5.2.11/ext/ncurses
    4. /Applications/MAMP/bin/php5/bin/phpize
    5. ./configure –with-php-config=/Applications/MAMP/bin/php5/bin/php-config
    6. make
    7. make install

    Afterwards you just need to add the ncurses.so extension to the MAMP php.ini

    1. echo “extension=ncurses.so” >> /Applications/MAMP/conf/php5/php.ini
    2. php -i | grep ncurses

    This gives me:

    ncurses

    ncurses support => enabled

    ncurses library version => 5.7

    You can also do this with the PCNTL extension 😉 😉

    Cheers!

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

Sidebar

Ask A Question

Stats

  • Questions 350k
  • Answers 350k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I think they are the same colour - it's the… May 14, 2026 at 7:05 am
  • Editorial Team
    Editorial Team added an answer You can't replicate that in Java because generics are fundamentally… May 14, 2026 at 7:05 am
  • Editorial Team
    Editorial Team added an answer See the GtkTreeSortable interface, which allows you to set your… May 14, 2026 at 7:05 am

Related Questions

I've been impressed by the screencasts for Rails that demonstrate the built-in web server,
So I downloaded the Magento free blog extension but it only supports a single
I've written several Web MVC apps but never before in PHP, and I'm trying
My end goal is local development of a Radiant CMS installation. So, need rails
For reasons that we won't discuss, I have determined that MAMP is a pile

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.