Apache: How to switch from CGI/FastCGI Server API to DSO?

I want to switch back and forth. I found this answer for the reverse step, but I need the the first part:

Apache: How to switch to CGI/FastCGI Server API?

Actually I want to go back and froth between SuPHP (current) --> DSO --> SuPHP in case this changes the link above.


For switching to DSO (mod_php), you must have the php module enabled + the right handler activated, something like that:

LoadModule php5_module  modules/libphp5.so
AddHandler php5-script  .php 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.