Installing GD in EasyApache

tunapo
tunapo used Ask the Experts™
on
I followed this steps to try installing Graphic Library but no luck
1) Loged into WHM ---> EasyApache (Apache Update)
2)Selected PHP Security ---> Select PHP and then at the option screen where i was ment to select GD using space bar (This option is not available) please help me i have attached a screenshot of the option page Screen-Shot-2011-12-22-at-4.23.4.png Screen-Shot-2011-12-22-at-4.23.4.png Screen-Shot-2011-12-22-at-4.24.0.png
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Is there another menu other than "PHP Security" - that doesn't sound like where it'd be - there should be just a generic "PHP" menu that will have options like GD, mysql, FTP, etc.

Commented:
Thank you for your question. Do you have shell access? If so I can provide you with a quick walk-through on how to get this done easily and quickly. I do not recommend using WHM when compiling Apache/PHP. In the event something happens with your Internet connection things will become broken. Whereas, if you were in shell you could run easyapache via a screen session which would survive you if your Internet connection dropped.

Best Regards,

//bashtech

Author

Commented:
Yes I do have SSH access to the server thank you in advance
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Commented:
Thank you for your reply. Please give me about 30 minutes if possible to create this installation walk-through for you. I will be including screenshots for you to view as well.
Commented:
Thank you for waiting patiently. Please note that in this walk-through the settings I have checked are my own personal preferences. You should only select these preferences if they are what you want and what you need. Along the way I will show you where the GD option is.

1) Please log into your server via SSH. Now lets start a screen session:

screen -R easyapache

Open in new window

Start Screen Session
If it says screen is not found, you can install this easily by running the following command:

yum install -y gcc lynx screen

Open in new window


**the above install will complete on its own without further need for intervention. Once installed then you can run the screen command as demonstrated above in the screen shot.

2) Before you begin please take note of your PHP version:

php -v

Open in new window


**Once noted you are ready to run the next command:

/scripts/easyapache

Open in new window

Check PHP Version / Run EasyApache
3) On the next screen you will see options, navigate with your arrow keys, spacebar to select boxes and the tab key to navigate to other screen options.

**In this example I chose PHP Encryption and Image Manipulation.

 Choose Build Profile
4) Tab over to 'Start customizing based on profile'.
5) Select 'Apache 2.2' and tab to next step.
 Choose Apache build.6) Select 'PHP5' unless you need PHP4. Then tab to next step.
 Choose PHP build.7) On this screen, select what suits you. Then tab over to 'Exhaustive Options List'.
 Select your Short Options.8) This next screen is a big list. Simply arrow down till you find the GD option. Please note that you can arrow down past what is shown on the screen.
 Select your Exhaustive Options.
***When you have selected all your Exhaustive Options, please tab to Next Step.

9) Now for the moment of glory. If you are sure everything is how you want it, then tab over to 'Save and Build'
 Ready to roll out your new build.
From here you won't have to do anything else but since and watch all the data fly across your screen. This can last anywhere from 20 minutes on up to an hour. Just sit back and relax. It will let you know when it is done. When it is done you can check your new PHP version:

php -v

Open in new window


Now you will want to check to see if the GD module installed. Run the command below to see what modules are compiled into PHP:

php -m

Open in new window


The output will look something like what I have shown below. Please take note that our module listings will be different:

root@soma [~]# php -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
ereg
exif
filter
ftp
gd
gettext
hash
iconv
imap
json
libxml
mbstring
mcrypt
mysql
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
posix
pspell
Reflection
session
SimpleXML
soap
sockets
SPL
SQLite
sqlite3
standard
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
Zend Guard Loader
zlib

[Zend Modules]
Zend Guard Loader

Open in new window


Good luck and happy compiling!

Best Regards,

//bashtech

Author

Commented:
Great it worked

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial