I hope this is enough information for someone to know what I'm asking. I don't know much about web servers.

I have a web server that is SSL-enabled, PHP-enabled, and runs Apache. PHP works, SSL works, but they don't work together. When I put a PHP document in the directory that is set aside for secure documents, the web server just displays the PHP document as a text file, with the code there for all to see. I've used the two together before, but on different web servers that may be running something other than Apache, I don't know. I'm being told it probably has something to do with Apache or the setup thereof.

Is this a known problem? Is there a simple solution? Thanks for any help!