LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apache still using old php? (https://www.linuxquestions.org/questions/linux-software-2/apache-still-using-old-php-64942/)

P_Shep 06-11-2003 06:07 AM

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

j-ray 06-11-2003 08:03 AM

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

P_Shep 06-11-2003 08:05 AM

Just about to try that... currently downloading the latest apache server. fingers crossed...

Ekim Gram 06-11-2003 10:04 AM

It should work because I just did it the other day when the new version of PHP was released.

P_Shep 06-11-2003 10:14 AM

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?

ugenn 06-11-2003 01:10 PM

in the first place, was ur apache configured with dso support?
u will need to rebuild apache otherwise?

P_Shep 06-11-2003 01:35 PM

Doesn't look like it, i'll try it..

P_Shep 06-12-2003 04:25 AM

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...

P_Shep 06-12-2003 06:25 AM

:) oops. spelt apxs2 wrong :D

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?

P_Shep 06-12-2003 06:33 AM

they don't make it easy for you really!

the mysql socket was pointing to the temp dir =/


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