Announcement

Collapse
No announcement yet.

apache,php3,mysql installation in linux redhat 6.2

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • apache,php3,mysql installation in linux redhat 6.2

    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.

    Thanks for anyone who help me

  • #2
    Moved to Server Config forum.
    "The dot-com bust has cleared out the carpetbaggers and left the Internet to those who really care about it"
    - Jon Ippolito, new-media curator, Guggenheim Museum

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X