LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-04-2003, 07:40 AM   #1
johnydoe
LQ Newbie
 
Registered: Jun 2003
Location: NL
Posts: 5

Rep: Reputation: 0
several questions


hi @ll

i have some problems with my new RH8 installation

I have apache 2.0.40, php 4.2.2 and mysql installed and i can access my mysql databases in webmin and apache works fine to. also, php runs smoothly...

the first problem i get was that i couldn;t connect my website to mysql, but after browsing some on this forum, i noticed a post saying uncommenting the line of mysql.so would help...so i did and it worked better, now i get the following error:

Fatal error: Call to undefined function: mysql_connect() in /var/www/html/index.php on line 172

i don't know what's wrong as the script was always working fine


my second question is about my mailserver
when i triend to signup for an account at this forum, i filled in my e-mail adres from my own host, but i got an error saying there was no MX record installed (MX record??????), anybody has a sugestion on how to fix this and what it means???


1 last thing:
how can i enable quotas in vsftpd? ow should i do this with filesystem quotas? doesn;t this affect the e-mail quotas to?


thnx in advance!!!
 
Old 06-04-2003, 06:04 PM   #2
johnydoe
LQ Newbie
 
Registered: Jun 2003
Location: NL
Posts: 5

Original Poster
Rep: Reputation: 0
anyone? please? :'(

btw, i use sendmail and imap as mailserver, i hope somebody can help me with this as it is really starting to bother me i can't code and test new php scripts :P
 
Old 06-04-2003, 06:09 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Re: several questions

Quote:
Originally posted by johnydoe
hi @ll

i have some problems with my new RH8 installation

I have apache 2.0.40, php 4.2.2 and mysql installed and i can access my mysql databases in webmin and apache works fine to. also, php runs smoothly...

the first problem i get was that i couldn;t connect my website to mysql, but after browsing some on this forum, i noticed a post saying uncommenting the line of mysql.so would help...so i did and it worked better, now i get the following error:

Fatal error: Call to undefined function: mysql_connect() in /var/www/html/index.php on line 172

i don't know what's wrong as the script was always working fine
Do you mean it just stopped working?
Try installing php-mysql.

Quote:
Originally posted by johnydoe
my second question is about my mailserver
when i triend to signup for an account at this forum, i filled in my e-mail adres from my own host, but i got an error saying there was no MX record installed (MX record??????), anybody has a sugestion on how to fix this and what it means???
You need to add a DNS MX record - I know of a thread on this - I'll look for it.
Quote:
Originally posted by johnydoe

1 last thing:
how can i enable quotas in vsftpd? ow should i do this with filesystem quotas? doesn't this affect the e-mail quotas to?
I don't think you can us vsftp for that. Yes and yes.

Last edited by david_ross; 06-04-2003 at 06:11 PM.
 
Old 06-04-2003, 06:16 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Thread on DNS:
http://www.linuxquestions.org/questi...162#post306162
 
Old 06-04-2003, 06:21 PM   #5
johnydoe
LQ Newbie
 
Registered: Jun 2003
Location: NL
Posts: 5

Original Poster
Rep: Reputation: 0
thnx 4 the reply

i installed apache, php and mysql with a fresh RH8 installation, but for some reason mysql doesn't seem to be enabled by default

looking at the error, i think i don't have the libs or something, but i can;t find it anywhere (all websites say i should check my script, wich works perfect on other servers)

if i need a lib, wich lib would that be?

thnx!
 
Old 06-05-2003, 04:24 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Like I said - install this package:
php-mysql
 
Old 06-05-2003, 05:31 AM   #7
johnydoe
LQ Newbie
 
Registered: Jun 2003
Location: NL
Posts: 5

Original Poster
Rep: Reputation: 0
w00h00!!! (sorry for the 0's :P ) it worked! after installing php-mysql as you said (well, i had to install mysqlclient to, because of some dependencies), it works absolutely perfect now!!!

thnx a heap!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 12:50 PM
Solaris - Questions! Questions! Questions! qs_tahmeed Solaris / OpenSolaris 2 07-16-2005 06:27 AM
window manager questions and/or theme questions t3gah Linux - Software 2 02-27-2005 05:16 PM
Some questions... CryptDragoon Linux From Scratch 2 02-04-2004 09:28 PM
few questions? pudhiyavan Linux - General 2 10-03-2003 08:35 AM


All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration