Jump to content

on compiling <?php var bump(gd_info();?> im getting the error


Recommended Posts

Make sure you have restarted your webserver (Apache or IIS) when modifying the php.ini. Also ensure your changes have made any affect by running the phpinfo() function within a script. If GD has loaded you should find a GD subheading. If you don't have a GD subheading then the extension hasn't loaded.

 

I would first check that PHP is reading the php.ini you are currently modifying by looking at the Loaded Configuration File line when running phpinfo. The path stated should be the same path as the php.ini you are editing. If it is set as C:\WINDOWS or (none) then there is your problem, php is not reading your php.ini. I would recommend adding PHP to the PATH Environment Variable make sure your php.ini is located in your PHP installation folder and restart your computer. Run phpinfo again and check the Loaded Configuration File line is set correctly.

 

If the Loaded Configuration File is set correctly and GD is still not showing up. Then enable a setting called display_startup_errors within the php.ini. Restart your webserver, whilst your server restarts you should find errors displayed if PHP is having any issues whilst loading.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.