title: How to do phpinfo on Gwan and php
body: <p>On cent OS 6.4 , <a href="http://gwan.ch/" rel="nofollow">GWAN</a> web/http server and php is installed.
  created file 
  info.php in /csp</p>
  
  <pre><code>&lt;?php
  phpinfo();
  exit(200);
  ?&gt;
  </code></pre>
  
  <p>gives header </p>
  
  <pre><code>HTTP/1.0 200 OK =&gt;
  Server =&gt; G-WAN
  Date =&gt; Thu, 05 Sep 2013 08:21:11 GMT
  Last-Modified =&gt; Thu, 05 Sep 2013 08:21:11 GMT
  ETag =&gt; "abc3657a-52283ef8-44d6"
  Vary =&gt; Accept-Encoding
  Accept-Ranges =&gt; bytes
  Content-Type =&gt; text/html; charset=UTF-8
  Content-Length =&gt; 17622
  Connection =&gt; close
  </code></pre>
  
  <p>and output as </p>
  
  <pre><code>phpinfo() PHP Version =&gt; 5.3.3 System =&gt; Linux torrent.ms 2.6.32-358.6.2.el6.x86_64 #1 SMP Thu May 16 20:59:36 UTC 2013 x86_64 Build Date =&gt; Jul 12 2013 20:33:25 Configure Command =&gt; './configure' '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib64' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-sqlite' '--with-libxml-dir=/usr' '--enable-xml' '--with-system-tzdata' '--enable-force-cgi-redirect' '--enable-pcntl' '--with-imap=shared' '--with-imap-ssl' '--enable-mbstring=shared' '--enable-mbregex' '--with-gd=shared' '--enable-bcmath=shared' '--enable-dba=shared' '--with-db4=/usr' '--with-xmlrpc=shared' '--with-ldap=shared' '--with-ldap-sasl' '--with-mysql=shared,/usr' '--with-mysqli=shared,/usr/lib64/mysql/mysql_config' '--enable-dom=shared' '--with-pgsql=shared' '--enable-wddx=shared' '--with-snmp=shared,/usr' '--enable-soap=shared' '--with-xsl=shared,/usr' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' 
  </code></pre>
  
  <p>like plaint text no css nothing, how can i get regular phpinfo output ?</p>
  
  <p>i am doing tests before migrating my php scripts over GWAN
  can i use GWAN webserver without modifying my php scripts ?</p>