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

Related Questions

I'm new to PHP and have installed on Linux to boot (also a newbie).
I have installed and setup RubyCAS-Server and RubyCAS-Client on my machine. Login works perfectly
I have installed CherryPy 3.1.0,. Here is what happens when I try to run
I have installed Delphi Prism and XNA Game Studio 3.0. I have managed to
I have installed Visual Studio 2008 and patch it with SP1. However, I cannot
I have installed Xperf performance analyzer from Windows SDK and captured a trace as
I have installed: Visual C# 2008 Express Visual Web Developer 2008 Express Visual Studio
I have installed pylons based application from egg, so it sits somewhere under /usr/lib/python2.5/site-packages.
I have IIS 5.1 installed on Windows XP Pro SP2. Besides I have installed
I am running a windows machine have installed Python 2.5. I also used the

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.