Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-09-2006, 05:07 AM   #1
LQ Newbie
Registered: Nov 2006
Posts: 2

Rep: Reputation: 0
FC5 restart httpd stops mysql

I recently purchased a dedicated server with Fedora Core 5 and PHP 5 installed.

I proceded to edit php.ini and set global_variables on and error-display to on, while I develope some code but after issuing a 'service httpd restart' phpinfo showed 'without-mysql'.

After trying several things I opted for a rebuild to get the server back to it's original state.

Once rebuilt phpinfo shows 'with-mysql' but I need to edit the php.ini and am a little confused why a restart would not reload all the modules.

Am I missing something? I am new to linux and am struggling a little in this environment.

Can anyone point me in the right direction.
Old 11-10-2006, 09:13 AM   #2
LQ Newbie
Registered: Nov 2006
Posts: 22

Rep: Reputation: 0
From the information given, I'm going to assume that the modules were statically compiled into apache and not built as DSO's.

You should be able to check this with httpd -l

If you see your php module listed, it's compiled statically.

I'm making a LOT of assumptions here, since you didn not include your apache version (I'm assuming 2.x.x).
Old 11-12-2006, 03:10 AM   #3
LQ Newbie
Registered: Nov 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for the response,

httpd -l returns

Compiled in modules:

Do you know a quick way to install php-mysql, phpinfo is showing without-mysql and I desperately need it installed.

Have tried countless installs from forums without success.

Thanks again for your help.


fc5, mysql, php

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
httpd service restart wants password Tcat Linux - Newbie 16 09-08-2006 01:47 PM
httpd restart error sandeshshrestha Linux - General 4 03-27-2006 07:09 AM
HTTPD stops resonding until I use the console misunderstood Linux - Newbie 3 11-17-2005 03:56 PM
httpd restart headache; netstat Swakoo Linux - Networking 1 10-25-2005 08:08 AM
Failed Httpd restart namboi Linux - Newbie 5 05-07-2005 07:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:42 PM.

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