This is a discussion on Setting php server within the PHP General forums, part of the PHP Programming Forums category; Hi, I am setting a lighty and php server in my local machine FC 6 for testing my php source ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I am setting a lighty and php server in my local machine FC 6 for testing my php source code. Both index.html and index.php have been set in lighty. If I have an index.html on the server, the http response was fine. But, if I set an index.php on the server, the browser got a blank page, there were no errors on browser or lighty access.log. What I could be missing? $ php --version PHP 5.1.6 (cli) (built: Sep 18 2007 09:07:04) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies Thank you. |
|
|||
|
hce wrote:
> Hi, > > I am setting a lighty and php server in my local machine FC 6 for > testing my php source code. Both index.html and index.php have been > set in lighty. If I have an index.html on the server, the http > response was fine. But, if I set an index.php on the server, the > browser got a blank page, there were no errors on browser or lighty > access.log. What I could be missing? Did you check lighty error.log? Did you try with a simple <?php phpinfo(); ?> to check php configuration? Iñigo > $ php --version > PHP 5.1.6 (cli) (built: Sep 18 2007 09:07:04) > Copyright (c) 1997-2006 The PHP Group > Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies > > Thank you. > -- -------- Iñigo Medina García Librería Díaz de Santos Madrid (Spain) imedina@diazdesantos.es facilmejor@gmail.com |