Installation problems with yiic

I am on a shared host that supports php 5.2.x I’m able to see that the environment meets all the requirements. However, I am not able to create a new app in the command line.

I’m using terminal (for macos)

I have the app files installed on public_html/mydomain.com/yii/

So, when I cd to /yii/framework/ I should be able to do this.

yiic webapp /mydomain.com/newapp

BUT, I’m not able to!

Here is the error:

shmat() failed: Permission denied

Failed to start up concurrent users module!

Segmentation fault (core dumped)

shmat() failed: Permission denied

Failed to start up concurrent users module!

Could not open input file: yiic.php

This error has to do with permissions to the shared memory… it’s nothing you can do here… try to contact your webhosting support so they can fix this…

While you wait for them to fix this… you can create the application localy on your computer (would be much faster and simpler)… and later you just upload it to the server