LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-11-2003, 06:07 AM   #1
P_Shep
LQ Newbie
 
Registered: Jun 2003
Location: Reading, UK
Distribution: RH 7.2
Posts: 26

Rep: Reputation: 15
apache still using old php?


After MUCH faffing and messing around, i FINALLY got php to ./configure make, and make install, without any errors.
My problem there was when i was using the --with-mysql command, it didn't like where i was pointing it - so i downloaded the mysql source, and pointed to the directory i extracted it in, and it seemed to accept that.

anyway, now when i do the old phpinfo() command, it is still saying 4.0.6 rather then 4.3.2.

can anyone give my any hints as to what need editing, where to start looking?

TIA,

Paul
 
Old 06-11-2003, 08:03 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,548

Rep: Reputation: 136Reputation: 136
u can recompile apache with the new php. maybe it will work if u just replace the old php shared object (libphp4.so or similar) with the new one. this may reside in APACHE/modules or /usr/lib/apache/. then restart the server.
good luck,
jens

Last edited by j-ray; 06-11-2003 at 08:04 AM.
 
Old 06-11-2003, 08:05 AM   #3
P_Shep
LQ Newbie
 
Registered: Jun 2003
Location: Reading, UK
Distribution: RH 7.2
Posts: 26

Original Poster
Rep: Reputation: 15
Just about to try that... currently downloading the latest apache server. fingers crossed...
 
Old 06-11-2003, 10:04 AM   #4
Ekim Gram
Member
 
Registered: Apr 2003
Location: West Islip, New York
Distribution: Slackware 10.0, Windows XP Pro
Posts: 128

Rep: Reputation: 15
It should work because I just did it the other day when the new version of PHP was released.
 
Old 06-11-2003, 10:14 AM   #5
P_Shep
LQ Newbie
 
Registered: Jun 2003
Location: Reading, UK
Distribution: RH 7.2
Posts: 26

Original Poster
Rep: Reputation: 15
well i've followed the guiid i found here: http://dan.drydog.com/apache2php.html

but i seem to be missing the libphp4.so file. where it should be theres a libphp4.a and .la file.

how do i build it?
 
Old 06-11-2003, 01:10 PM   #6
ugenn
Member
 
Registered: Apr 2002
Posts: 549

Rep: Reputation: 30
in the first place, was ur apache configured with dso support?
u will need to rebuild apache otherwise?
 
Old 06-11-2003, 01:35 PM   #7
P_Shep
LQ Newbie
 
Registered: Jun 2003
Location: Reading, UK
Distribution: RH 7.2
Posts: 26

Original Poster
Rep: Reputation: 15
Doesn't look like it, i'll try it..
 
Old 06-12-2003, 04:25 AM   #8
P_Shep
LQ Newbie
 
Registered: Jun 2003
Location: Reading, UK
Distribution: RH 7.2
Posts: 26

Original Poster
Rep: Reputation: 15
no, tried adding the --enable-module=dso option (removing the so option) same result, no .so file produced.
Getting rapidly fed-up with this...
trying apache v1.3...
 
Old 06-12-2003, 06:25 AM   #9
P_Shep
LQ Newbie
 
Registered: Jun 2003
Location: Reading, UK
Distribution: RH 7.2
Posts: 26

Original Poster
Rep: Reputation: 15
oops. spelt apxs2 wrong

So php is now working, but now my phpBB is saying 'Critcal error cant connect to the database'

the database has been upped from 3 -> 4 to get replication working, which is the whole reason for doing all this.

Phpinfo show that mysql has been installed as one of the build options (as it should).

Any pointers as to what i should be looking for?
 
Old 06-12-2003, 06:33 AM   #10
P_Shep
LQ Newbie
 
Registered: Jun 2003
Location: Reading, UK
Distribution: RH 7.2
Posts: 26

Original Poster
Rep: Reputation: 15
they don't make it easy for you really!

the mysql socket was pointing to the temp dir =/
 
  


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
Apache 2, PHP 5, SuSE 9.2 - cannot run php files dickohead Linux - Networking 6 06-28-2006 10:25 AM
php apache or php cgi - php learner rblampain Linux - Security 3 12-17-2004 11:10 PM
slackware, apache and PHP from .tgz - problems with PHP szymon Slackware 2 09-06-2004 04:57 PM
reinstalled apache, php, still no php support SuSE 8.2 hindenbergbaby Linux - Software 1 10-14-2003 01:42 PM
php-nuke with apache php mysql c0c0deuz Linux - Software 0 03-30-2003 06:23 AM


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