Link to home
Create AccountLog in
Avatar of 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?
Avatar of hernst42
Flag of Germany image

check for php*-ncurse package or compile the extension on your own
Avatar of Marcus Bointon
Marcus Bointon
Flag of France image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account