Closed testt23 closed 5 years ago
Whats you php version on cli?
PHP 7.0 is required for certain components, if you like to disable the platform check maybe try composer create-project luyadev/luya-kickstarter:~1.0.0 --ignore-platform-reqs
I changed it from 5.6 to 7.0. version and now shows the following error
To enable extensions, verify that they are enabled in your .ini files:
- /opt/cpanel/ea-php70/root/etc/php.ini
- /opt/cpanel/ea-php70/root/etc/php.d/20-ctype.ini
- /opt/cpanel/ea-php70/root/etc/php.d/20-dom.ini
- /opt/cpanel/ea-php70/root/etc/php.d/20-ftp.ini
- /opt/cpanel/ea-php70/root/etc/php.d/20-json.ini
- /opt/cpanel/ea-php70/root/etc/php.d/20-phar.ini
- /opt/cpanel/ea-php70/root/etc/php.d/20-posix.ini
- /opt/cpanel/ea-php70/root/etc/php.d/20-simplexml.ini
- /opt/cpanel/ea-php70/root/etc/php.d/20-tokenizer.ini
- /opt/cpanel/ea-php70/root/etc/php.d/20-xml.ini
- /opt/cpanel/ea-php70/root/etc/php.d/20-xmlwriter.ini
- /opt/cpanel/ea-php70/root/etc/php.d/20-xsl.ini
- /opt/cpanel/ea-php70/root/etc/php.d/30-wddx.ini
- /opt/cpanel/ea-php70/root/etc/php.d/30-xmlreader.ini
- /opt/cpanel/ea-php70/root/etc/php.d/zzzzzzz-pecl.ini You can also run
php --ini
inside terminal to see which files are used by PHP in CLI mode.
Where do you get this error then? This does not look like a problem related to LUYA
When performing the following installation command: composer create-project luyadev / luya-kickstarter: ~ 1.0.0
the putty is the top error, and php modules are actually enabled. The server has cPanel installed.
But now I will try with your suggestion: composer create-project luyadev/luya-kickstarter:~1.0.0 --ignore-platform-reqs
What if you try composer create-project luyadev/luya-kickstarter:~1.0.0 --ignore-platform-reqs
as suggested above? Could you please post the whole composer message regarind To enable extensions, verify that they are enabled in your .ini files:
@nadar , тthis code is working: composer create-project luyadev/luya-kickstarter:~1.0.0 --ignore-platform-reqs I have installed luya, but now I show this error:
xxxxxcom@xxxxxcom [~/luya-kickstarter]# ./vendor/bin/luya migrate Yii Migration Tool (based on Yii v2.0.15.1)
PHP Fatal Error 'yii\base\ErrorException' with message 'Class 'PDO' not found'
in /home/xxxxxcom/luya-kickstarter/vendor/yiisoft/yii2/di/Container.php:383
Stack trace:
0 [internal function]: yii\base\ErrorHandler->handleFatalError()
1 {main}
xxxxxcom @xxxxxcom [~/luya-kickstarter]#
You should configure your PHP properly, make sure all the required extensions (like pdo) are installed.
After add this command " composer create-project luyadev/lu ya-kickstarter:~1.0.0 " on linux terminal and... visual this error: