Foros del Web » Programando para Internet » PHP »

Error de syntax

Estas en el tema de Error de syntax en el foro de PHP en Foros del Web. Hola....les comento brevemente.....al reiniciar el apache me muestra un mensaje de error que es el siguiente... Syntax error, unexpected END_OF_LINE, expecting '=' in C:\php\php.ini on ...
  #1 (permalink)  
Antiguo 10/03/2011, 06:18
 
Fecha de Ingreso: febrero-2010
Mensajes: 153
Antigüedad: 14 años, 2 meses
Puntos: 3
Error de syntax

Hola....les comento brevemente.....al reiniciar el apache me muestra un mensaje de error que es el siguiente...

Syntax error, unexpected END_OF_LINE, expecting '=' in C:\php\php.ini on line 2

pero no logro ver la linea 2 un signo = o no se a que linea 2 se refiere.

Podrían orientarme?

Gracias
  #2 (permalink)  
Antiguo 10/03/2011, 07:07
Colaborador
 
Fecha de Ingreso: octubre-2009
Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 14 años, 6 meses
Puntos: 334
Respuesta: Error de syntax

podrías pegar las 5 primeras lineas al menos para poder ver el problema y no tener q adivinar ?
  #3 (permalink)  
Antiguo 10/03/2011, 07:11
 
Fecha de Ingreso: febrero-2010
Mensajes: 153
Antigüedad: 14 años, 2 meses
Puntos: 3
Respuesta: Error de syntax

Hola...si entiendo...acá pego la primera parte del archivo php.ini que está en la parte superior..... espero uds. sean más agiles que yo.gracias

http://php.net/extension-dir[PHP]

;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.

; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
; 1. SAPI module specific location.
; 2. The PHPRC environment variable. (As of PHP 5.2.0)
; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
; 4. Current working directory (except CLI)
; 5. The web server's directory (for SAPI modules), or directory of PHP
; (otherwise in Windows)
; 6. The directory from the --with-config-file-path compile time option, or the
; Windows directory (C:\windows or C:\winnt)
; See the PHP docs for more specific information.
; http://php.net/configuration.file

; The syntax of the file is extremely simple. Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.

; Directives following the section heading [PATH=/www/mysite] only
; apply to PHP files in the /www/mysite directory. Directives
; following the section heading [HOST=www.example.com] only apply to
; PHP files served from www.example.com. Directives set in these
; special sections cannot be overridden by user-defined INI files or
; at runtime. Currently, [PATH=] and [HOST=] sections only work under
; CGI/FastCGI.

Etiquetas: syntax
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 06:24.