Forum Moderators: coopster
Also, I would like an IMAP email client on my server and to have some PHP code that is able to "read"/parse my incoming emails. Open them up - "read" them by looking for keywords - then delete them etc.
To do this I am going to use the IMAP functions in PHP.
Does anyone know an IMAP email client that I can put on my local host apache server? Configuring the PHP of the local host apache server for IMAP functions (these are not default functions in PHP) - would this be quite straightforward?
Thanks in advance for your help.
If you are developing a site to run on a particular hosting company's server, use the same or similar Linux distribution (although they all will do the job just fine). Once installed, you can connect to the test server via telnet or ssh (as you would on a live server) so you don't even need a separate screen or keyboard.
DO NOT, unless you are very efficient with "locking" down a server, use the IIS server that comes with some of the windows packages. There are way too many ways for a hacker to get into it.
Just my $0.02 worth.
Also, after struggling with all the "nice and neat" packages I eventually installed it by hand, copying only the fiesl I needed from the installation directory with a minimum config. My Apache 2+ PHP5 is only a dozend fiels or so including a bunch of extensions. This way it's also fully portable, I just copy the folder and run the executable and I got another server up and running without installation nightmares.
I highly recommend such a setup.
SN
1) "using the same operating system as your host"
I may look into this. At the moment I am using windows XP, but may set up a dual boot so that I can have a flavor of UNix (probably red hat Linux) that I can put the apache on.
Actually thinking about it now I will need to use UNIX anyway as I want to use cron jobs - only available with UNIX.
2) Does anyone know an IMAP email client/mailbox that I can put on my local host apache server? This is really the outstanding issue for me now.
All the best
For the IMAP, you can use the RHEL/Centos default available services of Apache, MySQL and courier-imap or CyrusIMAPD. You shouldn't even need to recompile to get things working to start with, just install the packages out of the standard repositories.
If your host is using Red Hat Fedora, you can download that for free: [fedora.redhat.com...] .
Red Hat Vs. Red Hat Enterprise Linux
If I was just to run my apache server on Red Hat (because it is free) - could I then run into problems when I try to transfer this to a server running Red Hat Enterprise Linux?
Of course you have already mentioned that i can get around this by using one of the free Red Hat Enterprise Linux emulators. Just wondering how stuck i would be/could get if i just used red hat.