FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


How to Install GD in local apache server ? | hELP !!





theem
If somebody knows how to install gd in
apache 2.0.59 (windows xp )
php 4.4.6
mysql 4.1.22

Please help !
Arrow
MrBlueSky
If you want to do it the easy way, install xampp or easyphp. They come with all the bells and whistles including GD and are very easy to install.
JayBee
just edit php.ini
if you don't know where it is, try to create simple php page with
Code:
<?php phpinfo(); ?>

and search for php.ini

set the right path of extensions
Code:
extension_dir = "./"

try to set absolute path to c:\<your php instalation dir>\extensions

and uncoment this line
Code:
extension=php_gd2.dll


HTH
theem
JayBee wrote:
just edit php.ini
if you don't know where it is, try to create simple php page with
Code:
<?php phpinfo(); ?>

and search for php.ini

set the right path of extensions
Code:
extension_dir = "./"

try to set absolute path to c:\<your php instalation dir>\extensions

and uncoment this line
Code:
extension=php_gd2.dll


HTH


I have done that !
But still its not working !!!

Anyother ways ? Confused
JayBee
theem wrote:
JayBee wrote:
just edit php.ini
if you don't know where it is, try to create simple php page with
Code:
<?php phpinfo(); ?>

and search for php.ini

set the right path of extensions
Code:
extension_dir = "./"

try to set absolute path to c:\<your php instalation dir>\extensions

and uncoment this line
Code:
extension=php_gd2.dll


HTH


I have done that !
But still its not working !!!

Anyother ways ? Confused


some points:
- there is no other way how to enable module
- after all changes in php.ini, you must restart apache server
- path extension_dir must be correct absolute path to the extensions dir
- if you go to the direcotry where you have php installed
    run cmd
    in commandline
    run php -m
    there should not be any error and there should be listed gd

- check your php.ini location (if you modified the correct one because it schould be in other place then c:\windows\)
- check your extensions directory if there is a file php_gd2.dll

if you still have any problem try to move php4ts.dll to the windows/system32 direcotry, but it is the last chance

of course, you can migrate to the prebuild, preconfigured lamers package, wont you?
Related topics
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.