LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 08-01-2006, 10:11 AM   #1
scv
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Rep: Reputation: 0
Angry Apache2.2.2 doesn't recognize php5.1.4 in Mandriva2007.0


I have upgrade to Mandriva 2007.0,from 2006.0,and I also upgraded apache and php to their last versions.
But now apache doesn't recognize anymore php, becuase all the browsers I've tried out instead of showing me the result of the php scripts it invites me to download the php file.
If I add this line into httpd.conf:
LoadModule php5_module extramodules/mod_php5.so
when I restart apache,it says that php module is already like this:
[warn] module php5_module is already loaded, skipping

Here some part of my error_log file:
After I add the line LoadModule php5_module extramodules/mod_php5.so in httpd.conf
Quote:
[Tue Aug 01 17:54:21 2006] [warn] child process 4413 still did not exit, sending a SIGTERM
[Tue Aug 01 17:54:21 2006] [warn] child process 4414 still did not exit, sending a SIGTERM
[Tue Aug 01 17:54:21 2006] [warn] child process 4415 still did not exit, sending a SIGTERM
[Tue Aug 01 17:54:21 2006] [warn] child process 4416 still did not exit, sending a SIGTERM
[Tue Aug 01 17:54:21 2006] [warn] child process 4417 still did not exit, sending a SIGTERM
[Tue Aug 01 17:54:21 2006] [warn] child process 4418 still did not exit, sending a SIGTERM
[Tue Aug 01 17:54:21 2006] [warn] child process 4419 still did not exit, sending a SIGTERM
[Tue Aug 01 17:54:21 2006] [warn] child process 4420 still did not exit, sending a SIGTERM
[Tue Aug 01 17:55:12 2006] [notice] core dump file size limit raised to 4294967295 bytes
[Tue Aug 01 17:55:13 2006] [warn] module php5_module is already loaded, skipping
[Tue Aug 01 17:55:13 2006] [notice] Digest: generating secret for digest authentication ...
[Tue Aug 01 17:55:13 2006] [notice] Digest: done
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/dom.so' - /usr/lib/php/extensions/dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/smbauth.so' - /usr/lib/php/extensions/smbauth.so: undefined symbol: _zval_copy_ctor in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/xsl.so' - /usr/lib/php/extensions/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/zip.so' - libzip.so.0: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: date_time: Unable to initialize module\nModule compiled with module API=20050617, debug=0, thread-safety=0\nPHP compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning: Module 'eAccelerator' already loaded in Unknown on line 0
[Tue Aug 01 17:55:22 2006] [notice] Apache/2.2.2 (Mandriva Linux/PREFORK-5mdv2007.0) configured -- resuming normal operations
and when I removed that line I have:
Quote:
[Tue Aug 01 18:05:29 2006] [warn] child process 20854 still did not exit, sending a SIGTERM
[Tue Aug 01 18:05:29 2006] [warn] child process 20949 still did not exit, sending a SIGTERM
[Tue Aug 01 18:05:29 2006] [warn] child process 21018 still did not exit, sending a SIGTERM
[Tue Aug 01 18:05:29 2006] [warn] child process 32367 still did not exit, sending a SIGTERM
[Tue Aug 01 18:07:08 2006] [notice] core dump file size limit raised to 4294967295 bytes
[Tue Aug 01 18:07:09 2006] [notice] Digest: generating secret for digest authentication ...
[Tue Aug 01 18:07:09 2006] [notice] Digest: done
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/dom.so' - /usr/lib/php/extensions/dom.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/smbauth.so' - /usr/lib/php/extensions/smbauth.so: undefined symbol: _zval_copy_ctor in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/xsl.so' - /usr/lib/php/extensions/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/zip.so' - libzip.so.0: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: date_time: Unable to initialize module\nModule compiled with module API=20050617, debug=0, thread-safety=0\nPHP compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning: Module 'eAccelerator' already loaded in Unknown on line 0
[Tue Aug 01 18:07:22 2006] [notice] Apache/2.2.2 (Mandriva Linux/PREFORK-5mdv2007.0) configured -- resuming normal operations
 
Old 09-02-2006, 05:15 AM   #2
scv
LQ Newbie
 
Registered: Aug 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Smile Problem solve

I solve the problem with Apache/2.2.3 and php5.1.4.
But I don't know what happend.
 
  


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
Apache2 and php5 not working RestInPieces Fedora 2 06-27-2006 06:27 PM
php5 not working on apache2 akp913 Debian 1 06-26-2006 03:28 AM
Apache2 and PHP5 SpiderIRE Linux - Software 3 09-30-2005 03:25 PM
Apache2 and PHP5 rul3r Slackware 7 09-11-2005 05:21 PM
Apache2 + PHP5.0.3 24jedi *BSD 1 07-21-2005 03:07 PM


All times are GMT -5. The time now is 11:27 AM.

Main Menu
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