Have 5.2.1 in stalled, need 5.3 as well

Forum for you who has PHP installation issues

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 21
Joined: Thu Apr 12, 2012 8:05 am

Thu Apr 12, 2012 11:40 am

You can simply compile php in another prefix like this:

./configure --prefix=/var/lib/phpVersions/php-5.2.17 --with-config-file-path=/var/lib/phpVersions/php-5.2.17/etc/ --with-config-file-scan-dir=/var/lib/phpVersions/php-5.2.17/php.d [ your other options ]

and configure apache, nginx or so to use that prefix for .php5 files or so.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest