It still display the same error message. I am using Apache 2.8.
But, I manage to create the script to test Moodle Questionaire by following the my quiz script, and modified the form parameter. It is a bit manual but it works perfectly.
Thanks for your response.