如何架设apache2-0.54+php-5.0.5+mysql-standard-4.1.12

发布于 2022-09-30 07:23:06 字数 108 浏览 26 评论 0

如何在redhat enterprise linux 4 as下架设apache2-0.54+php-5.0.5+mysql-standard-4.1.12
求助啦,我初学linux。希望各位大侠帮忙啊。

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

铜锣湾横着走 2022-10-07 07:23:06

那篇文章我看过了,还是不行。装完gcc后可以安装apache了,但是php和mysql怎么都装不进去。
装mysql时
./configure --prefix=/usr/local/mysql
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!

To help you a bit, I am now going to create the needed MySQL databases
and start the MySQL server for you.  If you run into any trouble, please
consult the MySQL manual, that you can find in the Docs directory.

Installing all prepared tables
Fill help tables

To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h AS password 'new-password'
See the manual for more instructions.

NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
Starting the mysqld server.  You can test that it is up and running
with the command:
./bin/mysqladmin version
[root@AS mysql-standard-4.1.12-pc-linux-gnu-i686]# chown: `mysql': invalid user
Starting mysqld daemon with databases from /home/bx/mysql-standard-4.1.12-pc-linux-gnu-i686/data
STOPPING server from pid file /home/bx/mysql-standard-4.1.12-pc-linux-gnu-i686/data/AS.pid
051208 12:48:31  mysqld ended

北座城市 2022-10-07 07:23:06

安装php5时
ot@AS php-5.0.5]# ./configure --prefix=/usr/local/php
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2428: lex: command not found
configure: error: cannot find output from lex; giving up

追星践月 2022-10-07 07:23:06

一定要用那些版本吗。rhel4上不是有apache+php+mysql的组合了吗?

紫南 2022-10-07 07:23:06

我觉得readhat+apache+php+postgresql也是一个不错的组合。

〗斷ホ乔殘χμё〖 2022-10-07 07:23:06

原帖由 haida-bx 于 2005-12-8 12:55 发表
那篇文章我看过了,还是不行。装完gcc后可以安装apache了,但是php和mysql怎么都装不进去。
装mysql时
./configure --prefix=/usr/local/mysql
NOTE: This is a MySQL binary distribution. It's ready to ru ...

http://blog.chinaunix.net/articl ... 601&blogId=9861

始终不够爱げ你 2022-10-07 07:23:06

我用的是redhat enterprise linux AS4 默认安装的apache+php+mysql,但是不能安装Zend Optimizer 哪位装过?
安装时提示成功,但是在phpinfo()却看不到有Zend optimizer,而且用不了. 我用同样的安装方式,在AS3上安装成功了
高手帮帮忙 谢谢!

夏末染殇 2022-10-07 07:23:06

1. zend opm和php版本需要匹配的.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文