Submitted by DaveOverton on Fri, 03/29/2013 - 13:20 Pro Licensee
So I followed the andreychek instructions for adding a 2nd PHP to my system, thanks, great work, but seem to have found a little bug.
I set virtualmin to use the "old" version as the default, and then went into my test domain and set it to use 5.4.
Phpmyadmin was complaining about needed an update, so I said (using virtualmin) go ahead.
it complained about not being able to find the php.ini! Humm, its always been there.
So, looking at the folders, on that domain, we find these 2 folders:
/home/domain/etc/php5
/home/domain/etc/php.ini -> php5.4/php.ini
Whoops. No such place.
I can fix this manually, no issue there, but I think Virtualmin means to do the right thing.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Fri, 03/29/2013 - 20:41 Comment #1
I think I see the bug here - to work around it, go to the Website Options page, change to CGI mode for PHP, save, then go back, change to fcgid mode, and re-save.
Submitted by DaveOverton on Fri, 03/29/2013 - 21:12 Pro Licensee Comment #2
That "fixes" it, and adds a new PHP 5.4 Configuration option under services that wasn't there before. Knowing the reason makes it way easier to fix I am sure.
Submitted by JamieCameron on Fri, 03/29/2013 - 22:14 Comment #3
Great - the next release of Virtualmin will include a proper fix for this, so that the php.ini file is created when you change the PHP version for a domain.
Submitted by Issues on Fri, 04/12/2013 - 22:16 Comment #4
Automatically closed -- issue fixed for 2 weeks with no activity.