When I compile C/C++ program with popen in php... I got this error:
popen
php
g++: error trying to exec \'cc1plus\': execvp: No such file or
You need to install gcc-c++ package.
gcc-c++
yum install gcc-c++