<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takeru-c</author_name>
  <author_url>https://blog.hatena.ne.jp/takeru-c/</author_url>
  <blog_title>パンプキンスパイスラテ</blog_title>
  <blog_url>https://pumpkin.hatenablog.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>MySQLのドライバーが、Apache経由で、phpinfo()で確認すると「PDO drivers mysql」と有効になっているのに、コマンドプロンプトから「php -m」で確認すると、mysqlが認識されず、コマンド経由のPHPからMySQLにアクセスできずにエラーになっていた。 調べても調べても原因がわからず。 ふと、php.iniが複数存在して設定が違うのではと思い、Cドライブ内を検索すると、「c:\Windows\」と「c:\php\」に2つ存在して、ずっと触っていたのは、「c:\Windows\」というオチ。 「c:\php\」の方のphp.iniを削除して解決した。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpumpkin.hatenablog.jp%2Fentry%2F20111015%2F1318685695&quot; title=&quot;WindowsにPHPをインストールした際に、PHP.iniでハマったのでメモ - パンプキンスパイスラテ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-10-15 22:34:55</published>
  <title>WindowsにPHPをインストールした際に、PHP.iniでハマったのでメモ</title>
  <type>rich</type>
  <url>https://pumpkin.hatenablog.jp/entry/20111015/1318685695</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
