Avatar of pointhigh
pointhigh
 asked on

How can I configure PHP5.3 to work with ncuses?

I’m trying to get ncurses to work with php5.3. I have install mysql, Apache2 and PHP5.3 through yum but when I run a php file from command line I get the error:
PHP Fatal error:  Call to undefined function ncurses_init() in /home/ec2-user/files/SensorSimulator.php on line 8
Ncurses packages that I have installed now through yum:
ncurses.i686                           5.7-3.20090208.9.amzn1       installed
ncurses-base.i686                      5.7-3.20090208.9.amzn1       installed
ncurses-devel.i686                     5.7-3.20090208.9.amzn1       @amzn-main
ncurses-libs.i686                      5.7-3.20090208.9.amzn1       installed
ncurses-static.i686                    5.7-3.20090208.9.amzn1       amzn-main
ncurses-term.i686                      5.7-3.20090208.9.amzn1       amzn-main
How can I configure PHP to work with ncuses?
Thanks
PHPApache Web ServerLinux Distributions

Avatar of undefined
Last Comment
Marcus Bointon

8/22/2022 - Mon
hernst42

check for php*-ncurse package or compile the extension on your own
ASKER CERTIFIED SOLUTION
Marcus Bointon

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes