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');
Users browsing this forum: No registered users and 39 guests