#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    10
    Rep Power
    0

    Phpinfo completnes


    In my php.ini file I have these lines uncommented

    extension=php_mysql.dll
    extension=php_mysqli.dll
    Yet when I run my phpinfo function I do not see them listed.
    Is this the norm?
  2. #2
  3. Transforming Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,142
    Rep Power
    9398
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    10
    Rep Power
    0
    Originally Posted by requinix
    No it's not. Did you restart the web server?
    Yes, I rebooted. I made sure there is only one php.ini file. I do have one concern and that is how you set the location for the location of the ini file. The statement that I found was:
    PHPIniDir "c:/php"
    Is that the only one needed?

    The location of the two libraries should be in the ext directory, correct?
    Thanks!
    wbr
  6. #4
  7. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,317
    Rep Power
    7170
    phpinfo() will tell you the path to the php.ini file. I would use that, rather than trying to change it.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    10
    Rep Power
    0
    Originally Posted by E-Oreo
    phpinfo() will tell you the path to the php.ini file. I would use that, rather than trying to change it.
    Yes, I found that line in the phpinfo() output.

    I tried this experiment. I repeatedly commented and uncommented the line in the php.ini file that loads the gd_library:
    extension=php_gd2.dll.
    I then ran the phpinfo() function and the text appeared and disappeared in the output correctly. So now I am more confused.
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    10
    Rep Power
    0
    Originally Posted by williamrouse
    Yes, I found that line in the phpinfo() output.

    I tried this experiment. I repeatedly commented and uncommented the line in the php.ini file that loads the gd_library:
    extension=php_gd2.dll.
    I then ran the phpinfo() function and the text appeared and disappeared in the output correctly. So now I am more confused.
    I was able to resolve this issue by adding the PHP directory to the system path.

IMN logo majestic logo threadwatch logo seochat tools logo