Package Details: php53 5.3.29-6

Git Clone URL: https://aur.archlinux.org/php53.git (read-only)
Package Base: php53
Description: An HTML-embedded scripting language - Legacy 5.3 version
Upstream URL: http://php.net
Licenses: PHP
Provides: php=5.3.29
Submitter: None
Maintainer: felixonmars (Volkan)
Last Packager: Volkan
Votes: 8
Popularity: 0.803195
First Submitted: 2012-06-24 22:51
Last Updated: 2017-04-14 13:10

Required by (406)

Sources (26)

Latest Comments

Volkan commented on 2017-04-14 13:12

Hey all!

I've merged zlatkig's changes into the aur. PHP is now running as php53. The systemd service is included.

CAUTION: You need to adjust paths in your webserver after updating.

3KyNoX commented on 2017-04-09 12:16

Hello,

Compile successfully, php -v return right version as expected.
Before compiling it added as dependency apache 2.4.25-1, html page works but no php files.

Then I added to httpd.conf :

LoadModule php5_module modules/libphp5.so
AddHandler php5-script php
Include conf/extra/php5_module.conf

But httpd -t return when I restart apache :

httpd: Syntax error on line 157 of /etc/httpd/conf/httpd.conf: Cannot load modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: undefined symbol: core_global_id

Any idea ?

LithiumPT commented on 2016-11-09 14:22

@zlatkig, awesome work! really!
@felixonmars, maybe you could update the package with zlatkig's snapshot?

zlatkig commented on 2016-09-26 08:42

I have modified this package along the lines of php56, allowing it to coexist with other PHP versions. The snapshot is here: https://zlatkovic.com/php53.tar.gz

mindcat commented on 2016-07-17 15:18

cat <<EOF > /etc/systemd/system/multi-user.target.wants/php-fpm.service
[Unit]
Description=The PHP FastCGI Process Manager
After=syslog.target network.target

[Service]
Type=simple
PIDFile=/run/php-fpm.pid
PrivateTmp=true
ExecStart=/usr/bin/php-fpm --nodaemonize --pid /run/php-fpm.pid
ExecReload=/bin/kill -USR2 $MAINPID

[Install]
WantedBy=multi-user.target
EOF
#fix no systemd service file

alpha.niner commented on 2016-06-15 18:46

Regarding the freetype issue, I think the correct solution is to not apply freetype-path.patch. TL;DR(ThePatch), it breaks the path now rather than fixing it. :P

Alad commented on 2016-05-10 16:29

Why not get the ubuntu .debian archive, and apply patches in it with quilt? That should simplify things.

Also you should quote srcdir and pkgdir so the build doesn't fail in directories with spaces.

LithiumPT commented on 2016-01-26 15:20

kamahl, this should make it compile cleanly:
ln -s /usr/include/freetype2/freetype/freetype.h /usr/include/freetype2/freetype.h

felixonmars, would it be possible to make this package compatible with standard php install? Having both php (currently at version 7) and php53 coexist would be awesome! Maybe you could take a look at how the php56 package does it, as it can be installed side by side with php(7).

kamahl commented on 2016-01-14 12:52

I am getting the following error during configure:

configure: error: freetype.h not found.

I have the package freetype2 installed.

felixonmars commented on 2014-11-07 06:36

Hrm, since I don't find an environment to test it myself, I'll add a working service file if suggested.

All comments