+ -
当前位置:首页 → 问答吧 → 用PKGADD安装好php-5.0.2-sol9-intel-local.gz后怎样配置才能用啊?(超高问题)

用PKGADD安装好php-5.0.2-sol9-intel-local.gz后怎样配置才能用啊?(超高问题)

时间:2004-12-09

来源:互联网

这个BINARY是在SUNFREEWARE上下载的,安装后位置在USR/LOCAL/PHP,但我不知道怎样配置才能使PHP可以在APACHE中用起来,根本找不到它的扩展文件都放在什么地方?
网上很多例子都是源代码方式安装的,非常不同。
谁完成过这种安装呢?
下面是INSTALL里面说的
Solaris specific installation tips

This section contains notes and hints specific to installing PHP on
Solaris systems.
_________________________________________________________________

Required software

Solaris installs often lack C compilers and their related tools. Read
this FAQ for information on why using GNU versions for some of these
tools is necessary. The required software is as follows:

* gcc (recommended, other C compilers may work)
* make
* flex
* bison
* m4
* autoconf
* automake
* perl
* gzip
* tar
* GNU sed

In addition, you will need to install (and possibly compile) any
additional software specific to your configuration, such as Oracle or
MySQL.
_________________________________________________________________

Using Packages

You can simplify the Solaris install process by using pkgadd to
install most of your needed components.


php-5.0.2-sol9-intel-local.gz The PHP scripting language - installs in /usr/local/php. PHP requires that libiconv and either libgcc-3.3 or gcc be installed. PHP is used with apache 2 and mysql which should also be installed along with any packages they may require. PHP needs configuration. php.ini related files are in /usr/local/php/doc/php along with other documentation.

php.ini-dist和php.ini-recommended可以用来生成PHP.INI,但由于找不到例如SOURCE安装方式配置中的libexec/libphp5.so,连libexec这个目录也没有,真不知道PHP.INI和HTTP.CONF该怎么配!      

作者: yueyang   发布时间: 2004-12-09

热门下载

更多