Forum Moderators: coopster

Message Too Old, No Replies

How to compile PHP for apache on windows XP

         

associates

8:02 am on Nov 9, 2005 (gmt 0)

10+ Year Member



Hi,

I've been trying to install Horde (if anyone ever heard about it) on my Mail Server machine that's got apache 2 running on it. Horde is written in PHP software that is designed for use as a webmail. It's quite complicated to install it since it's an open source.

Anyway, I've just been up to the first stage of the installation procedure. In it, it says as follows
1. Compiling PHP for Apache::

cd php-x.x.x/
./configure --with-apxs=/usr/sbin/apxs \
--with-gettext --with-dom --with-mcrypt \
--with-iconv --enable-mbstring=all --enable-mbregex \
--with-gd --with-png-dir=/usr --with-jpeg-dir=/usr \
--with-mime magic=/user/share/misc/magic.mime \
[--with-mysql¦--with-pgsql¦--with-oci8¦--with-ldap]
make
make install

2. Restart Apache.

3. Install PEAR packages::

pear install -o Log Mail Mail_Mime DB Date File
pear -d preferred_state=beta install -a Services_Weather

I'm sure this is for linux system. what do i have to do with windows XP? Sorry, i've just never used Linux before. I need help.

By the way, has anyone attempted to use Horde before?

Your help is greatly appreciated.

Thank you in advance.

directrix

9:45 am on Nov 9, 2005 (gmt 0)

10+ Year Member



For Windows XP, it's much easier to install the executables. As I understand it, there are two ways to install PHP on Windows: (a) as a CGI, or (b) as an Apache module. The second is recommended.

See [php.net...] and (if you follow the recommendation) take the manual installation steps; i.e., do not use the Windows installer. The manual installation is not difficult. I think there is a step by step guide somewhere on WebmasterWorld if you do a search.

jatar_k

4:09 pm on Nov 9, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



>> By the way, has anyone attempted to use Horde before?

yes, it was nightmare, installing everything so attachments would work was awful and it doesn't really work. We went to suirrelmail which was a million times better and much easier to use/maintain.

We have a few threads on installing php et al on windows in our PHP Library [webmasterworld.com]