[ZendTo] Browser downloads file instead of showing Zendto web page

Jose M. Sanchez nresults at comcast.net
Thu Aug 15 19:41:48 BST 2024


Thanks for your continued responses.

Unfortunately that wasn’t it.

libapach2-mode-php8.2 was already installed by the script.

I tried manually installing php8.2-fpm as well which resulted in:

Creating config file /etc/php/8.2/fpm/php.ini with new version
NOTICE: Not enabling PHP 8.2 FPM by default.
NOTICE: To enable PHP 8.2 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.2-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Created symlink /etc/systemd/system/multi-user.target.wants/php8.2-fpm.service → /lib/systemd/system/php8.2-fpm.service.
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for php8.2-fpm (8.2.20-1~deb12u1) ...
NOTICE: Not enabling PHP 8.2 FPM by default.
NOTICE: To enable PHP 8.2 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.2-fpm
NOTICE: You are seeing this message because you have apache2 package installed.


I did do the a2enmod commands and verified that php8.2-fpm service is running however I am still getting the download of the (php) file instead of seeing the web page.

Any other ideas?

Thanks.

Sent from Mail for Windows

From: Adam Thorn via ZendTo
Sent: Thursday, August 15, 2024 1:44 PM
To: zendto at zend.to
Cc: Adam Thorn
Subject: Re: [ZendTo] New install browser downloads file instead ofshowingZendto page

On 15/08/2024 18:22, Adam Thorn via ZendTo wrote:
> On 14/08/2024 07:56, Jose M. Sanchez wrote:
>> Thank you for responding. Here is some additional information.
>>
>> I am running Debian 12 bookworm.
>> ....
>> Package php8.2-json is a virtual package provided by:
>>
>>    php8.2-phpdbg 8.2.20-1~deb12u1
>>
>>    php8.2-fpm 8.2.20-1~deb12u1
>>
>>    php8.2-cli 8.2.20-1~deb12u1
>>
>>    php8.2-cgi 8.2.20-1~deb12u1
>>
>>    libphp8.2-embed 8.2.20-1~deb12u1
>>
>>    libapache2-mod-php8.2 8.2.20-1~deb12u1
> 
> That looks to me like you you have ended up without the apache php 
> module, which would definitely explain the behaviour you're seeing.
> 
> Try: apt-get install libapach2-mode-php8.2
Sorry, hopefully the typo there was obvious but that should have been:

apt-get install libapache2-mod-php8.2

Adam

_______________________________________________
ZendTo mailing list
ZendTo at zend.to
http://jul.es/mailman/listinfo/zendto

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20240815/dbf2ed9f/attachment.html>


More information about the ZendTo mailing list