DELETEFROM wp_postmeta WHERE post_id IN (SELECT id FROM wp_posts WHERE post_type ='revision'); DELETEFROM wp_term_relationships WHERE object_id IN (SELECT id FROM wp_posts WHERE post_type='revision'); DELETEFROM wp_posts WHERE post_type='revision';
5.下载scons并安装,然后通过scons安装serf以使svn支持http、https协议(Subversion no longer supports the neon http library with 1.8 and has moved exclusively to using the serf http library)
./configure --prefix=/usr/local/webserver/subversion --with-apr=/usr/local/apr/bin/apr-1-config --with-apr-util=/usr/local/apr-util/bin/apu-1-config --with-zlib --with-apxs=/usr/local/webserver/apache2/bin/apxs --enable-maintainer-mode --enable-mod-activation --with-serf=/usr/local/serf make && make install
启动或安装时报错svn: error while loading shared libraries: libserf-1.so.1: cannot open shared object file: No such file or directory,则cp /usr/local/serf/lib/libserf-1.so.1 /usr/local/webserver/subversion/lib并重新安装