Wow! We are almost there!
Finally I was able to add a php.ini file, that is woking (I changed max file size and it worked).
Only problem is, when I add extension=memcached.so , the extension is not loading even if it's in the extension directory (I checked). Every time I did a graceful restart...