Hey. Double check the permissions of the folder where your PHP code is located. I faced the same problem. In fact, I made some files for reading and writing in the same directory, and I had to set the resolution for my php project accordingly, otherwise it said No data was received , and when I see apache log in error I see a segmentation error.
So please check. this can help.
And yes, the documentation on the Swig site is still not very useful for PHP developers.
Muhammad Riyaz
source share