Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.www.php > #22010

Re: php funzionante in command line, ma non in browser

From Alessandro Pellizzari <shuriken@amiran.it>
Newsgroups it.comp.www.php
Subject Re: php funzionante in command line, ma non in browser
Date 2018-04-22 22:26 +0100
Message-ID <fk4d08F6n4nU1@mid.individual.net> (permalink)
References <bo8vqe-eu2.ln1@lazy.lzy>

Show all headers | View raw


On 22/04/18 21:43, Piergiorgio Sartor wrote:

> Da browser, oppure con curl http://localhost/miniProxy.php,
> ritorna una pagina bianca.
> 
> Il server http funziona, php viene eseguito da php-fpm,
> ma anche con mod_php sembra comportarsi allo stesso modo.
> 
> Qualche idea sul perche` funzioni in un modo, ma non
> nell'altro?

Forse ti manca una delle estensioni necessarie.

> Inoltre, come si fa il debugging in php?

Abilitando i log (di apache/nginx/fpm), attivando i log nel php.ini, e
poi leggendoli. :)

L'alternativa è avere xdebug installato sul server, ma non sempre è
possibile.

Bye.

Back to it.comp.www.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

php funzionante in command line, ma non in browser Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2018-04-22 22:43 +0200
  Re: php funzionante in command line, ma non in browser Alessandro Pellizzari <shuriken@amiran.it> - 2018-04-22 22:26 +0100
    Re: php funzionante in command line, ma non in browser Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2018-04-23 22:00 +0200
      Re: php funzionante in command line, ma non in browser Alessandro Pellizzari <shuriken@amiran.it> - 2018-04-24 10:09 +0100
  Re: php funzionante in command line, ma non in browser Leonardo Serni <lserni@gmail.com> - 2018-04-22 23:58 +0200
    Re: php funzionante in command line, ma non in browser Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2018-04-23 21:57 +0200
  Re: php funzionante in command line, ma non in browser Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2018-04-26 22:10 +0200

csiph-web