LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-04-2013, 05:02 AM   #1
tissam89
Member
 
Registered: Mar 2013
Posts: 47

Rep: Reputation: Disabled
Problem during restarting Apache


Hi ,

When i restart my apache , I have to errors on my error.log file :

Code:
[Thu Apr 04 11:48:13 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Apr 04 11:48:13 2013] [notice] Digest: generating secret for digest authentication ...
[Thu Apr 04 11:48:13 2013] [notice] Digest: done
PHP Warning:  Module 'ldap' already loaded in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules//usr/lib64/php/modules/mysql.so' - /usr/lib64/php/modules//usr/lib64/php/mo$
[Thu Apr 04 11:48:13 2013] [notice] Apache/2.2.23 (Unix) DAV/2 PHP/5.1.6 configured -- resuming normal operations
[Thu Apr 04 11:48:59 2013] [error] [client @] File does not exist: /var/www/html/system.xml
[Thu Apr 04 11:48:59 2013] [error] [client @] File does not exist: /var/www/html/u_indexmain.htm
[Thu Apr 04 11:48:59 2013] [error] [client @] File does not exist: /var/www/html/systemunit.xml
[Thu Apr 04 11:49:00 2013] [error] [client @] File does not exist: /var/www/html/tcs
[Thu Apr 04 11:49:00 2013] [error] [client @] File does not exist: /var/www/html/system.xml
[Thu Apr 04 11:49:02 2013] [error] [client @] File does not exist: /var/www/html/system.xml
[Thu Apr 04 11:49:02 2013] [error] [client @] File does not exist: /var/www/html/u_indexmain.htm
my /etc/php.ini contain the good directory :

extension_dir = "/usr/lib64/php/modules"


Please, how can I resolve the problem?

Last edited by tissam89; 04-04-2013 at 05:03 AM.
 
Old 04-04-2013, 05:34 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
PHP Warning: PHP Startup: Unable to load dynamic library /usr/lib64/php/modules//usr/lib64/php/modules/mysql.so
It's added the strings /usr/lib64/php/modules/ and /usr/lib64/php/modules/mysql.so
so find where you specified /usr/lib64/php/modules/mysql.so and change to mysql.so .
 
Old 04-04-2013, 05:39 AM   #3
tissam89
Member
 
Registered: Mar 2013
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by linosaurusroot View Post
It's added the strings /usr/lib64/php/modules/ and /usr/lib64/php/modules/mysql.so
so find where you specified /usr/lib64/php/modules/mysql.so and change to mysql.so .
I didn't edit anything .

on my php.ini, i have thos extension :
extension=ldap.so
extension=mysql.so


How can i find where is specidied /usr/lib64/php/modules/mysql.so please?
 
Old 04-04-2013, 10:14 AM   #4
tissam89
Member
 
Registered: Mar 2013
Posts: 47

Original Poster
Rep: Reputation: Disabled
I had to edit it here !
Code:
/etc/php.d/mysql.ini
Thank you so much for your help LINO
 
  


Reply



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
Error during restarting apache your_shadow03 Linux - Newbie 2 04-14-2010 09:43 PM
Apache keeps restarting and slows down breadfan311 Linux - Server 0 05-06-2008 03:01 AM
problem restarting apache merrsh1 Debian 3 06-04-2007 06:44 AM
Restarting apache fof3 Linux - Newbie 2 07-22-2006 10:01 PM
restarting Apache Xiled Linux - Networking 7 10-09-2001 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:01 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
Open Source Consulting | Domain Registration