Red Hat Enterprise Edition

Discuss server installationa nd configuration issues here

Moderators: macek, egami, gesf

User avatar
Shiv
php-forum Active User
php-forum Active User
Posts: 262
Joined: Wed Feb 02, 2005 8:06 pm
Location: Ahmedabad (Gujarat), INDIA

Red Hat Enterprise Edition

Postby Shiv » Wed Dec 14, 2005 6:20 am

Hi Friends,

Recently, I am trying to install PHP on Red Hat Linux Enterprise edition. My problem is that it doesnt work.

Can anyone help me?

Please give me some info for installation of MySQL too in Red Hat Linux.

ThanX.

--V'ru

User avatar
gesf
Moderator
Moderator
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden
Contact:

Postby gesf » Wed Dec 14, 2005 7:41 am

If it is the Red Hat (Enterprise) i think it only works with PHP 5.* :?

User avatar
Shiv
php-forum Active User
php-forum Active User
Posts: 262
Joined: Wed Feb 02, 2005 8:06 pm
Location: Ahmedabad (Gujarat), INDIA

Postby Shiv » Wed Dec 14, 2005 8:56 pm

Yes, it works with PHP 5 and most probably PHP comes with built in but i am not getting work done.
I have to find some way out of this. Ok Thanks.

User avatar
gesf
Moderator
Moderator
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden
Contact:

Postby gesf » Thu Dec 15, 2005 4:13 pm

Yeh... you're right, just to make sure you knew it :)
And what about errors?

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Postby ruturajv » Thu Dec 15, 2005 8:38 pm

I don't think only PHP5 should be working on RHEL,
what is the problem,
you stop the original httpd,
and make an new Apache compilation with PHP 4.x and that should work, shouldn't give any problems.

User avatar
Shiv
php-forum Active User
php-forum Active User
Posts: 262
Joined: Wed Feb 02, 2005 8:06 pm
Location: Ahmedabad (Gujarat), INDIA

Postby Shiv » Thu Dec 15, 2005 9:11 pm

Ok I will try and let u know

ThanX

patna_in
New php-forum User
New php-forum User
Posts: 103
Joined: Sun Feb 06, 2005 10:54 am
Contact:

Postby patna_in » Mon Dec 19, 2005 6:38 am

Hi, I'm also using RHEL . I got PHP4 builtin & mysql. I can run PHP script but don'know how to run MySQL. I found that mysql also installed. Plz tell me how to istart mysql service.

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Postby ruturajv » Tue Dec 20, 2005 8:00 pm

login in as root and try this...

Code: Select all

root@hostname # /etc/rc.d/init.d/mysqld start

it will return you if the service is already running or whatever is the status
If you don't have "mysqld" as the executable try "mysql"

patna_in
New php-forum User
New php-forum User
Posts: 103
Joined: Sun Feb 06, 2005 10:54 am
Contact:

Postby patna_in » Thu Dec 22, 2005 5:56 am

Code: Select all

root@hostname # /etc/rc.d/init.d/mysqld start


This location don't contain mysql. I think u make a mistake. I'm using RedHat Enterprise Linux AS 3.0. I can view that mysql 3.23.x.x and some related files installed but i can't run mysql. In RedHat 9 / fedora ..mysql service can also be run from services . But services can't contain mysql .

Pls help..

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Postby ruturajv » Mon Dec 26, 2005 8:05 pm

try

Code: Select all

root@localhost # service mysql start

patna_in
New php-forum User
New php-forum User
Posts: 103
Joined: Sun Feb 06, 2005 10:54 am
Contact:

Postby patna_in » Fri Jun 30, 2006 11:51 am

I got error while type #mysql ... Something like /tmp/mysql.sock ..xxx does not exist/u don't have permission on it. That file is not exist and when I create manually then also not working. I manually install mysql but also not working


Return to “Server installation and configuration”

Who is online

Users browsing this forum: No registered users and 1 guest