![]() ![]() I can execute the same 'hello world' file outside of cgi-bin but just not inside it. I have tried enabling more than just cgi (suphp for example) in MultiPHP manager and that makes no difference. htaccess and in the main nf (using the includes editor in WHM). I have tried all the AddHandlers and AddTypes in the world within. The new VPS started life with EasyApache4 but I also tested on another migrating from 3 to 4 and it made no difference. The old VPS with EasyApache3 and PHP5 worked fine and there has been no change in any of the files within the home directory to cause this, so it's something specific to Apache or PHP and I can't figure it out. The worrying thing is that is actually downloads them, code 'n' all rather than executes them. Annoyingly, because the site is somewhat legacy and I took weird choices 10 years ago, there are a lot of PHP files in the cgi-bin folder. No probs there, everything went well.Īside from a small issue where the location of perl in some scripts was wrong (rectified by a symlink), everything else was fine except for PHP causing me nightmares for what is now a whole day trying and failing to remedy this.Įssentially, PHP will execute absolutely fine anywhere but the cgi-bin directory. There's only one site on this server so I backed up through the user account and restored in WHM. ↳ Installation und erste Schritte 1.0.I've just started a migration between two VPS's both running WHM/cPanel.↳ 1.5 - Installation, migration et mise à jour.↳ 2.5 - Installation, migration et mise à jour.↳ 3.x - Installation, migration et mise à jour.↳ 3.x - Questions générales, nouvel utilisateur.↳ Joomla 1.0 (Udgået version, der blev afløst af 1.5 i 2008). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |