Use ZF2 classes in your app

<?php

ini_set('include_path', '/usr/local/zendsvr6/share/ZendFramework2/library');

require_once 'Zend/Loader/StandardAutoloader.php';

$loader = new Zend\Loader\StandardAutoloader(array('autoregister_zf' => true));
$loader->register();

References:

https://zend18.zendesk.com/hc/en-us/articles/222086648-Use-Framework-s-SMTP-Transport-instead-of-mail-on-IBM-i

No Comments PHP, Zend

Intro to Vagrant

vagrant package --base="Apigility - CentOS 7.4" --output=7CentPHPiAPI.box
$ vagrant ssh-config
$ vi ~/.ssh/config

Check for SSH keys on both places.

References:

https://stackoverflow.com/questions/22922891/vagrant-ssh-authentication-failure

No Comments Uncategorized