<html xmlns:v="urn:schemas-microsoft-com:vml" 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:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Hi Simon,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">have you tried Andrew’s suggestion?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">&gt; sudo a2enmod (and then hit TAB to see what it is called)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">on my machine, it would be
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">&gt; sudo a2enmod php7.4<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">or query, on my machine:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">&gt; sudo a2query -m<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">access_compat (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">alias (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">auth_basic (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">authn_core (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">authn_file (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">authz_core (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">authz_host (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">authz_user (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">autoindex (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">bonito (enabled by site administrator)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">cgid (enabled by site administrator)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">deflate (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">dir (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">env (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">filter (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">mime (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">mpm_prefork (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">negotiation (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">php7.4 (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">reqtimeout (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">setenvif (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">status (enabled by maintainer script)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Then check the config files. PHP has multiple config files, depending on version and depending on use (command line vs. web server).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Best wishes,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Peter<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> cwb-bounces@sslmit.unibo.it &lt;cwb-bounces@sslmit.unibo.it&gt;
<b>Im Auftrag von </b>Simon Meier-Vieracker<br>
<b>Gesendet:</b> Montag, 15. Februar 2021 13:25<br>
<b>An:</b> Open source development of the Corpus WorkBench &lt;cwb@sslmit.unibo.it&gt;<br>
<b>Betreff:</b> Re: [CWB] CQPweb: php error<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Hi Andrew,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">thanks!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">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></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">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></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Best, Simon<o:p></o:p></p>
<div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Am 15.02.2021 um 12:24 schrieb Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk">a.hardie@lancaster.ac.uk</a>&gt;:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif">Hi Simon,<br>
<br>
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>
<br>
If you're on Apache, the issue may be that mod_php is not enabled. On other webservers, there will be similar things.<br>
<br>
best<br>
<br>
Andrew<br>
<br>
-----Original Message-----<br>
From:<span class="apple-converted-space">&nbsp;</span></span><a href="mailto:cwb-bounces@sslmit.unibo.it"><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif">cwb-bounces@sslmit.unibo.it</span></a><span class="apple-converted-space"><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif">&nbsp;</span></span><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif">&lt;</span><a href="mailto:cwb-bounces@sslmit.unibo.it"><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif">cwb-bounces@sslmit.unibo.it</span></a><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif">&gt;
 On Behalf Of Simon Meier-Vieracker<br>
Sent: 15 February 2021 07:33<br>
To: Open source development of the Corpus WorkBench &lt;</span><a href="mailto:cwb@sslmit.unibo.it"><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif">cwb@sslmit.unibo.it</span></a><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif">&gt;<br>
Subject: Re: [CWB] CQPweb: php error<br>
<br>
<br>
Some more information:<br>
<br>
PHP 8.0.2<br>
Server version: Apache/2.4.25 (Debian)<br>
<br>
I checked the required extensions in the Admin Manual and found that &quot;Extension 'intl' not present.&quot;<br>
<br>
But I guess that the problem is more basic, since it does not execute the very simple command &quot;&lt;?php require('lib/mainhome.php');&quot;<br>
<br>
Best, Simon<br>
<br>
<br style="caret-color: rgb(0, 0, 0);font-variant-caps: normal;text-align:start;-webkit-text-stroke-width: 0px;word-spacing:0px">
<br>
</span><o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif">Am 14.02.2021 um 10:18 schrieb Simon Meier-Vieracker &lt;<a href="mailto:simon.meier-vieracker@tu-dresden.de">simon.meier-vieracker@tu-dresden.de</a>&gt;:<br>
<br>
Hi,<br>
<br>
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;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">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>
<br>
<br>
<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif">&lt;?php require('lib/mainhome.php');<o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif"><br>
Same thing on other pages:<br>
<br>
<br>
<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif">&lt;?php require ('../lib/adminhome.php');<o:p></o:p></span></p>
</blockquote>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif"><br>
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;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">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>
<br>
And within the lib folder, everything seems to be okay (see attached file) and mainhome.php looks good, too.<br>
<br>
Any suggestions what I can check in order to fix this?<br>
<br>
Best, Simon<br>
<br>
&lt;lib.txt&gt;<br>
<br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a><br>
<a href="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">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></o:p></span></p>
</blockquote>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif"><br>
<br>
_______________________________________________<br>
CWB mailing list<br>
</span><a href="mailto:CWB@sslmit.unibo.it"><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif">CWB@sslmit.unibo.it</span></a><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif"><br>
</span><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb"><span style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</span></a><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>