unable to run a dot php file in xampp

August 27, 2011 at 11:54:47
Specs: Linux x86_64, intel i7 2.0 GHz, 6GB ram
when try to run a php script have this message
" Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required '/opt/lampp/htdocs/test/helloworld.php' (include_path='.:/opt/lampp/lib/php') in Unknown on line 0"
i am running ubuntu 11.04 with xampp 1.7.4

See More: unable to run a dot php file in xampp

Report •

August 28, 2011 at 20:17:52
I haven't used a nix box in a long time, but did you try setting the file permissions? If not, try something like chmod 0755; if it works, chmod it again to something like 0644.

I don't recall the syntax of the nix commnad line, but you should be able to find chmod in the man pages.


Report •
Related Solutions

Ask Question