PHP Compile options for php-5.2 documented anywhere?

sampas

Joined: 2008-11-12
Posts: 4
Posted: Thu, 2009-11-12 03:59

I am migrating my web server to a newer box with a newer version of Apache. After restoring the database and rsynching the files, everything is working except logging in. I had captcha enabled on the old server, and the stock PHP5 compile in FC10 does not include GD. My other customizations all seem to be working.

Does anyone have the .compile line for php 5.2 that has everything for Gallery2? If I'm going to recompile PHP, I'd like to get it right the first time and not recompile after hitting the next error.

Thanks,
Larry

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2009-11-12 04:09

Well on Debian I simple did apt-get install php5-gd :)

Perhaps yum install php5-gd or what ever the equivalent is will work for you
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
sampas

Joined: 2008-11-12
Posts: 4
Posted: Thu, 2009-11-12 12:10

Running Transaction
Installing : t1lib-5.1.2-2.fc9.i386
Installing : php-gd-5.2.9-2.fc10.i386

But still no captcha picture. I'm going to try disabling captcha from my original install and migrating again. The .configure line would still be useful.

 
sampas

Joined: 2008-11-12
Posts: 4
Posted: Thu, 2009-11-12 14:48

Update: You neeed to restart apache after the yum install php5-gd. Then it works. Also, the php script here: http://www.dagondesign.com/articles/checking-for-gd-support-on-your-server/comment-page-2/ is useful for checking GD support.