Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2004
    Location
    Hellas
    Posts
    166

    php.ini configuration

    Hello,
    I want to configure php.ini for register global and to enable phpgd2.dll extension
    1st I found many php.ini files on my server, which one should I edit?
    2ns There is no pgpgd2 extension on these php.ini files only phpgd.dll is the same extension?

    Thanks in advance
    I have CentOS

  2. #2
    Join Date
    Apr 2002
    Location
    UK
    Posts
    429
    In answer to (1) it's probably something like /usr/local/lib/php.ini , but if you run phpinfo it'll tell you which one is being used.

    If you've never come across phpinfo before, just upload the following code into a file:
    PHP Code:
    <?php phpinfo(); ?>
    And call it from the browser. The path to php.ini should be displayed next to the Configuration File (php.ini) Path field.

    I'm not entirely sure what you're getting at with phpgd but GD is normally compiled into PHP via the --with-gd option. The phpinfo stuff mentioned above will also show you what, if any, GD support you have compiled into your PHP.

  3. #3
    Join Date
    Jul 2004
    Location
    Reporting Live from Marrz
    Posts
    254
    Dyrer, you can't enable phpgd2.dll extension on a 'nix box - it is a Windows extension.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •