PHP 5.3.28 released

ditto

Verified User
Joined
Apr 27, 2009
Messages
2,354
PHP 5.3.28 is released, the new version is already available in custombuild. Here is changelog: http://www.php.net/ChangeLog-5.php#5.3.28 Here is quote from http://php.net:

The PHP development team announces the immediate availability of PHP 5.3.28. This release fixes two security issues in OpenSSL module in PHP 5.3 - CVE-2013-4073 and CVE-2013-6420. All PHP 5.3 users are encouraged to upgrade to PHP 5.3.28 or latest versions of PHP 5.4 or PHP 5.5.
 
I ran into a problem upgrading PHP to 5.3.28

configure: error: freetype.h not found.

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file

Anyone?

./build freetype didn't help.
 
Last edited:
Are you running Centos or Fedora?
Then do:
Code:
yum install freetype
You shoud be able to upgrade php after that.
 
@Fred, You need to remove the file (or) link at this path:
/usr/local/include/ft2build.h

Then you can recompile PHP without errors.
 
I removed the file and then did
./build php n

but still

configure: error: freetype.h not found.

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
And freetype is installed.

oh, wait a sec...
 
After you removed the file ft2build.h, did you recompile FreeType? If not, try do ./build update and ./build freetype one more time, and see if PHP can compile then. It's worth trying.

Edit: I wrote freetype.h, but it should be ft2build.h, sorry.
 
Last edited:
Can you post the output of this command?:

Code:
ls -la /usr/local/include/freetype2/freetype/freetype.h

It should show a link to ../freetype.h like this:

Code:
[root@server ~]# ls -la /usr/local/include/freetype2/freetype/freetype.h
lrwxrwxrwx 1 root root 13 Jan 11 00:38 /usr/local/include/freetype2/freetype/freetype.h -> ../freetype.h
[root@server ~]#
 
Also make sure that there does not exist any folder/directory with "freeytpe" or "php" in its name at this path /usr/local/directadmin/custombuild/...

If there was some directory with freetype or php in its name, delete those and do "./build freetype" and "./build php n" again. Good luck, I am out of ideas now.
 
Thanks ditto :)

./build freetype fixed the problem.
I should have tried that before. :rolleyes:
 
@Richard G, But he did not recompile freetype after he deleted /usr/local/include/ft2build.h - so to summarize, it's needed to:

1: Delete /usr/local/include/ft2build.h

2: Then run:
Code:
./build update
./build freetype
./build php n
 
@Richard G, But he did not recompile freetype after he deleted /usr/local/include/ft2build.h - so to summarize, it's needed to:

1: Delete /usr/local/include/ft2build.h

2: Then run:
Code:
./build update
./build freetype
./build php n

That's right :-)
first delete the file and then rebuild freetype and build php.

Thanks guys. :-)
 
Back
Top