Jump to content

dev-amany

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

dev-amany's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Yes, I used the zipped file. anyway I obtained the missing file and connection is working now.... Thank you PFMaBiSmAd and akitchin
  2. There's some progress now, I guess I found the problem, Thanks to you and phpinfo() I found that the extension_dir which is mentioned in phpinfo() is different than the one I extracted the extensions and pointing the php.ini to, however taking another look in the file system i found there's a missing file php_pdo_mysql that's what I'm gonna do now is to search for it over the internet and place it in the extensions' folder. Thank you akitchin for your help
  3. Ok, I've checked it and here's the location : extension_dir = "c:/php/ext" which is correct, and i made sure that the extension files needed are located on the folder... now what should I do? Thank you
  4. Well, no and not sure about how to do it, would you please guide me? thanks
  5. Hi I am a new php developer and making my 1st PDO connection. I am working on Windows platform, I have PHP 5.2.9 running on Apache server with MySQL 5.1.32. I activated the following modules in the php.ini : extension=php_pdo.dll extension=php_mysql.dll extension=php_pdo_mysql.dll I am trying to create a new PDO object by the following line : $db = new PDO("mysql:dbname=schema;host=localhost","user", "password"); when I run the project a Fatal error is thrown : "Class 'PDO' not found in .....(the file path in local disk)........... " I don't know how to fix the problem, can anyone help? thanks in advance yours Amany
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.