Jump to content

Adding FreeType to Existing PHP Install Under Linux


Recommended Posts

I am migrating sites to the new linux dedicated server and discovered that PHP (4.4.6) was installed without FreeType or T1lib libraries for the GDIS module by the host. I use functions requiring these in many scripts and would like to add them.

 

I haven't ever done a build configuration of PHP under Linux before (only runtime), and my installs under Windows all used an automated system (XAMPP). I also want to make sure I don't do anything to cause or me the tech support staff extra work by messing up the current setup.

 

I have the original compile string they used from phpinfo, I know I need to add to that "--with-ttf[=DIR]" and "--with-t1lib[=DIR]". I know I need to get the two libraries and I have the websites for that.  This uses a DirectAdmin control panel and it seems all the MySQL and PHP are placed in a subfolder under DirectAdmin so I am not sure what the library directory [DIR] is/should be to place the package from FreeType.

 

But mostly, I do not know if I need to completely rerun the PHP configuration, or if this can be added in a simpler way. And if I need to redo the configuration, what the command would be to do that.

 

Any help or pointers beforehand to keep me from causing an issue later would be appreciated.

 

Thanks!

 

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.