PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.general > Setting php server
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Setting php server

Réponse
 
LinkBack Outils de la discussion
Vieux 09/04/2008, 08h14   #1
hce
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.
  Réponse avec citation
Vieux 09/04/2008, 08h32   #2
Iñigo Medina García
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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)
imedina@diazdesantos.es facilmejor@gmail.com
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h58.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09123 seconds with 10 queries