First of all: I recommend the "ming" PHP extension in stead of the libswf extension for server-side flash scripting.
Secondly - do answer your question:
It depends on how you configured your PHP.
If you use an RPM-based Linux, then allow me to point you to http://rpms.arvin.dk/php/