0
01i
Guest
Hi,
I have recently decided to consolodate my various websites onto a single more power VPS.
My new VPS came with Parallels Infrastructure Manager (I'm not entirely certain how to tell which version) and Plesk 10.1.1.
Previously I have always managed everything from the shell. Having a GUI is nice, but I'm struggling to replicate functionality I'm used to having.
Initially I added all of the available container applications in Infrastructure Manager.
These included:
pp10
pp10-mailman
pp10-migration
pp10-panel-addons
pp10-qmail
pp10-spamassassin
p10-watchdog
pp10-webhosting-addons
pp10-webmail
pp10-vps-optimized
I then started to put together a couple of containiners and started to add my various websites into Plesk.
I have managed to get my head around most things, except for my PHP installation.
According to phpinfo I am using FastCGI and it is processing ini files from /etc/php5/cgi and /etc/php5/cgi/conf.d
However, if I edit php.ini to change my error reporting settings, the settings dont change. I also tried editing the php.ini file in /opt/psa/admin/conf but according to phpinfo that file's not included, and if i edit the error reporting settings, it still doesnt change anything when i restart apache2.
I also wish to switch from FastCGI to module, but cannot figure that out too. I have learned that the vps-optimised module took away my ability to use PHP in any mode other than cgi, so disabled that in infrastructure manager.
The only info I can find about changing from CGI to Module is using the virtualhost settings for windows servers only. Likewise, anything I google relating to changing my PHP error settings, bring up windows only features.
So I have two questions.
Firstly, how can I switch from FastCGI to Module.
Secondly, how can I change PHP so that it actually stops giving me deprecated warnings.
On an unrelated note.
Some of my sites require multiple databases. I installed a second copy of phpmyadmin with apt-get and set up a symbolic link to enable me to access it and actually managed multiple databases from a single account.
This works, but it'd be nice to know if there was a better way of doing it, that enables me to have a single installation of phpmyadmin on the server
The PHP questions are more important to know the answers though, as my phpmyadmin workaround is functional
I have recently decided to consolodate my various websites onto a single more power VPS.
My new VPS came with Parallels Infrastructure Manager (I'm not entirely certain how to tell which version) and Plesk 10.1.1.
Previously I have always managed everything from the shell. Having a GUI is nice, but I'm struggling to replicate functionality I'm used to having.
Initially I added all of the available container applications in Infrastructure Manager.
These included:
pp10
pp10-mailman
pp10-migration
pp10-panel-addons
pp10-qmail
pp10-spamassassin
p10-watchdog
pp10-webhosting-addons
pp10-webmail
pp10-vps-optimized
I then started to put together a couple of containiners and started to add my various websites into Plesk.
I have managed to get my head around most things, except for my PHP installation.
According to phpinfo I am using FastCGI and it is processing ini files from /etc/php5/cgi and /etc/php5/cgi/conf.d
However, if I edit php.ini to change my error reporting settings, the settings dont change. I also tried editing the php.ini file in /opt/psa/admin/conf but according to phpinfo that file's not included, and if i edit the error reporting settings, it still doesnt change anything when i restart apache2.
I also wish to switch from FastCGI to module, but cannot figure that out too. I have learned that the vps-optimised module took away my ability to use PHP in any mode other than cgi, so disabled that in infrastructure manager.
The only info I can find about changing from CGI to Module is using the virtualhost settings for windows servers only. Likewise, anything I google relating to changing my PHP error settings, bring up windows only features.
So I have two questions.
Firstly, how can I switch from FastCGI to Module.
Secondly, how can I change PHP so that it actually stops giving me deprecated warnings.
On an unrelated note.
Some of my sites require multiple databases. I installed a second copy of phpmyadmin with apt-get and set up a symbolic link to enable me to access it and actually managed multiple databases from a single account.
This works, but it'd be nice to know if there was a better way of doing it, that enables me to have a single installation of phpmyadmin on the server
The PHP questions are more important to know the answers though, as my phpmyadmin workaround is functional