Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

maybe the problem is ( shell_exec function) create new process ,after executive ,then exit, no transfer environment to next line .

try this:

$exec = shell_exec("source path/to/keystonerc_admin;openstack stack create --template /home/admin/HEAT-TEMPLATES/test.hot TestStack 2>&1");