php is incredibley slow...

Gooberlx2

Lifer
May 4, 2001
15,381
6
91
...but my normal apache pages are coming through at a normal speed. It sux 'cause I wanna use horde as a web-based email server.

Basically:
the horde login page loads at a normal speed but when I actually try to login it just doesn't go. I think it's timing out. Reason: when I simply try to load the test.php from horde it takes forever for it to load-up.

Anyone have any clue what's happening? 'Cause I sure don't.

RedHat 7.3
apache-1.3.23-14
imap-2001a-10
sendmail-8.11.6-15

php-4.1.2-7
php-mysql-4.1.2-7
php-imap-4.1.2-7
php-ldap-4.1.2-7

mysql-3.23.49-3
mysql-server-3.23.49-3
mysqlclient9-3.23.22-6
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Hardware? I think php is similar to perl and shell scripts (interprited) so memory and cpu can be factors.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Gooberlx2
ugh I hope not..... :(

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

From php.net
 

Gooberlx2

Lifer
May 4, 2001
15,381
6
91
Ah HA! I found a horde.log file. ...duh...:eek:

Anyway it says:
Jul 03 20:46:27 HORDE [error] [imp] FAILED LOGIN 208.134.196.12 to localhost:143[imap] as guest [on line 332 of "/var/www/html/mail/horde/imp/lib/IMP.php"]

Now if I only knew why.....:confused:
 

dakata24

Diamond Member
Aug 7, 2000
6,366
0
76
is their any easy step by step guide on how to install horde/pear/imp?

after seeing screenshots for IMP 3.1, my jaw dropped. it looks 100x better than squirrelmail (though it is better than IMP 2.x that's installed by default) but seems more difficult to install (squirrelmail took 5 min to setup plus a few more minutes to add plugins).

my web hosting co only has PHP 4.0.6 which requires me to install IMP 3.0. reading the install file, it says that i need to have Horde installed (in my case 2.0 due to PHP 4.0.6, and PEAR libraries (PHP 4.0.7 and up dont require this) )

for a newbie like myself, it would help alot if someone could point me to a guide that shows how to install all of these to lessen the pain of installing this. i've tried searching google for a good resource but have come up empty handed..

i'm quite new to this sort of stuff (just signed up my 1st domain name/web hosting friday) so it's been a learning experience thus far. tia :)
 

FUBAR

Senior member
Oct 11, 1999
618
0
0
Gooberlx2: You are trying to log in as guest somewhere... did you run through all the config files and enter your personal stuff in there?


dakata24: Look at the install pages for IMP at horde.org, there's at least 5 how-to's in there, and one good one for redhat folks.