<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"var\(--ff-mono\)";}
@font-face
{font-family:inherit;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>More info</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>At this point I have the <a href="https://servername">https://servername</a> working properly and I do see the Zendto Page (YEAH) after I followed instructions on another site to install the following</p><p class=MsoNormal><o:p> </o:p></p><div><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0in'>sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql<o:p></o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0in'><o:p> </o:p></span></code></pre><pre style='vertical-align:baseline'><code><span style='font-family:"inherit",serif;color:#0C0D0E;border:none windowtext 1.0pt;padding:0in'>And restarting Apache2</span></code><span style='font-family:"var(--ff-mono)",serif;color:#0C0D0E'><o:p></o:p></span></pre></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>However <a href="http://servername">http://servername</a> still results in the download file so the redirection is now the issue.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any idea on how to fix this?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:zendto@zend.to">Jose M. Sanchez via ZendTo</a><br><b>Sent: </b>Thursday, August 15, 2024 2:42 PM<br><b>To: </b><a href="mailto:zendto@zend.to">ZendTo Users</a><br><b>Cc: </b><a href="mailto:nresults@comcast.net">Jose M. Sanchez</a><br><b>Subject: </b>Re: [ZendTo] Browser downloads file instead of showing Zendto webpage</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks for your continued responses.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Unfortunately that wasn’t it.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>libapach2-mode-php8.2 was already installed by the script.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in'><p class=MsoNormal>I tried manually installing php8.2-fpm as well which resulted in:<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Creating config file /etc/php/8.2/fpm/php.ini with new version<o:p></o:p></p><p class=MsoNormal>NOTICE: Not enabling PHP 8.2 FPM by default.<o:p></o:p></p><p class=MsoNormal>NOTICE: To enable PHP 8.2 FPM in Apache2 do:<o:p></o:p></p><p class=MsoNormal>NOTICE: a2enmod proxy_fcgi setenvif<o:p></o:p></p><p class=MsoNormal>NOTICE: a2enconf php8.2-fpm<o:p></o:p></p><p class=MsoNormal>NOTICE: You are seeing this message because you have apache2 package installed.<o:p></o:p></p><p class=MsoNormal>Created symlink /etc/systemd/system/multi-user.target.wants/php8.2-fpm.service → /lib/systemd/system/php8.2-fpm.service.<o:p></o:p></p><p class=MsoNormal>Processing triggers for man-db (2.11.2-2) ...<o:p></o:p></p><p class=MsoNormal>Processing triggers for php8.2-fpm (8.2.20-1~deb12u1) ...<o:p></o:p></p><p class=MsoNormal>NOTICE: Not enabling PHP 8.2 FPM by default.<o:p></o:p></p><p class=MsoNormal>NOTICE: To enable PHP 8.2 FPM in Apache2 do:<o:p></o:p></p><p class=MsoNormal>NOTICE: a2enmod proxy_fcgi setenvif<o:p></o:p></p><p class=MsoNormal>NOTICE: a2enconf php8.2-fpm<o:p></o:p></p><p class=MsoNormal>NOTICE: You are seeing this message because you have apache2 package installed.<o:p></o:p></p><div style='border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in'><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any other ideas?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Sent from <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> for Windows<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From: </b><a href="mailto:zendto@zend.to">Adam Thorn via ZendTo</a><br><b>Sent: </b>Thursday, August 15, 2024 1:44 PM<br><b>To: </b><a href="mailto:zendto@zend.to">zendto@zend.to</a><br><b>Cc: </b><a href="mailto:alt36@cam.ac.uk">Adam Thorn</a><br><b>Subject: </b>Re: [ZendTo] New install browser downloads file instead ofshowingZendto page<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>On 15/08/2024 18:22, Adam Thorn via ZendTo wrote:<o:p></o:p></p><p class=MsoNormal>> On 14/08/2024 07:56, Jose M. Sanchez wrote:<o:p></o:p></p><p class=MsoNormal>>> Thank you for responding. Here is some additional information.<o:p></o:p></p><p class=MsoNormal>>><o:p> </o:p></p><p class=MsoNormal>>> I am running Debian 12 bookworm.<o:p></o:p></p><p class=MsoNormal>>> ....<o:p></o:p></p><p class=MsoNormal>>> Package php8.2-json is a virtual package provided by:<o:p></o:p></p><p class=MsoNormal>>><o:p> </o:p></p><p class=MsoNormal>>> php8.2-phpdbg 8.2.20-1~deb12u1<o:p></o:p></p><p class=MsoNormal>>><o:p> </o:p></p><p class=MsoNormal>>> php8.2-fpm 8.2.20-1~deb12u1<o:p></o:p></p><p class=MsoNormal>>><o:p> </o:p></p><p class=MsoNormal>>> php8.2-cli 8.2.20-1~deb12u1<o:p></o:p></p><p class=MsoNormal>>><o:p> </o:p></p><p class=MsoNormal>>> php8.2-cgi 8.2.20-1~deb12u1<o:p></o:p></p><p class=MsoNormal>>><o:p> </o:p></p><p class=MsoNormal>>> libphp8.2-embed 8.2.20-1~deb12u1<o:p></o:p></p><p class=MsoNormal>>><o:p> </o:p></p><p class=MsoNormal>>> libapache2-mod-php8.2 8.2.20-1~deb12u1<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> That looks to me like you you have ended up without the apache php <o:p></o:p></p><p class=MsoNormal>> module, which would definitely explain the behaviour you're seeing.<o:p></o:p></p><p class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal>> Try: apt-get install libapach2-mode-php8.2<o:p></o:p></p><p class=MsoNormal>Sorry, hopefully the typo there was obvious but that should have been:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>apt-get install libapache2-mod-php8.2<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Adam<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>_______________________________________________<o:p></o:p></p><p class=MsoNormal>ZendTo mailing list<o:p></o:p></p><p class=MsoNormal>ZendTo@zend.to<o:p></o:p></p><p class=MsoNormal>http://jul.es/mailman/listinfo/zendto<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>