poobear Posted September 23, 2010 Share Posted September 23, 2010 Hi all, I am trying to setup a web page that requires various PHP extension installed. I have used this before on Windows IIS 6.0/7.0/7.5. It requires GD, IMAP (just to mention a few. I know in Windows you need to specify the folder that the extensions are installed within the php.ini file. I have found a folder /usr/lib/php5/20090626+lfs But that appears to be a red herring. Can anyone point me in the correct direction and also if I need to specify the folder location at all on Ubuntu. Al Quote Link to comment Share on other sites More sharing options...
trq Posted September 24, 2010 Share Posted September 24, 2010 PHP will be configured to load extensions properly out of the box on Debian based systems, you do however have to install extensions as seperate packages. See.... apt-cache search php To see what extensions are available, then install them using.... sudo apt-get install php5-gd php5-imap Don't forget to update your apt cache firstly. sudo apt-get update Quote Link to comment Share on other sites More sharing options...
JREAM Posted October 5, 2010 Share Posted October 5, 2010 I can't remember but you can install GD this way: sudo apt-get install php5-gd /etc/init.d/apache2 restart But i installed PHP with: sudo apt-get install php5 libapache2-mod-php5 and GD and a ton of mods were included. The php INI file is I believe here: /etc/php5/apache2/php.ini Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.