Unable to create text file using php coding
Posted: 06. January 2016 13:33
I am using .sh file to create text file and its working fine but when i am trying run this .sh file using php then its not working ??
https://community.apachefriends.org/f/
https://community.apachefriends.org/f/viewtopic.php?f=17&t=72738
jaspreet237 wrote:I am using .sh file to create text file and its working fine but when i am trying run this .sh file using php then its not working ??
jaspreet237 wrote:my_script.sh2>&1
jaspreet237 wrote:working with root and and given chmod 755 to all folders which i am using in my coding ..
jaspreet237 wrote:$output = shell_exec('my_script.sh2>&1');