[PHP] Setting php server
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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Setting php server
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) [EMAIL PROTECTED] [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php