Submitted by gg on Wed, 12/01/2010 - 11:09
using virtualmin gpl somo time now i switched from mod_php to mod_fcgi apache module. After migrating a subserver to become a new parent server i was not able to perform a login to the website on the new parent server. Unfortunately the login kept just telling me to check my credentials (TYPO3 btw)
It turned out the php.ini file residing in /home/new_path/etc/php5/ was not updated to fit the path of the newly created parent server
upload_tmp_dir = /home/old_path_that_wont_exist/tmp
session.save_path = /home/old_path_that_wont_exist/tmp
kind regards, G.Gothe
Status:
Closed (fixed)
Comments
Submitted by gg on Wed, 12/01/2010 - 13:22 Comment #1
Virtualmin version is 3.81.gpl
Submitted by JamieCameron on Wed, 12/01/2010 - 18:47 Comment #3
Did you switch from mod_php to fcgid mode before or after moving the domain?
Submitted by gg on Thu, 12/02/2010 - 04:52 Comment #4
good point, reproduced it:
When the server ist set to fcgid before it is moved the php.ini settings are updated correctly.
Issue occurs when you move a subserver to become parent and then switch from mod_php to fcgid. The php.ini is generated with the paths pointing to the former servers dirs, regadless if the former parent server still exists.
Submitted by JamieCameron on Thu, 12/02/2010 - 16:04 Comment #5
Ok, that explains it. I will modify Virtualmin in the next release to properly fix the .ini files in this case.
Submitted by Issues on Thu, 12/16/2010 - 16:20 Comment #6
Automatically closed -- issue fixed for 2 weeks with no activity.