PHP

NetValue has php5 installed on our Linux servers.

We support the following php modules:

  • BCMath support
  • Calendar support
  • ctype functions
  • CURL support (libcurl/7.10.3 OpenSSL/0.9.6b zlib/1.1.3 )
  • FTP support
  • GD Support(bundled (2.0 compatible)
  • FreeType Support
  • GIF Read Support
  • JPG Support
  • PNG Support
  • WBMP Support
  • IMAP c-Client Version 2000
  • mcrypt support
  • Ming SWF output library
  • MySQL Support
  • User-Space Object Overloading Support
  • PCRE (Perl Compatible Regular Expressions) Support
  • PostgreSQL Support
  • posix
  • Session Support
  • Sockets Support
  • Path to sendmail /usr/sbin/sendmail -t -i
  • swf support
  • Tokenizer Support
  • XML Support
  • XSLT support
  • ZLib Support

PHP Errors

Premature end of script headers

What this error actually means is that the script stopped (for whatever reason) before it returned any output to the web server. This results in a 500 Internal Server Error. The first thing you should do to resolve this problem is check your file permissions. Scripts should generally have permissions of 755. Secondly make sure the script was uploaded using Binary mode (most FTP clients now do this automatically).

Check also that your script isn't actually throwing fatal errors; these, in combination with some .htaccess redirect magic, may cause Apache to throw an error 500 instead of showing the output of the script. If you think this might be happening to you, try renaming your .htaccess files to backup.htaccess and then accessing the script directly to see the real error.

Please note also that this error can occur when a script uses too much memory or takes too long to execute. Please let us know if you have tried all the above and are still having problems.

Contact Us