yankuro
Tue 21st Nov '00, 10:49am
I'm a student at Sekolah Tinggi Teknik Surabaya (Indonesia)
I have finishing installation and configuration for Apache_1.3.9, PHP-3.0.14 and MYSQL-3.22.30 in my Red Hat Linux 6.2.
I following this steps for installation:
1. tar -zxvf apache_1.3.9.tar.gz
2. tar -zxvf php-3.0.14.tar.gz
3. ln -s /usr/src/apache_1.3.9 apache
4. ln -s /usr/src/php-3.0.14 php3
5. tar -zxvf mysql-3.22.30-pc-linux-gnu-i686.tar.gz
6. ln -s /usr/local/mysql-3.22.30-pc-linux-gnu-i686 mysql
7. adduser mysql
8. passwd mysql
9. chown -R mysql mysql-3.22.30-pc-linux-gnu-i686 mysql
10. chgrp -R root mysql-3.22.30-pc-linux-gnu-i686 mysql
11. su mysql
12. cd mysql
13. scripts/mysql_install_db
14. exit
15. cd /usr/src
16. cd apache
17. ./configure --prefix=/usr/local/apache
18. cd ../php3
19. ./configure --with-mysql=/usr/local/mysql \
--with-apache=/usr/src/apache \
--enable-track-vars
20. make
21. make install
22. cd ../apache
23. ./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php3/libphp3.a
24. make
25. make install
26. /usr/local/apache/bin/apachectl start
The installations are success. When I start Apache,
there is no problem. Then I try to write PHP script.
This is the script.
<HTML>
<?php
echo ("Text Generated by PHP.");
?>
</HTML>
I locate this file in /usr/local/apache/htdocs. When I open this
file with Netscape Navigator from Gnome I can see anything. When I look
the daemon, the apache was run. Then I try to run this statement
rpm -e apache.
The message shows me that my apache not installed. Then I try to
install again and it was run successful but I can see my script.
what happen with my installation or maybe something wrong with
my script.
I need help quickly because this is important for my exam.
If you have some suggestions please email me at yankuro@hotmail.com
Thanks for anyone who help me
I have finishing installation and configuration for Apache_1.3.9, PHP-3.0.14 and MYSQL-3.22.30 in my Red Hat Linux 6.2.
I following this steps for installation:
1. tar -zxvf apache_1.3.9.tar.gz
2. tar -zxvf php-3.0.14.tar.gz
3. ln -s /usr/src/apache_1.3.9 apache
4. ln -s /usr/src/php-3.0.14 php3
5. tar -zxvf mysql-3.22.30-pc-linux-gnu-i686.tar.gz
6. ln -s /usr/local/mysql-3.22.30-pc-linux-gnu-i686 mysql
7. adduser mysql
8. passwd mysql
9. chown -R mysql mysql-3.22.30-pc-linux-gnu-i686 mysql
10. chgrp -R root mysql-3.22.30-pc-linux-gnu-i686 mysql
11. su mysql
12. cd mysql
13. scripts/mysql_install_db
14. exit
15. cd /usr/src
16. cd apache
17. ./configure --prefix=/usr/local/apache
18. cd ../php3
19. ./configure --with-mysql=/usr/local/mysql \
--with-apache=/usr/src/apache \
--enable-track-vars
20. make
21. make install
22. cd ../apache
23. ./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php3/libphp3.a
24. make
25. make install
26. /usr/local/apache/bin/apachectl start
The installations are success. When I start Apache,
there is no problem. Then I try to write PHP script.
This is the script.
<HTML>
<?php
echo ("Text Generated by PHP.");
?>
</HTML>
I locate this file in /usr/local/apache/htdocs. When I open this
file with Netscape Navigator from Gnome I can see anything. When I look
the daemon, the apache was run. Then I try to run this statement
rpm -e apache.
The message shows me that my apache not installed. Then I try to
install again and it was run successful but I can see my script.
what happen with my installation or maybe something wrong with
my script.
I need help quickly because this is important for my exam.
If you have some suggestions please email me at yankuro@hotmail.com
Thanks for anyone who help me