I have an urgent (isn't it always the way!) need to set up webmail for one of our users. I intalled Squirrelmail, added /etc/httpd/conf.d/php.conf and etc/httpd/conf.d/php.conf/squirrel.conf to my webserver config (which is not RH stock) and ran the squirrelmail conf.pl I know nothing at all about php, so am having a hell of a time diagnosing the errors, and the squirrelmail.org site knows of no RH distro after 7.3 and has been wikispammed anyway. Google's not been helpful so far. So... is anyone running squirrelmail on their CentOS site, and can they tell me why I'm seeing: Warning: main(../config/config.php): failed to open stream: Permission denied in /usr/share/squirrelmail/functions/global.php on line 16 Fatal error: main(): Failed opening required '../config/config.php' (include_path='.:/usr/share/pear') in /usr/share/squirrelmail/functions/global.php on line 16 when I try http://mymachine.mydomain.com.au/webmail/src/login.php Or point me at some useful doco, probably more PHP than squirrel? Especially as the squirrel site seems less than helpful... Perhaps someone can email me with RH specific instructions? Zebee
Check permissions... After you run the squirrelmail conf.pl make sure the confg file it creates (in the app dir -- /usr/share/squiremail) has the right permissions to be read. On Fri, 18 Feb 2005 14:05:31 +1100, Zebee Johnstone <zebee at mighty.com.au> wrote:> I have an urgent (isn't it always the way!) need to set up webmail for one of our users. > > I intalled Squirrelmail, added /etc/httpd/conf.d/php.conf and > etc/httpd/conf.d/php.conf/squirrel.conf to my webserver config (which > is not RH stock) and ran the squirrelmail conf.pl > > I know nothing at all about php, so am having a hell of a time diagnosing > the errors, and the squirrelmail.org site knows of no RH distro after > 7.3 and has been wikispammed anyway. > > Google's not been helpful so far. > > So... is anyone running squirrelmail on their CentOS site, and > can they tell me why I'm seeing: > Warning: main(../config/config.php): failed to open stream: Permission denied in /usr/share/squirrelmail/functions/global.php on line 16 > > Fatal error: main(): Failed opening required '../config/config.php' (include_path='.:/usr/share/pear') in /usr/share/squirrelmail/functions/global.php on line 16 > > when I try http://mymachine.mydomain.com.au/webmail/src/login.php > > Or point me at some useful doco, probably more PHP than squirrel? > Especially as the squirrel site seems less than helpful... > > Perhaps someone can email me with RH specific instructions? > > Zebee > _______________________________________________ > CentOS mailing list > CentOS at caosity.org > http://lists.caosity.org/mailman/listinfo/centos >
You can look at www.qmailrocks.org. They have installation instructions for redhat. I used this on my current mail server with not problems. I am using CentOS 3.3. HTH -Marco ----- Original Message ----- From: "Zebee Johnstone" <zebee at mighty.com.au> To: "CentOS discussion and information list" <centos at caosity.org> Sent: Thursday, February 17, 2005 9:05 PM Subject: [Centos] Squirrelmail>I have an urgent (isn't it always the way!) need to set up webmail for one >of our users. > > I intalled Squirrelmail, added /etc/httpd/conf.d/php.conf and > etc/httpd/conf.d/php.conf/squirrel.conf to my webserver config (which > is not RH stock) and ran the squirrelmail conf.pl > > I know nothing at all about php, so am having a hell of a time diagnosing > the errors, and the squirrelmail.org site knows of no RH distro after > 7.3 and has been wikispammed anyway. > > Google's not been helpful so far. > > So... is anyone running squirrelmail on their CentOS site, and > can they tell me why I'm seeing: > Warning: main(../config/config.php): failed to open stream: Permission > denied in /usr/share/squirrelmail/functions/global.php on line 16 > > Fatal error: main(): Failed opening required '../config/config.php' > (include_path='.:/usr/share/pear') in > /usr/share/squirrelmail/functions/global.php on line 16 > > when I try http://mymachine.mydomain.com.au/webmail/src/login.php > > Or point me at some useful doco, probably more PHP than squirrel? > Especially as the squirrel site seems less than helpful... > > Perhaps someone can email me with RH specific instructions? > > Zebee > _______________________________________________ > CentOS mailing list > CentOS at caosity.org > http://lists.caosity.org/mailman/listinfo/centos > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 > >-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005
Zebee Johnstone said: [snip]> I know nothing at all about php, so am having a hell of a time diagnosing > the errors, and the squirrelmail.org site knows of no RH distro after 7.3[snip] Oh? The download page lists squirrelmail-i18n-1.4.4-1.noarch.rpm as"...for Red Hat Linux 8, 9, Fedora Core 1, 2, 3, and EL 3, 4 (apache-2.0)". Trust me, it works.> So... is anyone running squirrelmail on their CentOS site, and > can they tell me why I'm seeing: Warning: main(../config/config.php): > failed to open stream: Permission denied in > /usr/share/squirrelmail/functions/global.php on line 16I'd say check your permissions on config.php and verify it is in the path that Squirrelmail thinks it is.> Perhaps someone can email me with RH specific instructions?There's really not that much too it (you've done everything). Another issue might be your custom PHP/Apache config (which you didn't elaborate on). -- William Hooper
On Fri, 2005-02-18 at 14:05 +1100, Zebee Johnstone wrote:> I have an urgent (isn't it always the way!) need to set up webmail for one of our users. > > I intalled Squirrelmail, added /etc/httpd/conf.d/php.conf and > etc/httpd/conf.d/php.conf/squirrel.conf to my webserver config (which > is not RH stock) and ran the squirrelmail conf.pl > > I know nothing at all about php, so am having a hell of a time diagnosing > the errors, and the squirrelmail.org site knows of no RH distro after > 7.3 and has been wikispammed anyway. > > Google's not been helpful so far. > > So... is anyone running squirrelmail on their CentOS site, and > can they tell me why I'm seeing: > Warning: main(../config/config.php): failed to open stream: Permission denied in /usr/share/squirrelmail/functions/global.php on line 16 > > Fatal error: main(): Failed opening required '../config/config.php' (include_path='.:/usr/share/pear') in /usr/share/squirrelmail/functions/global.php on line 16 > > when I try http://mymachine.mydomain.com.au/webmail/src/login.php > > Or point me at some useful doco, probably more PHP than squirrel? > Especially as the squirrel site seems less than helpful... > > Perhaps someone can email me with RH specific instructions? > > ZebeeZebee, Check out my guide: http://www.hughesjr.com/content/view/10/2/Site_News -- Johnny Hughes <http://www.HughesJR.com/>