Find the answer to your Linux question:
Results 1 to 3 of 3
Generally, under what paths Apache PHP Mysql are installed? and How do I know if these three are installed or not on the machine, Thanks for help!...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    19

    The default paths to install Apache PHP Mysql


    Generally, under what paths Apache PHP Mysql are installed? and How do I know if these three are installed or not on the machine, Thanks for help!

  2. #2
    Linux Newbie
    Join Date
    Feb 2009
    Posts
    101
    Code:
    updatedb &
    after that,
    run command
    Code:
    locate apachectl
    you can find startup script of apache
    run command
    Code:
    locate mysqld_safe
    you can find startup script of mysql

    start apache use
    Code:
    <?php
    phpinfo(); 
    ?>
    test install path.

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Posts
    19
    I ran "locate mysqld_safe", it's ok but the following is wrong.


    root@ubuntu:/usr/bin# locate mysqld_safe
    /usr/bin/mysqld_safe
    /usr/share/man/man1/mysqld_safe.1.gz

    but when I cd into /usr/bin and want to ls myslqd_sage, I got
    root@ubuntu:/usr/bin# ls mysql-safe
    ls: cannot access mysql-safe: No such file or directory

    Why there isn't mysql-safe in /usr/bin?

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •