# NextCloud 15.0.2 install on freeBSD12 / lighttpd /PHP7.3

**URL:** <https://help.nextcloud.com/t/nextcloud-15-0-2-install-on-freebsd12-lighttpd-php7-3/47806>\
**Category:** ℹ️ Support\
**Tags:** freebsd, php73\
**Created:** [February 18, 2019, 12:13pm UTC](https://help.nextcloud.com/t/nextcloud-15-0-2-install-on-freebsd12-lighttpd-php7-3/47806 "2019-02-18T12:13:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dim](https://help.nextcloud.com/letter_avatar/dim/32/6_449c533f586939b6e5f246632a46421f.png) [@dim](https://help.nextcloud.com/u/dim)\
**Post date:** [February 18, 2019, 12:13pm UTC](https://help.nextcloud.com/t/nextcloud-15-0-2-install-on-freebsd12-lighttpd-php7-3/47806/1 "2019-02-18T12:13:41Z")

</div>

I’m writing this here to help future users trying to install in a configuration similar as mine, and eventually to notify nextcloud devs that the setup-nextcloud.php script could probably be improved.

In order to make it work, I had to tinker a bit with the environment. First, despite the dependency checks made by setup-nextcloud, there were a few php modules missing that went unnoticed, but that made the install fail:

php73-xml  
php73-xmlreader  
php73-session  
php73-filter  
php73-pdo\_mysql

(The session and filter modules, in particular, aren’t checked, aren’t mentioned anywhere, but are necessary - I guess they come standard in linux distributions, but they are optional in freebsd).

(for completeness, here is what “php -m” spits out on my config):  
Core  
ctype  
curl  
date  
dom  
filter  
gd  
hash  
iconv  
json  
libxml  
mbstring  
mysqli  
mysqlnd  
openssl  
pcre  
PDO  
pdo\_mysql  
Reflection  
session  
SimpleXML  
SPL  
standard  
xml  
xmlreader  
xmlwriter  
zip  
zlib

I laso had to manually create the nextcloud/data folder. I don’t know why.

Lastly, at some point, I renamed both the “www” user and group to “www-data”, but I don’t think this was actually necessary. I tried that as an attempt to make nextcould create the data folder properly.

Now it seems to work

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [September 23, 2024, 5:18pm UTC](https://help.nextcloud.com/t/nextcloud-15-0-2-install-on-freebsd12-lighttpd-php7-3/47806/2 "2024-09-23T17:18:15Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 11, 2024, 2:28pm UTC](https://help.nextcloud.com/t/nextcloud-15-0-2-install-on-freebsd12-lighttpd-php7-3/47806/3 "2024-12-11T14:28:25Z")

</div>


