Create Webapp In Opensuse

I am trying to create a new webapp in opensuse using the yiic command.

However, after I execute the command, it just returned an error message.

/usr/bin/env: php: No such file or directory

I have installed xampp in /opt/lampp.

In terminal what do you see when you enter "which php"?

Why are you using XAMPP on OpenSuse? Can’t you just install the webserver/php-stack via YaST?

[color="#006400"]/* Moved from "General Discussion for Yii 1.1.x" to "Installation and Setup" */[/color]