Getting started with MyBB 1.9 development - Composer
Today Can Install MyBB 1.9 Development
In General you must have basic knowledge of composer and ssh to can install a development copy of mybb 1.9

Installation summary
1. download and install composer to you server
2. download the MyBB 1.9 branch Github
3. Do the installation steps of MyBB.
4. in terminal SSH you must run: composer install
5. MyBB 1.9 Develompent Test OnLine Now can see the forums, Example Thread OnLine

Note: for that installation you must have performace you server! for example:
1. PHP version 7.0 or newer
2. Install composer on you server
3. allow_url_fopen must be enabled in php.ini.  That its important becuase when composer start to install MyBB dependencies the allow_url_fopen must be enabled

[Image: cpanel22.png]

Video MyBB 1.9 development install

Personal Notes:
for many people maybe the SSH and the Composer and the edit .ini setting to be enabled the allow_url_fopen must be a problem. 
well, it's just my opinion!

Question About Composer:
1. When install mybb 1.9, it was Not enabled the allow_url_fope.
2. setting the correct to enable to allow_url_fope via MultiPHP INI Editor
3. Try to Install Again the MyBB 1.9 via Composer install but display error of composer.lock, not remember the message, its like: 
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them

4. try composer update but cannot, maybe bacuase the composer check that it is already installed... and ¿how can update that files? for example:
Quote:Package operations: 59 installs, 0 updates, 0 removals
- Installing symfony/polyfill-mbstring (v1.7.0): Downloading (failed)
- Installing nesbot/carbon (1.25.0): Cloning cbcf13da0b from cache
- Installing psr/simple-cache (1.0.1): Downloading (failed)
- Installing illuminate/contracts (v5.6.12): Cloning 00a8296c63 from cache
- Installing doctrine/inflector (v1.3.0): Downloading (failed)  
- ... etc

Resume of my Terminal
Quote:[[email protected]]$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file  
- Installing doctrine/inflector (v1.3.0): Cloning 5527a48b73 from cache
- Installing illuminate/container (v5.6.12): Cloning 4a42d667a0 from cache
- Installing illuminate/events (v5.6.12): Cloning b6e73ed404 from cache
- Installing symfony/routing (v4.0.6): Cloning 9c6268c197 from cache
- Installing symfony/http-foundation (v4.0.6): Cloning 6c181e81a3 from cache
- Installing illuminate/session (v5.6.12): Cloning 90bb5857fb from cache
- Installing illuminate/routing (v5.6.12): Cloning 716d1a29ef from cache
- Installing twig/twig (v2.4.7): Downloading (failed)  
- Installing squizlabs/php_codesniffer (3.2.3):
Cloning 4842476c43 from cache
symfony/translation suggests installing symfony/config ()
illuminate/filesystem suggests installing league/flysystem (Required to use the Flysystem local and FTP drivers (~1.0).)
illuminate/filesystem suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver (~1.0).)
illuminate/filesystem suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).)
illuminate/filesystem suggests installing league/flysystem-sftp (Required to use the Flysystem SFTP driver (~1.0).)
illuminate/session suggests installing illuminate/console....

Messages In This Thread
RE: Getting started with MyBB 1.9 development - Composer - by DiegoPino - 2018-06-18, 01:54 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)