在安装PHP时,我在Cygwin中执行mkdir之后遇到了'缺少操作数'

在安装PHP时,我在Cygwin中执行mkdir之后遇到了'缺少操作数'

问题描述:

While attempting to make sure that $CVSROOT existed, I executed

mkdir $CVSROOT

only to find the error:

'missing operand'

在尝试确保 $ CVSROOT code>存在时,我执行了 p> \ n

  mkdir $ CVSROOT 
  code>  pre> 
 
 

仅查找错误: p>

'缺少操作数' p> blockquote> div>

Try:

(The number is the permission you set)

mkdir("$CVSROOT", 0700);

And if it should be a string not a variable use:

mkdir('$CVSROOT', 0700);