apache - PHP spits a new line before any output -



apache - PHP spits a new line before any output -

i have vps 1&1 centos 5.2 64-bit.

last tuesday i've upgraded php , installed imagemagick had upgrade many other packages, including apache, mysql, perl, etc. lots of stuff got upgraded in process beingness finish noob went it.

now problem websites this:

1. 2. <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/ xhtml1/dtd/xhtml1-transitional.dtd">

(a new line on every single php file before output)

i tried ob_start(); , die(trim(ob_get_clean())); no luck. new line continues persist.

i briefly checked /etc/php.ini nil standing out.

what can do?

shot in dark, check php.ini auto-prepend-file value. might pointing blank default file happens have line break.

php apache

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -