Squirrelmail
Hi, im using redhat 7.2 and i installed SquirrelMail and my Apache server is up and running. However, when i go to the browser....
It says that if i type "http://yourdomain/webmail/index.php" , i should be able to see it but i can't. When i try, i get this: <?php /** * index.php -- Displays the main frameset * * Copyright (c) 1999-2003 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * Redirects to the login page. * * $Id: index.php,v 1.14 2002/12/31 12:49:29 kink Exp $ */ header("Location: src/login.php\n\n"); exit(); ?> when i did rpm -qa | grep php i could see: php-ldap-4.1.2-6 asp2php-0.75.17-1 php-4.1.2-6 asp2php-gtk-0.75.17-1 php-imap-4.1.2-6 php-pgsql-4.1.2-6 error: rpmdb: damaged header instance #1819308097 retrieved, skipping. I need help accessing that login screen....any help is appreciated..thank u |
To the best of my knowledge, on RH7.2 you had to install the php module for apache. From what I see, Apache is not passing the script to PHP, so I don't think you have the module installed.
Could be wrong, if I am someone please corect me. Hope that helps |
which one i need to install for Apache...
|
PHP4
|
but i have got php4 installed so i dont know what to do it
|
does redhat have aptitude? if so try installing through that.. Would you happen to know how to log in ? i'm setting mine up right now just got it done and i can't log in with any accounts.... Oh and make sure you have imap for apache
|
ok but how can I do this, i am sorry but i am newbie
|
do you have aptitude? if so use thast and find the imap-apache package or maybe it's apache-imap lol sorry i'm new as well and am having issues loggine in to my newly set up SM :S
|
i have got php-imap-4.1.2-6
|
Here is a part of the install instructions for setting up a mail server that have to do with php, try these and see if that helps. The full guide is at: http://www.pipeline.com.au/staff/mbo...ail-server.htm
------------------------------------------------------------------------- www.php.net Go to their website and download the latest source to /usr/local/src. In this example I have used : php-4.3.2.tar.gz Extract the source cd /usr/local/src tar xzf php-4.3.2.tar.gz chown -R root.root php-4.3.2.tar.gz cd php-4.3.2 And now use the configure script to patch the Apache source tree ./configure \ --with-mysql=/usr/local/mysql \ --with-apxs=/usr/local/apache/bin/apxs make make install Put the sample php.ini file into the required location cp php.ini-dist /usr/local/lib/php.ini -------------------------------------------------------------------------- Open up the httpd.conf and make sure these lines are in your configureation: # Following line should be present already as it would be inserted by the PHP make # Make sure you move it outside of the IfDefineSSL section if the make (incorrectly) put it there LoadModule php4_module libexec/libphp4.so # uncomment (or add) the following line AddType application/x-httpd-php .php # Add the index.php into this line so apache will use this file as a default in addition to index.html DirectoryIndex index.php index.html ----------------------------------------------------------------------- Restart apache |
If you have imap and PHP4 installed it should work if not try installing squirrelmail from aptitude then restarting apache and connect to your site /squirrelmail and it should load and if you figure out how to log in let me know... or if you have msn add me and maybe we could help each other
|
where can i install squirrelmail from aptitude what does it mean?
|
You can have PHP installed on your system, but if you don't have the Apache module loaded then Apache will never pass the files to PHP. There are two places that the module could be loaded from. 1.) /usr/lib/httpd/modules. If here it will be a file named mod_php.so. 2.) Or it could be loaded from /etc/httpd/conf.d/php.conf. Either way you have module loaded before it will work.
|
ok but where can i load this apache module, into the httpd.conf and how can i load this module
|
in httpd.conf do a search for "module" and look out for php or something.
|
All times are GMT -5. The time now is 05:24 AM. |