Hi all, I have an C executable file which creates few files. But when I run this executable from Php using the exec() function the files are not created. However, I am able to create files from php.
Need ur help...
Thanks a lot in advance, Kasi
does the file output anything to the console? I don't remember if it's exec or system that returns the console output to a variable so you can see what's going on. Also, make sure exec is calling the full qualified path to the executable.
I have tried running some other executables and they are all working fine...except the ones which opens new files.
Thanks, Kasi
could it be a permissions issue? We run php through the web as user httpd--if httpd doesn't have proper permisions...it wont work
But I am able to create files using PHP on my server. So, I dont know whether thats the problem