解决The connection was refused when attempting to contact localhost
在zend studio运行php程序,出现"the connection was refused when attempting to contact localhost" ,解决办法如下: 1、Zend->File->Switch Workspace->other->选择apache默认网站目录(如E:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs)2、Zend->window->preferences,进入PHP->PHP Servers进行配置:
3、Zend->window->preferences,进入PHP->general-> Web browser进行配置:
解决The connection was refused when attempting to contact localhost
在zend studio运行php程序,出现"the connection was refused when attempting to contact localhost" ,解决办法如下: 1、Zend->File->Switch Workspace->other->选择apache默认网站目录(如E:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs)2、Zend->window->preferences,进入PHP->PHP Servers进行配置:
3、Zend->window->preferences,进入PHP->general-> Web browser进行配置: