I host multi sites on one vps.
IP address is shared by all sites
the first site is a0.com(for example)
when I log in virtualmin, it is the first site displayes.
second is a1.com a2.com, ...
I upload all wordpress files to
a0.com/comwordpress/
a1.com/comwordpress/
a2.com/comwordpress/
...
one by one.
when I call
wordpress/wp-admin/install.php
for a0.com, it works, it will lead me to complete the installation of wordpress correctly.
but for a1.com, a2.com..
it always reports 500 Internal Server Error
I try all ways
such as
Checking for Corrupt .htaccess File
Increasing the PHP Memory Limit
Deactivate all Plugins
Re-uploading Core Files
but same error
Your comment welcome
Hi,
Have you checked the "error_log" for the website producing the error?
Best Regards,
Peter Knowles
TPN Solutions
Email: pknowles@tpnsolutions.com
Phone: 604-782-9342
Skype: tpnsupport
Website: http://www.tpnsolutions.com
Ask me about my new support plans which include a FREE copy of Virtualmin Pro!!!
Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
@tpnsolutions
error log displayed:
[Mon Jan 26 02:02:24.292441 2015] [fcgid:warn] [pid 14436] (104)Connection reset by peer: [client 104.131.27.82:57198] mod_fcgid: error reading data from FastCGI server [Mon Jan 26 02:02:24.292485 2015] [core:error] [pid 14436] [client 104.131.27.82:57198] End of script output before headers: install.php
Hi,
Which OS are you using?
Best Regards,
Peter Knowles
TPN Solutions
Email: pknowles@tpnsolutions.com
Phone: 604-782-9342
Skype: tpnsupport
Website: http://www.tpnsolutions.com
Ask me about my new support plans which include a FREE copy of Virtualmin Pro!!!
Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Howdy,
For the domains where you're receiving that error -- could you try changing the PHP Execution Mode to "CGI"? You can do that in Server Configuration -> Website Options. CGI can sometimes produce better error messages.
-Eric
@ tpnsolutions
my os is ubuntu 14.0 lts
it looks like something are improved.
only one site has the 500 error.
any access of something.php will led to 500 error
[Mon Jan 26 02:02:24.292441 2015] [fcgid:warn] [pid 14436] (104)Connection reset by peer: [client xxx.xxx.xxx.xxx:57198] mod_fcgid: error reading data from FastCGI server [Mon Jan 26 02:02:24.292485 2015] [core:error] [pid 14436] [client xxx.xxx.xxx.xxx:57198] End of script output before headers: something.php
but other site php script work well.
I check *.conf in /etc/apache2/sites-available
a1.conf a2.conf...almost same all directory in different sites have same permission
I removed server and creat again everything is OK now.