Deployer version 4.1.0
At startup dep deploy test, the following error is reported:
PHP Fatal error: call undefined function server ()
server ftn is defined in the configuration file as follows:
server('test', 'test.server.com')
->user('user')
->identityFile('~/.ssh/id.pub', '~/.ssh/user', 'password')
->stage("test")
->env('deploy_path', '/var/www/project.com');
This is pretty much the standard according to the Deployer website . Has anyone else experienced this issue? If so, how did you resolve it?
source
share