Description of problem: Try to create magento quickstart with zend-6.1,but it failed. It will show "ERROR: PHP Extensions "pdo_mysql" must be loaded." Version-Release number of selected component (if applicable): always How reproducible: devenv_stage_779 devenv_4602 Steps to Reproduce: 1.rhc app create magento zend-6.1 mysql-5.1 --from-code=https://github.com/openshift/magento-example 2. 3. Actual results: $ rhc app create magento zend-6.1 mysql-5.1 --from-code=https://github.com/openshift/magento-example Application Options ------------------- Domain: quick Cartridges: zend-6.1, mysql-5.1 Source Code: https://github.com/openshift/magento-example Gear Size: default Scaling: no Creating application 'magento' ... The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 53390d6e36ffc597150001c2 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c0,c1002' /bin/sh -c \"gear postreceive --init >> /tmp/initial-build.log 2>&1\""' returned an error. rc=255 .Last 10 kB of build output: Stopping Zend Server daemon zsd is not running Stopping Zend Server JobQueue daemon jqd is not running Stopping Zend Server Deployment daemon zdd is not running Stopping Zend Server Java Bridge daemon java_daemon is not running Stopping Zend Server Console lighttpd is not running Stopping Apache httpd (no pid file) not running Stopping Zend Server Monitor node monitor is not running Stopping MySQL 5.1 cartridge Repairing links for 1 deployments Building git ref 'master', commit 3f87a0c Preparing build for deployment Deployment id is d90740bb Activating deployment Starting MySQL 5.1 cartridge Extracting sample data Poulating database Magento admin password: OpenShiftAdmin123 Configuring Magento for first use FAILED ERROR: PHP Extensions "pdo_mysql" must be loaded. ------------------------- Git Post-Receive Result: failure Activation status: failure Activation failed for the following gears: 53390d6e36ffc597150001c2 (Error activating gear: CLIENT_ERROR: Failed to execute action hook 'deploy' for 53390d6e36ffc597150001c2 application magento) Deployment completed with status: failure postreceive failed Expected results: Could create magento quickstart with zend-6.1 Additional info:
$ bash -x $OPENSHIFT_REPO_DIR/.openshift/action_hooks/deploy > php -f /var/lib/openshift/5339636c87cfc0c65e000032/app-root/runtime/repo/php/install.php -- --license_agreement_accepted yes --locale en_GB --timezone Europe/London --default_currency GBP --db_host 127.1.244.130:3306 --db_name magento --db_user adminpyI471P --db_pass 3X-B4Ah7-lYc --skip_url_validation --url http://magento-vvitek.dev.rhcloud.com --use_rewrites yes --use_secure yes --enable_charts --secure_base_url https://magento-vvitek.dev.rhcloud.com --use_secure_admin yes --admin_firstname Test --admin_lastname Magento --admin_email foo --admin_username admin --admin_password OpenShiftAdmin123 > > FAILED > ERROR: PHP Extensions "pdo_mysql" must be loaded.
https://github.com/openshift/li/pull/2545
Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/35c79a7474b74ddb6d77697c9e4f2a16db15dc7b Fix Zend Server 6.1 php-cli PHP_INI_SCAN_DIR - php-cli now loads the correct additional .ini files Bug 1082471 - https://bugzilla.redhat.com/show_bug.cgi?id=1082471
Verified on devenv_4613 Could not reprodude this issue. Can create magento quickstart with zend-6.1/mysql-5.1 and zend-6.1/mysql-5.5.And the apps url can access. $ rhc app create magento zend-6.1 mysql-5.1 --from-code=https://github.com/openshift/magento-example