First: php files are not executable, never. You open them in a browser, they interact with the webserver (which should have php compiled in, installing the LAMP server takes care of all that), or you use some commandline tool to process them.
In the root folder of your webserver, mostly /srv/www/htdocs :
remove / rename index.html (it contains the "It works!" html)
create a file "testphp.php" containing:
Code:
<?php
$msg = "Seeing this means php is working";
echo $msg;
?>
then use a browser and navigate to localhost/testphp
If you don't see the $msg string displayed, check the settings in Yast - Networkservices - HTTP server, first screen after clicking "Next". "Enable PHP scripting" should be enabled.
If you put in files manually in the webroot, make sure their permission are: wwwrun as the owner, www for the group.
One remark: I can't see what other things you've done/added, so unless you tell exactly what you've done I can only state how the defaults should work.
Bookmarks