Firstly, I am running all of these commands through www-data user..which is apache2 user... Using php, and exec function to run these commands...
I create the directory
mkdir -p testing
Now lets see folders
ls
the directory testing is not showing...although the folder was created ( I check in physical path)