如何架设apache2-0.54+php-5.0.5+mysql-standard-4.1.12
如何在redhat enterprise linux 4 as下架设apache2-0.54+php-5.0.5+mysql-standard-4.1.12
求助啦,我初学linux。希望各位大侠帮忙啊。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
http://bbs.chinaunix.net/viewthr ... 1%26filter%3Ddigest
那篇文章我看过了,还是不行。装完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
安装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
一定要用那些版本吗。rhel4上不是有apache+php+mysql的组合了吗?
我觉得readhat+apache+php+postgresql也是一个不错的组合。
http://blog.chinaunix.net/articl ... 601&blogId=9861
我用的是redhat enterprise linux AS4 默认安装的apache+php+mysql,但是不能安装Zend Optimizer 哪位装过?
安装时提示成功,但是在phpinfo()却看不到有Zend optimizer,而且用不了. 我用同样的安装方式,在AS3上安装成功了
高手帮帮忙 谢谢!
1. zend opm和php版本需要匹配的.