LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 11-09-2006, 06:07 AM   #1
dradept
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, 10:13 AM   #2
adam525
LQ Newbie
 
Registered: Nov 2006
Posts: 19

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, 04:10 AM   #3
dradept
LQ Newbie
 
Registered: Nov 2006
Posts: 2

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

httpd -l returns

Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c


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.
 
  


Reply

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


All times are GMT -5. The time now is 11:12 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration