I am installing Roundcubemail on Centos7-arm roundcubemail-1.1.8-1.el7.noarch The installer web app creates a config.inc.php to save within the /etc/roundcubemail/ directory. It warns that: "Make sure that there are no characters outside the <?php ?> brackets when saving the file." Thing is there is no ?> at the end of this. It is left out. So I got to add that myself. I should be able to just copy the content of the text box, and paste it into a cat > /etc/roundcubemail/config.inc.php, but I am left having to at least having to add the ending ?>
Robert Moskowitz
2017-Apr-05 23:36 UTC
[CentOS] Withdraw - Re: Roundcubemail 1.1.8 possible bug?
I do not code php, I only use it in things like Roundcubemail, so I was at first surprised that the config file was missing the closing ?> tag. Then I noticed that ALL of the various php config files where missing it. So I did some googling and found out it is actually recommended to leave it off. Humph. On 04/05/2017 12:09 PM, Robert Moskowitz wrote:> I am installing Roundcubemail on Centos7-arm > > roundcubemail-1.1.8-1.el7.noarch > > The installer web app creates a config.inc.php to save within the > /etc/roundcubemail/ directory. It warns that: > > "Make sure that there are no characters outside the <?php ?> brackets > when saving the file." > > Thing is there is no ?> at the end of this. It is left out. So I got > to add that myself. I should be able to just copy the content of the > text box, and paste it into a cat > /etc/roundcubemail/config.inc.php, > but I am left having to at least having to add the ending ?> > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >
Alice Wonder
2017-Apr-05 23:50 UTC
[CentOS] Withdraw - Re: Roundcubemail 1.1.8 possible bug?
Leaving it off is a bad recommendation. Many have pointed that out. The problem is that sometimes it results in content being sent after the php sends the content, when there is white space after the closing ?> However the proper thing to do is make sure that you do not have white space after the closing ?> Leaving the ?> off is sloppy coding and a sloppy solution. On 04/05/2017 04:36 PM, Robert Moskowitz wrote:> I do not code php, I only use it in things like Roundcubemail, so I was > at first surprised that the config file was missing the closing ?> tag. > Then I noticed that ALL of the various php config files where missing > it. So I did some googling and found out it is actually recommended to > leave it off. > > Humph. > > On 04/05/2017 12:09 PM, Robert Moskowitz wrote: >> I am installing Roundcubemail on Centos7-arm >> >> roundcubemail-1.1.8-1.el7.noarch >> >> The installer web app creates a config.inc.php to save within the >> /etc/roundcubemail/ directory. It warns that: >> >> "Make sure that there are no characters outside the <?php ?> brackets >> when saving the file." >> >> Thing is there is no ?> at the end of this. It is left out. So I got >> to add that myself. I should be able to just copy the content of the >> text box, and paste it into a cat > /etc/roundcubemail/config.inc.php, >> but I am left having to at least having to add the ending ?> >> >> >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> https://lists.centos.org/mailman/listinfo/centos >> > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos
Seemingly Similar Threads
- Roundcubemail 1.1.8 possible bug?
- Roundcubemail problem with Dovecot
- problem with old stable 0.1.1 roundcubemail contained in the deposit EPEL
- problem with stable version of roundcubemail contained in the depot Karanbir Singh
- probleme rpm roundcubemail-0.7.2-2.el6.noarch force ssl fail