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@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@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@mighty.com.au To: "CentOS discussion and information list" centos@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@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
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 16
I'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 wrote:
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 16
I'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).
I have squirrelmail running on rhel ES 3 (soon to be centos), and it was no trouble to setup. (I also know virtually nothing about php, fwiw) I haven't checked the centos packages, but rhel includes a squirrelmail package, which I'm using. I didn't have to add any config files for apache, but I do vaguely recall something about changing the register_globals option in /etc/php.ini. I also recall finding everything I needed between the squirrelmail site and the included docs.
On Thu, Feb 17, 2005 at 11:30:42PM -0500, William Hooper wrote:
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).
that was what it was.
We upgraded from RH7.3, and kept permissions from that because wholesale changes were Too Hard considering a whole bunch of scripts.
So apache runs as nobody not apache. I thought I'd caught all the references to apache and changed them to nobody, but I hadn't... There was one hidden one.
Zebee
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?
Zebee
Zebee,
Check out my guide:
http://www.hughesjr.com/content/view/10/2/Site_News