6

PHP-CLI cannot execute scripts on Samba Share (using cifs) inside a guest VM (Centos 6)

view full story
linux-howto

http://serverfault.com – I have a centos 6 VM running as a guest within Virtualbox. I've set up a LAMP stack which I am able to access from the host (Windows) environment. I've mounted a samba share using 'mount -t cifs' and I'm able to use apache to serve files from that share (all good so far) problem I'm now trying to run a simple test.php script from the command line This is the output I get (below) notice what happens if I don't spell the filename correctly (different message), so the file is there, it's as if php is unable to execute it. I've included this as an image because I can't find any way to copy fro (HowTos)