The WordPress and the CodeIgniter are PHP Frameworks.
Also, WordPress is a blog/CMS platform based on the WordPress PHP Framework.
WordPress is a CMS that needs a db.
CI does not need a DB, only when you write the app, then a DB is needed.
So both need PHP/APACHE or another webserver/and DB.
You can use XAMPP or another free similar software.