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 |
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 |
Just about to try that... currently downloading the latest apache server. fingers crossed...
|
It should work because I just did it the other day when the new version of PHP was released.
|
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? |
in the first place, was ur apache configured with dso support?
u will need to rebuild apache otherwise? |
Doesn't look like it, i'll try it..
|
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... |
:) 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? |
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. |