problem installing multiple php versions

uvhost

Verified User
Joined
Mar 26, 2006
Messages
58
Location
UK
Hi,
I'm following this tutorial https://help.directadmin.com/item.php?id=2094 to enable multiple php version in my vps, but it gets stop in this section


Code:
Installing psr-1.0.0 PHP extension for PHP 56...
Found /usr/local/directadmin/custombuild/psr-1.0.0.tgz
Extracting /usr/local/directadmin/custombuild/psr-1.0.0.tgz...
./build: line 15373: /usr/local/php56/bin/phpize: No such file or directory
./build: line 15377: ./configure: No such file or directory
Trying to make psr-1.0.0 PHP extension...
make: *** No targets specified and no makefile found.  Stop.

any idea how can i solve this?
 
Did you install php with custombuild ?, what mode do you use? mod_php or php-fpm ?
More info please
 
It's phalcon=yes related, fixed in CB 2.0 rev. 2456. Thank you for the report!
 
Code:
Installing psr-1.0.0 PHP extension for PHP 72...
Found /usr/local/directadmin/custombuild/psr-1.0.0.tgz
Extracting /usr/local/directadmin/custombuild/psr-1.0.0.tgz...
./build: line 15771: /usr/local/php72/bin/phpize: No such file or directory
./build: line 15775: ./configure: No such file or directory
Trying to make psr-1.0.0 PHP extension...
make: *** No targets specified and no makefile found.  Stop.
Same issue in 2550.
@smtalk could you confirm if this is fixed or still actual ?
 
Code:
Installing psr-1.0.0 PHP extension for PHP 72...
Found /usr/local/directadmin/custombuild/psr-1.0.0.tgz
Extracting /usr/local/directadmin/custombuild/psr-1.0.0.tgz...
./build: line 15771: /usr/local/php72/bin/phpize: No such file or directory
./build: line 15775: ./configure: No such file or directory
Trying to make psr-1.0.0 PHP extension...
make: *** No targets specified and no makefile found.  Stop.
Same issue in 2550.
@smtalk could you confirm if this is fixed or still actual ?
Hm... would it be possible to get access there to check? (Free of charge, of course)
 
Your problem - php2_release=7.2 set in the options.conf, but no PHP 7.2 installed on the system. PHP versions set in the configuration file need to be installed ("./build php" for example). It should be fine after this.
 
Your problem - php2_release=7.2 set in the options.conf, but no PHP 7.2 installed on the system. PHP versions set in the configuration file need to be installed ("./build php" for example). It should be fine after this.
ah yes but that's exactly what i am doing. following: https://help.directadmin.com/item.php?id=2095
Although that ./build php n So just to be sure just ran it with ./build php same error.
I have send you a copy of the log.
 
I see, it was a bug :) Thank you for the report! Fixed in CB 2.0 rev. 2551.
 
Back
Top