The process γγ→ppˉK+K− and its intermediate processes are measured for the first time using a 980~fb−1 data sample collected with the Belle detector at the KEKB asymmetric-energy e+e− collider. The production of ppˉK+K− and a Λ(1520)0(Λˉ(1520)0) signal in the pK−~(pˉK+) invariant mass spectrum are clearly observed. However, no evidence for an exotic baryon near 1540~MeV/c2, denoted as Θ(1540)0~(Θˉ(1540)0) or Θ(1540)++~(Θ(1540)−−), is seen in the pK−~(pˉK+) or pK+~(pˉK−) invariant mass spectra. Cross sections for γγ→ppˉK+K−, Λ(1520)0pˉK++c.c. and the products σ(γγ→Θ(1540)0pˉK++c.c.)\BR(Θ(1540)0→pK−) and σ(γγ→Θ(1540)++pˉK−+c.c.)\BR(Θ(1540)++→pK+) are measured. We also determine upper limits on the products of the χc0 and χc2 two-photon decay widths and their branching fractions to ppˉK+K− at the 90\% credibility level.