You can tell what options were passed to the PHP configure command by running phpinfo(), or, if you haven't deleted it, by looking at config.status in your PHP source directory.
You should not have to tinker with Apache itself, assuming you installed PHP as a module. Recompiling and reinstalling the PHP module should be sufficient. After you do so, stop and restart Apache.