Hello, i just went to hell and came back all i wanted to do was install second version of php with imap support. So i followed this KB
http://www.directadmin.com/imap.txt
My custombuild 2.0 setup
custom_versions.txt
options.conf
Following steps from article.
Downloaded files.directadmin.com/services/all/imap_php.sh
Changes to the file
Desired result was that php 5.6 will be installed with imap support.
This is what happened.
Script added new php release flag at the bottom of options.conf file
Created fpm folder in custom folder.
Installed php 5.5 as systemwide, php 5.3 gone, apache crashed.
I checked my options.conf file, didn't scrolled down to the end of the file. On top my php settings where correct, so tried reinstalling PHP
./build php n
So in this process it installed php 5.6 also but php 5.5 remained because it was set at the bottom of the file. Well finally found that line, removed it and did a rebuild of php and its working now.
But in my Directadmin Show Services page its showing me 4 php version.
php-fpm53 php-fpm53 (pid 26655 ) 15.2 MB Start Stop Restart Reload
php-fpm54 Process is stopped 0 B Start Stop Restart Reload
php-fpm55 Process is stopped 0 B Start Stop Restart Reload
php-fpm56 Process is stopped 0 B Start Stop Restart Reload
Not sure how php 5.4 got installed but you can see its there but are stopped, i didn't tried starting them in case something else goes wrong.
I would like to remove all traces of other 3 versions for PHP from server, then will reinstall php 5.6
Any help would be appreciated.
Thanks
http://www.directadmin.com/imap.txt
My custombuild 2.0 setup
custom_versions.txt
Code:
php5:5.3.29:
options.conf
Code:
php1_releasie=5.3
php1_mode=php-fpm
php2_release=5.6
php2_mode=php-fpm
autover=no
Following steps from article.
Downloaded files.directadmin.com/services/all/imap_php.sh
Changes to the file
Code:
CONFIGURE=configure.php56
WEB=fpm
Desired result was that php 5.6 will be installed with imap support.
This is what happened.
Script added new php release flag at the bottom of options.conf file
Code:
php1_releasie=5.5
Created fpm folder in custom folder.
Installed php 5.5 as systemwide, php 5.3 gone, apache crashed.
I checked my options.conf file, didn't scrolled down to the end of the file. On top my php settings where correct, so tried reinstalling PHP
./build php n
So in this process it installed php 5.6 also but php 5.5 remained because it was set at the bottom of the file. Well finally found that line, removed it and did a rebuild of php and its working now.
But in my Directadmin Show Services page its showing me 4 php version.
php-fpm53 php-fpm53 (pid 26655 ) 15.2 MB Start Stop Restart Reload
php-fpm54 Process is stopped 0 B Start Stop Restart Reload
php-fpm55 Process is stopped 0 B Start Stop Restart Reload
php-fpm56 Process is stopped 0 B Start Stop Restart Reload
Not sure how php 5.4 got installed but you can see its there but are stopped, i didn't tried starting them in case something else goes wrong.
I would like to remove all traces of other 3 versions for PHP from server, then will reinstall php 5.6
Any help would be appreciated.
Thanks