loquela Posted March 3, 2007 Share Posted March 3, 2007 Hi there, I recenly switched hosting providers. For some reason they insist on running php as cgi instead of as an apache module. Since migrating my websites from my previous hosting provider who used php as an apache module, I find some of my php scripts no longer work! 1. a very simple php styleswitcher no longer executes and is the file is now downloaded by the browser 2. a simple send mail script now returns an ionternal error: malformed header from script. Bad header=/home/sites/educationaldesign.: confirm.php, referer: http://www.educationaldesign.co.uk/school_enquiry.php What are the issues involved with running php as cgi and how can I work around them? This is driving me nuts! Thanks in advance, Simon Link to comment https://forums.phpfreaks.com/topic/41027-php-as-cgi-what-are-the-issues/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.