I'm not familiar with easyapache, but as I said before, you should add modules to the file "php.ini" (PHP's configuration file). I don't think that you have to recompile PHP every time a module is added either, just the process needs to be restarted.