Results 1 to 8 of 8
  1. #1

    the most basic question ever asked

    I know this is the most basic question ever asked, but help me out, ok?

    I am enabling support for mysql in php
    after /etc/httpd/php.ini I get into the php
    In the php file, I add the extension=mysql.so
    how do you 'save' and 'quit'

    thanks

  2. #2
    Join Date
    Sep 2001
    Posts
    238
    in vi you hit escape to get out of input mode, then hit :w to write(save) and :q to quit.

    If you aren't in vi then please give us more info

  3. #3
    Thanks

    I'm at [MySQL] in php
    and I want to add
    extension=mysql.so

    Can you tell me step by step how to do this?
    I know this is basic for you, but I would really appreciate it

    thanks, again

  4. #4
    Thanks that was great!
    I really appreciate your help,

    but, in life you get one challenge after another

    the software I am trying to install came up with this:
    "cant connect to local mysql through socket
    '/tmp/mysql.sock'

    How do I create a symlink /tmp/mysql.sock to /var/lib/mysql/mysql.sock using
    ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

    Please help
    thanks

  5. #5
    Where do I do this? (php, mysql or at root)
    What is the syntax?
    You can tell that I'm not really good at this and if I can create this symlink my software will work
    thanks

  6. #6
    O.K. when I enter
    root> ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
    I get back
    in: /tmp/mysql.sock: File exists

    I know it exists, what I'm trying to do is make a symlink

    Please help, what is the right syntax?
    Thanks

  7. #7
    Join Date
    Sep 2001
    Posts
    238
    Reverse the two paths, I think, on the symlink.

    To insert text in vi you hit i, escape then stops inserting text.

  8. #8
    Solved!

    what I did was add the -f (force) after -s

    Thank you CmptrWz you really helped out alot (with the PHP), I really appreciate it!

Related Posts from theWHIR.com

Posting Permissions

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