Click to See Complete Forum and Search --> : help! going to install PHP


almightymike
05-14-2003, 06:00 AM
we're planning to install PHP. I was wondering what configuration options i should include.

we will use
-mysql
-ftp

what are the most common options that I should include in the config line.


Thanks!!!

stolzyboy
05-16-2003, 10:38 PM
you don't need an option for ftp, but if you are planning to use mysql, you need to have php compiled to use mysql, if you aren't doing anything fancy, like GD and such, you shouldn't have to use an other options

largo
05-17-2003, 02:42 AM
stolzyboy, I thought --enable-ftp was required to use php native functions for ftp. Are these packed in default install now?

thanks.

tsinka
05-17-2003, 04:12 AM
Additionally, include one of the following options:

--with-apxs=pathtoapxs (if you use apache-1.3.x and apache is already installed)

--with-apxs2=pathtoapxs2 (if you use apache-2.x and apache is already installed)

--with-apache (if you want to compile apache from sources, too)

Examples:

--with-apache=../apache_1.3.27
--with-apxs=/usr/sbin/apxs
--with-apxs2=/usr/sbin/apxs
sometimes apxs of apache 2 has the name apxs2 (e.g. SuSE 8.2, it depends on how apache has been compiled)

T.