Steps I have taken on a brand new virtual machine:
1) install ubuntu 16.04 server ISO
2) install apache2
3) install mysql
4) install php5.6 using these directions: https://tecadmin.net/install-php5-on-ubuntu/
5) install a whole mess of supporting stuff to get the composer to be happy
Code: Select all
sudo apt install php5.6-mysql php5.6-dev php-pear php5.6-intl php5.6-mbstring php5.6-xml icu-devtools libicu-dev autoconf-archive php5.6-zip php5.6-sqlite gnu-standards autoconf-doc binutils-doc cpp-doc gcc-5-locales dh-make debian-keyring g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg lib32stdc++6-5-dbg libx32stdc++6-5-dbg flex bison gdb gcc-doc libgomp1-dbg libitm1-dbg libatomic1-dbg libasan2-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg lib32stdc++6-5-dbg libx32stdc++6-5-dbg flex bison gdb gcc-doc libgomp1-dbg libitm1-dbg libatomic1-dbg libasan2-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg bison-doc libcilkrts5-dbg libmpx0-dbg libquadmath0-dbg gdb-doc gettext-doc autopoint glibc-doc icu-doc libtool-doc libssl-doc libstdc++-5-doc gfortran doc-base gfortran-multilib gfortran-doc gfortran-5-multilib gfortran-5-doc libgfortran3-dbg gcj-jdk make-doc dh-php libmail-box-perl python-enum34-doc
7) sudo mv composer.phar /usr/local/bin/composer
8) git clone https://github.com/Zuluru/Zuluru3.git
9) cd Zuluru3
10) composer install
Results:
Code: Select all
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 83 installs, 0 updates, 0 removals
- Installing cakephp/plugin-installer (1.1.0): Downloading (100%)
- Installing aura/intl (3.0.0): Downloading (100%)
- Installing psr/http-message (1.0.1): Downloading (100%)
- Installing zendframework/zend-diactoros (1.8.6): Downloading (100%)
- Installing psr/log (1.0.2): Downloading (100%)
- Installing cakephp/chronos (1.2.2): Downloading (100%)
- Installing cakephp/cakephp (3.6.12): Downloading (100%)
- Installing cakephp-app-installer/installer (2.0.0): Downloading (100%)
- Installing cakephp/authentication (1.0.1): Downloading (100%)
- Installing cakephp/authorization (1.0.0): Downloading (100%)
- Installing cakephp/bake (1.1.4): Downloading (100%)
- Installing symfony/polyfill-ctype (v1.9.0): Downloading (100%)
- Installing symfony/yaml (v3.4.17): Downloading (100%)
- Installing symfony/polyfill-mbstring (v1.9.0): Downloading (100%)
- Installing symfony/debug (v3.4.17): Downloading (100%)
- Installing symfony/console (v3.4.17): Downloading (100%)
- Installing symfony/filesystem (v3.4.17): Downloading (100%)
- Installing symfony/config (v3.4.17): Downloading (100%)
- Installing robmorgan/phinx (v0.8.1): Downloading (100%)
- Installing cakephp/migrations (1.8.1): Downloading (100%)
- Installing doctrine/collections (v1.4.0): Downloading (100%)
- Installing commerceguys/enum (v1.0): Downloading (100%)
- Installing commerceguys/addressing (v0.8.4): Downloading (100%)
- Installing commerceguys/intl (v0.7.5): Downloading (100%)
- Installing dereuromark/cakephp-ajax (dev-master f30ae02): Cloning f30ae028f0 from cache
- Installing friendsofcake/bootstrap-ui (v0.6.2): Downloading (100%)
- Installing oyejorge/less.php (v1.7.0.14): Downloading (100%)
- Installing elboletaire/less-cake-plugin (v1.7.1): Downloading (100%)
- Installing elboletaire/twbs-cake-plugin (dev-master 52c1dbd): Cloning 52c1dbd18e from cache
- Installing firebase/php-jwt (v5.0.0): Downloading (100%)
- Installing giggsey/locale (1.5): Downloading (100%)
- Installing giggsey/libphonenumber-for-php (7.7.5): Downloading (100%)
- Installing guzzlehttp/psr7 (1.4.2): Downloading (100%)
- Installing guzzlehttp/promises (v1.3.1): Downloading (100%)
- Installing guzzlehttp/guzzle (6.3.3): Downloading (100%)
- Installing league/flysystem (1.0.47): Downloading (100%)
- Installing josegonzalez/cakephp-upload (3.8.1): Downloading (100%)
- Installing m1/env (2.1.2): Downloading (100%)
- Installing josegonzalez/dotenv (3.2.0): Downloading (100%)
- Installing mtdowling/jmespath.php (2.4.0): Downloading (100%)
- Installing aws/aws-sdk-php (3.69.2): Downloading (100%)
- Installing league/flysystem-aws-s3-v3 (1.0.21): Downloading (100%)
- Installing mobiledetect/mobiledetectlib (2.8.33): Downloading (100%)
- Installing muffin/footprint (dev-master 7833248): Cloning 7833248be7 from cache
- Installing ozee31/cakephp-cors (v1.1.4): Downloading (100%)
- Installing soundasleep/html2text (0.5.0): Downloading (100%)
- Installing symfony/translation (v3.0.9): Downloading (100%)
- Installing symfony/validator (v2.8.46): Downloading (100%)
- Installing trentrichardson/cakephp-scheduler (3.0.4): Downloading (100%)
- Installing zuluru/cakephp-bootstrap (dev-master 16dc5a8): Cloning 16dc5a83c0 from cache
- Installing zuluru/cakephp-jquery (dev-master f6f10cb): Cloning f6f10cb8ef from cache
- Installing jdorn/sql-formatter (v1.2.17): Downloading (100%)
- Installing cakephp/debug_kit (3.2.9): Downloading (100%)
- Installing jakub-onderka/php-console-color (v0.2): Downloading (100%)
- Installing webmozart/assert (1.3.0): Downloading (100%)
- Installing phpdocumentor/reflection-common (1.0.1): Downloading (100%)
- Installing phpdocumentor/type-resolver (0.4.0): Downloading (100%)
- Installing phpdocumentor/reflection-docblock (3.3.2): Downloading (100%)
- Installing phpunit/php-token-stream (1.4.12): Downloading (100%)
- Installing sebastian/version (2.0.1): Downloading (100%)
- Installing sebastian/resource-operations (1.0.0): Downloading (100%)
- Installing sebastian/recursion-context (2.0.0): Downloading (100%)
- Installing sebastian/object-enumerator (2.0.1): Downloading (100%)
- Installing sebastian/global-state (1.1.1): Downloading (100%)
- Installing sebastian/exporter (2.0.0): Downloading (100%)
- Installing sebastian/environment (2.0.0): Downloading (100%)
- Installing sebastian/diff (1.4.3): Downloading (100%)
- Installing sebastian/comparator (1.2.4): Downloading (100%)
- Installing phpunit/php-text-template (1.2.1): Downloading (100%)
- Installing doctrine/instantiator (1.0.5): Downloading (100%)
- Installing phpunit/phpunit-mock-objects (3.4.4): Downloading (100%)
- Installing phpunit/php-timer (1.0.9): Downloading (100%)
- Installing phpunit/php-file-iterator (1.4.5): Downloading (100%)
- Installing sebastian/code-unit-reverse-lookup (1.0.1): Downloading (100%)
- Installing phpunit/php-code-coverage (4.0.8): Downloading (100%)
- Installing phpspec/prophecy (1.8.0): Downloading (100%)
- Installing myclabs/deep-copy (1.7.0): Downloading (100%)
- Installing phpunit/phpunit (5.7.27): Downloading (100%)
- Installing symfony/var-dumper (v3.4.17): Downloading (100%)
- Installing nikic/php-parser (v3.1.5): Downloading (100%)
- Installing jakub-onderka/php-console-highlighter (v0.3.2): Downloading (100%)
- Installing dnoegel/php-xdg-base-dir (0.1): Downloading (100%)
- Installing psy/psysh (v0.9.8): Downloading (100%)
cakephp/cakephp suggests installing lib-ICU (The intl PHP library, to use Text::transliterate() or Text::slug())
cakephp/authentication suggests installing ext-ldap (Make sure this php extension is installed and enabled on your system if you want to use the built-in LDAP adapter for "LdapIdentifier".)
symfony/console suggests installing psr/log-implementation (For using the console logger)
symfony/console suggests installing symfony/event-dispatcher
symfony/console suggests installing symfony/lock
symfony/console suggests installing symfony/process
commerceguys/addressing suggests installing symfony/form (to generate Symfony address forms)
commerceguys/addressing suggests installing symfony/intl (to use it as the source of country data)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage with AWS SDK v2)
league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage)
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)
league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-sftp (Allows you to use SFTP server storage via phpseclib)
league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage)
league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter)
league/flysystem suggests installing spatie/flysystem-dropbox (Allows you to use Dropbox storage)
league/flysystem suggests installing srmklive/flysystem-dropbox-v2 (Allows you to use Dropbox storage for PHP 5 applications)
m1/env suggests installing m1/vars (For loading of configs)
aws/aws-sdk-php suggests installing aws/aws-php-sns-message-validator (To validate incoming SNS notifications)
aws/aws-sdk-php suggests installing doctrine/cache (To use the DoctrineCacheAdapter)
aws/aws-sdk-php suggests installing ext-curl (To send requests using cURL)
symfony/validator suggests installing doctrine/annotations (For using the annotation mapping. You will also need doctrine/cache.)
symfony/validator suggests installing doctrine/cache (For using the default cached annotation reader and metadata cache.)
symfony/validator suggests installing egulias/email-validator (Strict (RFC compliant) email validation)
symfony/validator suggests installing symfony/expression-language (For using the 2.4 Expression validator)
symfony/validator suggests installing symfony/http-foundation
symfony/validator suggests installing symfony/intl
symfony/validator suggests installing symfony/property-access (For using the 2.4 Validator API)
cakephp/debug_kit suggests installing ext-sqlite (DebugKit needs to store panel data in a database. SQLite is simple and easy to use.)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit-mock-objects suggests installing ext-soap (*)
phpunit/php-code-coverage suggests installing ext-xdebug (^2.5.1)
phpunit/phpunit suggests installing ext-xdebug (*)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
symfony/var-dumper suggests installing ext-symfony_debug
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
psy/psysh suggests installing hoa/console (A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit.)
Generating autoload files
> Cake\Composer\Installer\PluginInstaller::postAutoloadDump
> App\Console\Installer::postInstall
Created `/home/brian/Zuluru3-3.1.1/logs` directory
Created `/home/brian/Zuluru3-3.1.1/tmp` directory
Created `/home/brian/Zuluru3-3.1.1/tmp/cache` directory
Created `/home/brian/Zuluru3-3.1.1/tmp/cache/models` directory
Created `/home/brian/Zuluru3-3.1.1/tmp/cache/persistent` directory
Created `/home/brian/Zuluru3-3.1.1/tmp/cache/views` directory
Created `/home/brian/Zuluru3-3.1.1/tmp/sessions` directory
Created `/home/brian/Zuluru3-3.1.1/tmp/tests` directory
Set Folder Permissions ? (Default to Y) [Y,n]? y
Permissions set on /home/brian/Zuluru3-3.1.1/tmp/cache
Permissions set on /home/brian/Zuluru3-3.1.1/tmp/cache/models
Permissions set on /home/brian/Zuluru3-3.1.1/tmp/cache/persistent
Permissions set on /home/brian/Zuluru3-3.1.1/tmp/cache/views
Permissions set on /home/brian/Zuluru3-3.1.1/tmp/sessions
Permissions set on /home/brian/Zuluru3-3.1.1/tmp/tests
Permissions set on /home/brian/Zuluru3-3.1.1/tmp
Permissions set on /home/brian/Zuluru3-3.1.1/logs
No Security.salt placeholder to replace.
Code: Select all
sudo bin/cake server --port 80 --host 0.0.0.0
PHP Notice: date_default_timezone_set(): Timezone ID '' is invalid in /home/brian/Zuluru3-3.1.1/config/bootstrap.php on line 117
Welcome to CakePHP v3.6.12 Console
---------------------------------------------------------------
App : src
Path: /home/brian/Zuluru3-3.1.1/src/
DocumentRoot: /home/brian/Zuluru3-3.1.1/webroot
Ini Path:
---------------------------------------------------------------
built-in server is running in http://0.0.0.0:80/
You can exit with `CTRL-C`
Code: Select all
[Sat Dec 29 11:55:07 2018] PHP Notice: date_default_timezone_set(): Timezone ID '' is invalid in /home/brian/Zuluru3-3.1.1/config/bootstrap.php on line 117
[Sat Dec 29 11:55:07 2018] PHP Fatal error: [Cake\Database\Exception\MissingDriverException] Database driver Cake\Database\Driver\ could not be found.
#0 /home/brian/Zuluru3-3.1.1/vendor/cakephp/cakephp/src/Database/Connection.php(120): Cake\Database\Connection->setDriver('Cake\\Database\\D...', Array)
#1 /home/brian/Zuluru3-3.1.1/vendor/cakephp/cakephp/src/Datasource/ConnectionRegistry.php(89): Cake\Database\Connection->__construct(Array)
#2 /home/brian/Zuluru3-3.1.1/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php(97): Cake\Datasource\ConnectionRegistry->_create('Cake\\Database\\C...', 'default', Array)
#3 /home/brian/Zuluru3-3.1.1/vendor/cakephp/cakephp/src/Datasource/ConnectionManager.php(205): Cake\Core\ObjectRegistry->load('default', Array)
#4 /home/brian/Zuluru3-3.1.1/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php(216): Cake\Datasource\ConnectionManager::get('default')
#5 /home/brian/Zuluru3-3.1.1/vendor/cakephp/cakephp/src/Http/Session/DatabaseSession.php(60): Cake\ORM\Locator\TableLocator->get('Sessions', Array)
#6 /home/brian/Zulur in /home/brian/Zuluru3-3.1.1/vendor/cakephp/cakephp/src/Error/ErrorHandler.php on line 180
[Sat Dec 29 11:55:07 2018] PHP Fatal error: [Cake\Database\Exception\MissingDriverException] Database driver Cake\Database\Driver\ could not be found.
#0 /home/brian/Zuluru3-3.1.1/vendor/cakephp/cakephp/src/Database/Connection.php(120): Cake\Database\Connection->setDriver('Cake\\Database\\D...', Array)
#1 /home/brian/Zuluru3-3.1.1/vendor/cakephp/cakephp/src/Datasource/ConnectionRegistry.php(89): Cake\Database\Connection->__construct(Array)
#2 /home/brian/Zuluru3-3.1.1/vendor/cakephp/cakephp/src/Core/ObjectRegistry.php(97): Cake\Datasource\ConnectionRegistry->_create('Cake\\Database\\C...', 'default', Array)
#3 /home/brian/Zuluru3-3.1.1/vendor/cakephp/cakephp/src/Datasource/ConnectionManager.php(205): Cake\Core\ObjectRegistry->load('default', Array)
#4 /home/brian/Zuluru3-3.1.1/vendor/cakephp/cakephp/src/ORM/Locator/TableLocator.php(216): Cake\Datasource\ConnectionManager::get('default')
#5 /home/brian/Zuluru3-3.1.1/vendor/cakephp/cakephp/src/Http/Session/DatabaseSession.php(60): Cake\ORM\Locator\TableLocator->get('Sessions', Array)
#6 /home/brian/Zulur in /home/brian/Zuluru3-3.1.1/vendor/cakephp/cakephp/src/Error/ErrorHandler.php on line 180
[Sat Dec 29 11:55:16 2018] PHP Notice: date_default_timezone_set(): Timezone ID '' is invalid in /home/brian/Zuluru3-3.1.1/config/bootstrap.php on line 117
[Sat Dec 29 11:55:16 2018] PHP Fatal error: Class 'Ajax\Middleware\AjaxMiddleware' not found in /home/brian/Zuluru3-3.1.1/src/Application.php on line 313
[Sat Dec 29 11:55:17 2018] 10.0.2.2:57017 [200]: /css/zuluru/layout.css?1545259236
[Sat Dec 29 11:55:17 2018] 10.0.2.2:57019 [200]: /css/zuluru/look.css?1545259236
[Sat Dec 29 11:55:17 2018] 10.0.2.2:57020 [200]: /css/pace/themes/pace-theme-minimal.css?1545259236
[Sat Dec 29 11:55:17 2018] 10.0.2.2:57022 [200]: /js/pace.min.js?1545259236
[Sat Dec 29 11:55:17 2018] 10.0.2.2:57026 [200]: /js/zuluru.js?1545259236
[Sat Dec 29 11:55:17 2018] 10.0.2.2:57029 [200]: /img/facebook.png?1545259236
[Sat Dec 29 11:55:17 2018] 10.0.2.2:57031 [200]: /favicon.ico?1545259236