hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : the most basic question ever asked
Reply

Forum Jump

the most basic question ever asked

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 06-07-2003, 08:37 AM
eee eee is offline
Newbie
 
Join Date: Mar 2003
Posts: 17

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



Sponsored Links
  #2  
Old 06-07-2003, 09:40 AM
CmptrWz CmptrWz is offline
Junior Guru
 
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  
Old 06-07-2003, 10:25 AM
eee eee is offline
Newbie
 
Join Date: Mar 2003
Posts: 17
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

Sponsored Links
  #4  
Old 06-07-2003, 10:51 AM
eee eee is offline
Newbie
 
Join Date: Mar 2003
Posts: 17
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  
Old 06-07-2003, 11:23 AM
eee eee is offline
Newbie
 
Join Date: Mar 2003
Posts: 17
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  
Old 06-07-2003, 11:53 AM
eee eee is offline
Newbie
 
Join Date: Mar 2003
Posts: 17
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  
Old 06-07-2003, 12:05 PM
CmptrWz CmptrWz is offline
Junior Guru
 
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  
Old 06-07-2003, 12:34 PM
eee eee is offline
Newbie
 
Join Date: Mar 2003
Posts: 17
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!

Reply

Related posts from TheWhir.com
Title Type Date Posted
Breaking Down the Numbers of the Media Temple Acquisition Blog 2014-06-17 17:24:51
The Value of Your Intellectual Property Blog 2013-05-06 17:43:13
How to Create a Cultural Connection with Jeremy Gutsche of TrendHunter Web Hosting News 2013-02-06 13:45:48
German Court Rules Internet Essential, Cut Off Customers Can Seek ISP Compensation Web Hosting News 2013-01-25 16:06:32
Joomla Hosting Study Shows Speed, Uptime Top Selling Points of a Web Host Web Hosting News 2012-11-07 15:06:36


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?