Headway
Headway

Reputation: 175

php exec is not working in centos

I am trying to use the exec command in centos:

exec(Yii::getPathOfAlias('application').'\yiic SendNow '.$sendID);

this does not work in centos but this work in windows

Upvotes: 2

Views: 512

Answers (1)

Sam Dufel
Sam Dufel

Reputation: 17598

Windows paths use a backslash separator; unix paths use a forward slash.

Upvotes: 2

Related Questions