No - apache can be running - however once the new ports are installed
you should restart apache.
Is your portstree up-to-date ? If not, you should update it - and
install the module again. For webdevelopment mod_php4 or mod_php5
should suffice - do not install them all !