# Lighttpd, php, python and dietpi

**URL:** https://dietpi.com/forum/t/lighttpd-php-python-and-dietpi/13375
**Category:** General Discussion
**Created:** [9 June 2022 17:01 UTC](https://dietpi.com/forum/t/lighttpd-php-python-and-dietpi/13375 "2022-06-09T17:01:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![proj964](https://dietpi.com/forum/user_avatar/dietpi.com/proj964/32/2033_2.png) [@proj964](https://dietpi.com/forum/u/proj964)
#### Post date: [9 June 2022 17:01 UTC](https://dietpi.com/forum/t/lighttpd-php-python-and-dietpi/13375/1 "2022-06-09T17:01:46Z")

</div>

well this is sort of a question/comment/request–  
i used dietpi-software to install “lighttpd”  
I got lighttpd  
and php7 (which I didn’t ask for and is fairly large)  
and perl (which I didn’t ask for)

what I didn’t get and expected, since python was already installed, was that the  
lighttpd configuration would integrated python.

I know dietpi is supposed to be lightweight and easy to use. i think, in the case,  
that it didn’t quite workout that way… I wouldn’t mind a few upfront configuration  
questions so that the end result is what I needed.

however, others may have a sightly different take???  
jon

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [9 June 2022 17:29 UTC](https://dietpi.com/forum/t/lighttpd-php-python-and-dietpi/13375/2 "2022-06-09T17:29:17Z")

</div>

> [@proj964](#):
>
> I got lighttpd  
> and php7 (which I didn’t ask for and is fairly large)

Yes correct. We automatically install PHP as it is required by majority of web apps and users. However there is a feature request open to change this behavior [DietPi-Software | Allow installing webservers without PHP · MichaIng/DietPi · Discussion #5043 · GitHub](https://github.com/MichaIng/DietPi/discussions/5043)

> [@proj964](#):
>
> and perl (which I didn’t ask for)

Perl as well is installed together with `lighttpd` package as it is a recommendation to have it installed together [Debian -- Details of package lighttpd in bullseye](https://packages.debian.org/bullseye/lighttpd)

> [@proj964](#):
>
> what I didn’t get and expected, since python was already installed, was that the  
> lighttpd configuration would integrated python

Python is an own separate package and not configured on a web server installation.
