# Unable to install Cockpit: PHP Fatal error: require(): Failed opening required

**URL:** <https://discourse.getcockpit.com/t/unable-to-install-cockpit-php-fatal-error-require-failed-opening-required/382>\
**Category:** Support\
**Created:** [November 4, 2018, 12:54am UTC](https://discourse.getcockpit.com/t/unable-to-install-cockpit-php-fatal-error-require-failed-opening-required/382 "2018-11-04T00:54:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joejac](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/joejac/32/150_2.png) [@joejac](https://discourse.getcockpit.com/u/joejac)\
**Post date:** [November 4, 2018, 12:54am UTC](https://discourse.getcockpit.com/t/unable-to-install-cockpit-php-fatal-error-require-failed-opening-required/382/1 "2018-11-04T00:54:00Z")

</div>

Hello to all,

I am trying to install Cockpit, I plan to use it with SQLite, I unzipped the installation, I placed in the same subdirectory and I got this error in the apache error.log

```
  PHP Fatal error: require(): Failed opening required '/var/www/mydomain.com/public_html/cockpit-master/lib/vendor/composer/../mongodb/mongodb/src/functions.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/mydomain.com/public_html/cockpit-master/lib/vendor/composer/autoload_real.php on line 66

```

The browser only shows:  
HTTP ERROR 500

These are my PHP Modules:  
php71u-cli.i686  
php71u-common.i686  
php71u-gd.i686  
php71u-intl.i686  
php71u-json.i686  
php71u-mbstring.i686  
php71u-mcrypt.i686  
php71u-opcache.i686  
php71u-pdo.i686  
php71u-pecl-apcu.i686  
php71u-process.i686  
php71u-xml.i686

I checked mod\_rewrite is enabled  
 ![conf](https://canada1.discourse-cdn.com/flex030/uploads/getcockpit/original/1X/0c12e9d94b91ca6e492d35704edab8f542e9c7e7.png)

Sorry for the image, your support system does not allow me to post that information.

Any help is appreciated  
Thanks and regards

---

<div class="post-metadata">

**Author:** ![artur](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/artur/32/4_2.png) [@artur](https://discourse.getcockpit.com/u/artur)\
**Post date:** [November 4, 2018, 10:20am UTC](https://discourse.getcockpit.com/t/unable-to-install-cockpit-php-fatal-error-require-failed-opening-required/382/2 "2018-11-04T10:20:33Z")

</div>

> [@joejac](#):
>
> PHP Fatal error: require(): Failed opening required '/var/www/mydomain.com/public\_html/cockpit-master/lib/vendor/composer/…/mongodb/mongodb/src/functions.

Could be a file permission issue 🤔

---

<div class="post-metadata">

**Author:** ![joejac](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/joejac/32/150_2.png) [@joejac](https://discourse.getcockpit.com/u/joejac)\
**Post date:** [November 7, 2018, 6:04pm UTC](https://discourse.getcockpit.com/t/unable-to-install-cockpit-php-fatal-error-require-failed-opening-required/382/3 "2018-11-07T18:04:07Z")

</div>

Thanks a lot Artur,  
1.- I deleted the hosting account and recreated again, paying attention to permissions and ownership and it worked! 😃  
2.- I like Cockpit concept, and I would like to use Paulo implementation with React Static, it looks very nice:

> **[pauloamgomes/CockpitCMS-React-Static](https://github.com/pauloamgomes/CockpitCMS-React-Static)**
>
> Example implementation using a combination of Cockpit Headless CMS and React Static - pauloamgomes/CockpitCMS-React-Static

  
I was able to install node.js but not Docker, my problem is that I am using a Centos 6 VPS with 32 bits i686 architecture. I looked for tutorials but they are outdated, the installation fails with current packages.

2.1 Does anybody knows a tutorial on installing and running Docker in 32 bits VPS that works nowadays??

Thanks and Regards
