<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">we decided to go back to php7.4 and now it works. Thanks for your help!</div><div class=""><br class=""></div><div class="">Best, Simon</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 16.02.2021 um 06:55 schrieb Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk" class="">a.hardie@lancaster.ac.uk</a>&gt;:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Verdana, sans-serif; color: rgb(31, 73, 125);" class="">The present required PHP version is 7.3. It will be bumped to 8.0 as soon as I can justify doing so, probably shortly after the time that PHP 7<span class="Apple-converted-space">&nbsp;</span><a href="https://www.php.net/supported-versions.php" style="color: blue; text-decoration: underline;" class="">reaches end of active support</a>. I won’t use any of the<span class="Apple-converted-space">&nbsp;</span><span style="font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-caps: small-caps; font-variant-alternates: normal; font-variant-position: normal; font-variant-east-asian: normal;" class=""><a href="https://stitcher.io/blog/new-in-php-74" style="color: blue; text-decoration: underline;" class="">PHP 7.4<span class="Apple-converted-space">&nbsp;</span><span style="font-variant-ligatures: normal !important; font-variant-caps: normal !important; font-variant-east-asian: normal !important; font-variant-position: normal !important;" class="">new</span><span class="Apple-converted-space">&nbsp;</span><span style="font-variant-ligatures: normal !important; font-variant-caps: normal !important; font-variant-east-asian: normal !important; font-variant-position: normal !important;" class="">features</span></a></span><span class="Apple-converted-space">&nbsp;</span>until<span class="Apple-converted-space">&nbsp;</span><a href="https://stitcher.io/blog/new-in-php-8" style="color: blue; text-decoration: underline;" class="">PHP 8</a><span class="Apple-converted-space">&nbsp;</span>is required (even though I am already in pain from the need to avoid some PHP8 features e.g. union types for function returns!). And the 3.2 branch will probably never use any &gt;7.3 features.<o:p class=""></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Verdana, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class="">&nbsp;</o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Verdana, sans-serif; color: rgb(31, 73, 125);" class="">Further to Peter’s point on a2enmod, in some systems the apache config file (or one such file) will set a “handler” &nbsp;for .php files, such a directive being misconfigured or ignored might be your problem…<o:p class=""></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Verdana, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class="">&nbsp;</o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Verdana, sans-serif; color: rgb(31, 73, 125);" class="">best<o:p class=""></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Verdana, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class="">&nbsp;</o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Verdana, sans-serif; color: rgb(31, 73, 125);" class="">Andrew.<o:p class=""></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Verdana, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class="">&nbsp;</o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 10pt; font-family: Verdana, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class="">&nbsp;</o:p></span></div><div class=""><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0cm 0cm;" class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b class=""><span lang="EN-US" class="">From:</span></b><span lang="EN-US" class=""><span class="Apple-converted-space">&nbsp;</span><a href="mailto:cwb-bounces@sslmit.unibo.it" class="">cwb-bounces@sslmit.unibo.it</a> &lt;<a href="mailto:cwb-bounces@sslmit.unibo.it" class="">cwb-bounces@sslmit.unibo.it</a>&gt;<span class="Apple-converted-space">&nbsp;</span><b class="">On Behalf Of<span class="Apple-converted-space">&nbsp;</span></b>Simon Meier-Vieracker<br class=""><b class="">Sent:</b><span class="Apple-converted-space">&nbsp;</span>15 February 2021 12:25<br class=""><b class="">To:</b><span class="Apple-converted-space">&nbsp;</span>Open source development of the Corpus WorkBench &lt;<a href="mailto:cwb@sslmit.unibo.it" class="">cwb@sslmit.unibo.it</a>&gt;<br class=""><b class="">Subject:</b><span class="Apple-converted-space">&nbsp;</span>Re: [CWB] CQPweb: php error<o:p class=""></o:p></span></div></div></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class="">&nbsp;</o:p></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hi Andrew,<span class="Apple-converted-space">&nbsp;</span><o:p class=""></o:p></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class="">&nbsp;</o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">thanks!<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class="">&nbsp;</o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">How can I check which CQPweb version I have installed in order to know the required PHP version? I think I do not need 8.0 but I want to be sure.<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class="">&nbsp;</o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Even if my problem is outside of the responsibilities of this mailing list: If there is anyone familiar with problems concerning PHP in Apache, any help would be appreciated…<o:p class=""></o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class="">&nbsp;</o:p></div></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Best, Simon<o:p class=""></o:p></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><br class=""><br class=""><o:p class=""></o:p></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class=""><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Am 15.02.2021 um 12:24 schrieb Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk" style="color: blue; text-decoration: underline;" class="">a.hardie@lancaster.ac.uk</a>&gt;:<o:p class=""></o:p></div></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class="">&nbsp;</o:p></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">Hi Simon,<br class=""><br class="">It sounds like your web server is not processing the PHP scripts are PHP but is instead serving them up as plain text. This is a web server configuration problem not a CQPweb problem I'm afraid.<span class="apple-converted-space">&nbsp;</span><br class=""><br class="">If you're on Apache, the issue may be that mod_php is not enabled. On other webservers, there will be similar things.<br class=""><br class="">best<br class=""><br class="">Andrew<br class=""><br class="">-----Original Message-----<br class="">From:<span class="apple-converted-space">&nbsp;</span></span><a href="mailto:cwb-bounces@sslmit.unibo.it" style="color: blue; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">cwb-bounces@sslmit.unibo.it</span></a><span class="apple-converted-space"><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">&nbsp;</span></span><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">&lt;</span><a href="mailto:cwb-bounces@sslmit.unibo.it" style="color: blue; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">cwb-bounces@sslmit.unibo.it</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">&gt; On Behalf Of Simon Meier-Vieracker<br class="">Sent: 15 February 2021 07:33<br class="">To: Open source development of the Corpus WorkBench &lt;</span><a href="mailto:cwb@sslmit.unibo.it" style="color: blue; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">cwb@sslmit.unibo.it</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">&gt;<br class="">Subject: Re: [CWB] CQPweb: php error<br class=""><br class=""><br class="">Some more information:<br class=""><br class="">PHP 8.0.2<br class="">Server version: Apache/2.4.25 (Debian)<br class=""><br class="">I checked the required extensions in the Admin Manual and found that "Extension 'intl' not present."<br class=""><br class="">But I guess that the problem is more basic, since it does not execute the very simple command "&lt;?php require('lib/mainhome.php');"<br class=""><br class="">Best, Simon<br class=""><br class=""><br style="caret-color: rgb(0, 0, 0); font-variant-caps: normal; text-align: start; -webkit-text-stroke-width: 0px; word-spacing: 0px;" class=""><br class=""></span><o:p class=""></o:p></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">Am 14.02.2021 um 10:18 schrieb Simon Meier-Vieracker &lt;<a href="mailto:simon.meier-vieracker@tu-dresden.de" style="color: blue; text-decoration: underline;" class="">simon.meier-vieracker@tu-dresden.de</a>&gt;:<br class=""><br class="">Hi,<br class=""><br class="">since today, I get the following error when I try to call CQPweb on my server<span class="apple-converted-space">&nbsp;</span><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fali.gsw.tu-dresden.de%2F&amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C7bbfbe51586244347f0608d8d1acbaae%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489887128786054%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=ZDtv4vrYTrtkuk0n8tyzs8MKImChFkwXjEDwkxLupHY%3D&amp;reserved=0" style="color: blue; text-decoration: underline;" class="">https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fali.gsw.tu-dresden.de%2F&amp;amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C5e469cc667d347fe67d608d8d184139b%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489712530551010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=rE%2FqcvUB59QzuZQ6oG1JCPZ2ckrcpWSI%2FKIlfvcJV4g%3D&amp;amp;reserved=0</a><br class=""><br class=""><br class=""><o:p class=""></o:p></span></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">&lt;?php require('lib/mainhome.php');<o:p class=""></o:p></span></div></blockquote><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class="">Same thing on other pages:<br class=""><br class=""><br class=""><o:p class=""></o:p></span></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;" class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">&lt;?php require ('../lib/adminhome.php');<o:p class=""></o:p></span></div></blockquote><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class="">The server is running, I can call pages outside of CQPweb (e.g.<span class="apple-converted-space">&nbsp;</span><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fali.gsw.tu-dresden.de%2Ftutorial.html&amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C7bbfbe51586244347f0608d8d1acbaae%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489887128796010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=JeW7yKjnoEY84%2BRcAOQS0wIOcGyY1vEkJhYOjZI86UE%3D&amp;reserved=0" style="color: blue; text-decoration: underline;" class="">https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fali.gsw.tu-dresden.de%2Ftutorial.html&amp;amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C5e469cc667d347fe67d608d8d184139b%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489712530551010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=ANxbnpA%2BJbvubdeRUbLMhMxlSSRkicEYpWDCbfTQU1A%3D&amp;amp;reserved=0</a>)<br class=""><br class="">And within the lib folder, everything seems to be okay (see attached file) and mainhome.php looks good, too.<br class=""><br class="">Any suggestions what I can check in order to fix this?<br class=""><br class="">Best, Simon<br class=""><br class="">&lt;lib.txt&gt;<br class=""><br class="">_______________________________________________<br class="">CWB mailing list<br class=""><a href="mailto:CWB@sslmit.unibo.it" style="color: blue; text-decoration: underline;" class="">CWB@sslmit.unibo.it</a><br class=""><a href="https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fliste.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C7bbfbe51586244347f0608d8d1acbaae%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489887128796010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=bhBYhU6HsS1GuRZa4Kpv3DgKE%2FnrFpKGseHN25lCADI%3D&amp;reserved=0" style="color: blue; text-decoration: underline;" class="">https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fliste.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&amp;amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C5e469cc667d347fe67d608d8d184139b%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489712530551010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=ICBmNvRtV4z26cKxZR%2FuvtFMimnqLPlZZSC3xQA9IK4%3D&amp;amp;reserved=0</a><o:p class=""></o:p></span></div></blockquote><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""><br class="">_______________________________________________<br class="">CWB mailing list<br class=""></span><a href="mailto:CWB@sslmit.unibo.it" style="color: blue; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">CWB@sslmit.unibo.it</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class=""><br class=""></span><a href="https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fliste.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C7bbfbe51586244347f0608d8d1acbaae%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489887128805963%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Xlt90rHKydDn1Ti6HXd9gUcjQyskLCId3ePXEQ%2Bogxc%3D&amp;reserved=0" style="color: blue; text-decoration: underline;" class=""><span style="font-size: 9pt; font-family: Helvetica, sans-serif;" class="">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</span></a><o:p class=""></o:p></div></div></blockquote></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class="">&nbsp;</o:p></div><div class=""><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class="">&nbsp;</o:p></div></div></div></div></div><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">_______________________________________________</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">CWB mailing list</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="mailto:CWB@sslmit.unibo.it" style="color: blue; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">CWB@sslmit.unibo.it</a><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" style="color: blue; text-decoration: underline; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a></div></blockquote></div><br class=""><div class="">
<br class=""><br class=""><br class=""><br class="">
</div>
<br class=""></div></body></html>