# Support for PHP7

**URL:** <https://www.dolibarr.org/forum/t/support-for-php7/18816>\
**Category:** Installing my Dolibarr\
**Tags:** Linux, v11\
**Created:** [April 5, 2020, 9:28pm UTC](https://www.dolibarr.org/forum/t/support-for-php7/18816 "2020-04-05T21:28:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![rosede](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/cc9497/32.png) [@rosede](https://www.dolibarr.org/forum/u/rosede)\
**Post date:** [April 5, 2020, 9:28pm UTC](https://www.dolibarr.org/forum/t/support-for-php7/18816/1 "2020-04-05T21:28:30Z")

</div>

Are there any plans to support PHP7 on Linux? I’m using Ubuntu v19.10 and there are no options for PHP5.

Thanks

Daryl

---

<div class="post-metadata">

**Author:** ![rosede](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/cc9497/32.png) [@rosede](https://www.dolibarr.org/forum/u/rosede)\
**Post date:** [April 5, 2020, 9:59pm UTC](https://www.dolibarr.org/forum/t/support-for-php7/18816/2 "2020-04-05T21:59:43Z")

</div>

Okay. I finally find in the docs where php v7.4 is supported, however, when I attempt to install I get dependency errors:

> dpkg: dependency problems prevent configuration of dolibarr: dolibar depends on libapache2-mod-php5 | libapache2-mod-php5filter etc…

If php 7.4 is supported, then why am I getting dependency errors on php5?

Thank you.

Daryl

---

<div class="post-metadata">

**Author:** ![numbersix](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/numbersix/32/554_2.png) [@numbersix](https://www.dolibarr.org/forum/u/numbersix)\
**Post date:** [April 6, 2020, 8:34am UTC](https://www.dolibarr.org/forum/t/support-for-php7/18816/3 "2020-04-06T08:34:51Z")

</div>

Hi Daryl,

To my taste 🙂  
Use nginx (instead of apache - see nginx dolibarr conf with googling, it’s a joke to setup)  
Use PHP 7.x as you want (huge speed gain vs PHP 5.x)  
Download Dolibarr from sources (instead of “dpkg” a prebuilt package - dolibarr is really easy to install from a genuine zip…)

Our setup here (multiples instances) : Dolibarr 11.0.3 (important - or not, its depends on the goals/context), PHP 7.3 (important), Maria DB 10.0.38 (old - no matters) & Nginx 1.14.2 (old too - no matters)

---

<div class="post-metadata">

**Author:** ![ksar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ksar/32/514_2.png) [@ksar](https://www.dolibarr.org/forum/u/ksar)\
**Post date:** [April 6, 2020, 8:55am UTC](https://www.dolibarr.org/forum/t/support-for-php7/18816/4 "2020-04-06T08:55:54Z")

</div>

Hi,

Do not use the .deb  
Install it from zip

---

<div class="post-metadata">

**Author:** ![rosede](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/cc9497/32.png) [@rosede](https://www.dolibarr.org/forum/u/rosede)\
**Post date:** [April 8, 2020, 1:22am UTC](https://www.dolibarr.org/forum/t/support-for-php7/18816/5 "2020-04-08T01:22:40Z")

</div>

Thank you for the feedback. I finally got Dolibarr installed. I had to clean out MySQL, Apache, all of PHP and do a complete fresh install of everything. It took a bit, but I finally got it installed. However, I can’t log in.

What is the default user ID and password?

Thanks

Daryl

---

<div class="post-metadata">

**Author:** ![rosede](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/cc9497/32.png) [@rosede](https://www.dolibarr.org/forum/u/rosede)\
**Post date:** [April 9, 2020, 1:45pm UTC](https://www.dolibarr.org/forum/t/support-for-php7/18816/6 "2020-04-09T13:45:36Z")

</div>

So it appears that I didn’t get Dolibarr installed as I initally thought. I know that it appeared to hang during the install. Something about conducting a ping, don’t remember for sure. I did a fresh of my session, and got a login screen. so I thought that I was able to install. However, after a reboot of my system, I was right back at square one. Dolibarr saw that something had been installed and was prompting me to do an upgrade, or a fresh re-install. I attempted to re-install, but again, right back to having issues.

I get "504 Gateway Timeout error’. Wiped out the database, and tried to re-install, however, I’m still not able to get a full install. Again it hangs, and I get “504 Gateway Timeout error”.

Any other thoughts?

Thanks

Daryl

---

<div class="post-metadata">

**Author:** ![rosede](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/cc9497/32.png) [@rosede](https://www.dolibarr.org/forum/u/rosede)\
**Post date:** [April 10, 2020, 12:25am UTC](https://www.dolibarr.org/forum/t/support-for-php7/18816/7 "2020-04-10T00:25:30Z")

</div>

Sorry, but I just could not get the Dolibarr installed via the zip file. I finally switched back to Apache and installing via the Debian package. I did have to create the database and user by hand as I was never able to get the installer to create them. I now have a full functioning Dolibarr installation. I’ll work with it and hopefully it will fulfill my needs.

Thank you.

Daryl

---

<div class="post-metadata">

**Author:** ![RiseValInfotech](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@RiseValInfotech](https://www.dolibarr.org/forum/u/RiseValInfotech)\
**Post date:** [January 6, 2022, 6:15pm UTC](https://www.dolibarr.org/forum/t/support-for-php7/18816/8 "2022-01-06T18:15:26Z")

</div>

Hi Ksar,

How are you…

I am trying to install dolibarr 14.0.5 on cPanel based Ubuntu + Apache2 + MySQL + PHP 7.4.27

unfortunately, I am getting an error : No input file specified.

I tried many times with all redirections in .htaccess or .conf files of apache but no luck.

Appreciate any help / guidance please.

thanks  
yesbee

---

<div class="post-metadata">

**Author:** ![RiseValInfotech](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/r/41988e/32.png) [@RiseValInfotech](https://www.dolibarr.org/forum/u/RiseValInfotech)\
**Post date:** [March 10, 2022, 1:58pm UTC](https://www.dolibarr.org/forum/t/support-for-php7/18816/9 "2022-03-10T13:58:26Z")

</div>

This is resolved by installing apache libraries.
