# Dreamfactory 2.1.1-2 post installation error running /opt/dreamfactory-2.1.1-2/php/bin/php -q

**URL:** <https://community.dreamfactory.com/t/dreamfactory-2-1-1-2-post-installation-error-running-opt-dreamfactory-2-1-1-2-php-bin-php-q/2562>\
**Category:** GitHub Installers\
**Created:** [April 21, 2016, 6:54am UTC](https://community.dreamfactory.com/t/dreamfactory-2-1-1-2-post-installation-error-running-opt-dreamfactory-2-1-1-2-php-bin-php-q/2562 "2016-04-21T06:54:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naveen\_Kumar](https://avatars.discourse-cdn.com/v4/letter/n/f0a364/32.png) [@Naveen\_Kumar](https://community.dreamfactory.com/u/Naveen_Kumar)\
**Post date:** [April 21, 2016, 6:54am UTC](https://community.dreamfactory.com/t/dreamfactory-2-1-1-2-post-installation-error-running-opt-dreamfactory-2-1-1-2-php-bin-php-q/2562/1 "2016-04-21T06:54:29Z")

</div>

i am trying to install dreamfactory 2.1.1-2 in centos 7 core but i am getting Error as below…

Warning: Problem running post-install step. Installation may not complete  
correctly  
Error running /opt/dreamfactory-2.1.1-2/php/bin/php -q  
"/opt/dreamfactory-2.1.1-2/apps/dreamfactory/htdocs/artisan" migrate: child  
process exited abnormally…

i tried to start the dreamfactory setup by  
 php artisan cache:clear php artisan dreamfactory:setup

but getting a mysql error…

SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

i started mysql and apache by using ./ctlscript.sh start apache and ./ctlscript.sh start mysql  
but when i run the setup command am getting the above error…

please help to solve this issue…
