Duncan Patton a Campbell wrote:
I've just installed a server using current and have found that
there are problems with session_destroy(); such that is just
does not work.
The Apache is the installed (1.3) version and PHP is from
packages.
I have tested the same software and setup on a 4.5 Release
(no patches) and there are no problems with sessions.
Dhu
If you have the very latest apache, you will need to rebuild apache
modules from ports, not packages.
(at some point packages will be updated if not already)
The trick that made all clear for me was:
check 'ls -l /usr/lib/apache/modules', the following are from base:
-r--r--r-- 1 root bin 114973 Feb 25 22:54 libproxy.so
-r--r--r-- 1 root bin 7736 Feb 25 22:54 mod_auth_anon.so
-r--r--r-- 1 root bin 7847 Feb 25 22:54 mod_auth_db.so
-r--r--r-- 1 root bin 12046 Feb 25 22:54 mod_auth_dbm.so
-r--r--r-- 1 root bin 25865 Feb 25 22:54 mod_auth_digest.so
-r--r--r-- 1 root bin 12005 Feb 25 22:54 mod_cern_meta.so
-r--r--r-- 1 root bin 11862 Feb 25 22:54 mod_define.so
-r--r--r-- 1 root bin 12196 Feb 25 22:54 mod_digest.so
-r--r--r-- 1 root bin 12197 Feb 25 22:54 mod_expires.so
-r--r--r-- 1 root bin 7357 Feb 25 22:54 mod_headers.so
-r--r--r-- 1 root bin 20276 Feb 25 22:54 mod_info.so
-r--r--r-- 1 root bin 7357 Feb 25 22:54 mod_log_agent.so
-r--r--r-- 1 root bin 7594 Feb 25 22:54 mod_log_referer.so
-r--r--r-- 1 root bin 24150 Feb 25 22:54 mod_mime_magic.so
-r--r--r-- 1 root bin 12251 Feb 25 22:54 mod_mmap_static.so
-r--r--r-- 1 root bin 57862 Feb 25 22:54 mod_rewrite.so
-r--r--r-- 1 root bin 12656 Feb 25 22:54 mod_speling.so
-r--r--r-- 1 root bin 11827 Feb 25 22:54 mod_unique_id.so
-r--r--r-- 1 root bin 13283 Feb 25 22:54 mod_usertrack.so
-r--r--r-- 1 root bin 12005 Feb 25 22:54 mod_vhost_alias.so
any others will be from packages, make sure they are dated from
after you rebuilt/reinstalled things.
I had trouble getting rid of an old mod_gzip.so
I had to work hard deleting *.tgz's from the four places they pop up
Thanks to Stuart Henderson for that tip
--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
-- Robert Heinlein