- 论坛徽章:
- 0
|
我想在我的sparc solaris9 安裝 mysql+apache+php
我的安裝过程是这样的:
I compile the PHP-4-3-0 procedure as follow:
1. gunzip apache_xxx.tar.gz
2. tar -xvf apache_xxx.tar
3. gunzip php-xxx.tar.gz
4. tar -xvf php-xxx.tar
5. cd apache_xxx
6. ./configure --prefix=/usr/local/apache --enable-module=so
7. make
8. make install
9. cd ../php-xxx
10. ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
11. make
12. make install
我已經順利的安裝了 mysql + httpd-2.0
但是在
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
遇上了問題, 下面是 configure 問題---------------------------
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS...
Sorry, I was not able to successfully run APXS. Possible reasons:
1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of apxs follows
Usage: apxs -g [-S <var>;=<val>;] -n <modname>;
apxs -q [-S <var>;=<val>;] <query>; ...
apxs -c [-S <var>;=<val>;] [-o <dsofile>;] [-D <name>;[=<value>;]]
[-I <incdir>;] [-L <libdir>;] [-l <libname>;] [-Wc,<flags>;]
[-Wl,<flags>;] <files>; ...
apxs -i [-S <var>;=<val>;] [-a] [-A] [-n <modname>;] <dsofile>; ...
apxs -e [-S <var>;=<val>;] [-a] [-A] [-n <modname>;] <dsofile>; ...
configure: error: Aborting
------------------------------------------
在 /usr/local/apache/bin directory 裏面是 apxs 的. 不知怎, 還是有問題.
各位老大, 幫幫我吧! |
|