dongzuoyue6556 2009-10-06 14:49
浏览 44

apache2和神奇的php二进制文件

i updated and installed php to 5.2.11 yet 5.1.2 was still being used. I did a search of all php5 binaries and replaced it with a hardlink to php (which says 5.2.11 when writing -v). However, after doing a cold boot apache2 is still using 5.1.2. AFAIK i dont have any binaries left of 5.1.2 and my current json code doesnt run (in apache... does when i type php(5) code.php)

  • 写回答

1条回答 默认 最新

  • dou4121 2009-10-06 15:13
    关注

    If you are running php as an apache module then the binary will be different from the cli binary (it will be an apache module file). On my machine it is /usr/lib/apache2/modules/libphp5.so, you might want to check that this (or equivalent) is up to date.

    评论

报告相同问题?