Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/itworks/public_html/inc/class_core.php on line 165
Instalación de PHP 5
Han ocurrido los siguientes errores:
Warning [2] Cannot modify header information - headers already sent by (output started at /home/itworks/public_html/inc/class_core.php:165) - Line: 1558 - File: inc/functions.php PHP 5.3.10 (Linux)
File Line Function
[PHP]   errorHandler->error
/inc/functions.php 1558 header
/inc/class_session.php 360 my_setcookie
/inc/class_session.php 98 session->load_guest
/global.php 56 session->init
/showthread.php 21 require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /home/itworks/public_html/inc/class_core.php:165) - Line: 1558 - File: inc/functions.php PHP 5.3.10 (Linux)
File Line Function
[PHP]   errorHandler->error
/inc/functions.php 1558 header
/inc/class_session.php 365 my_setcookie
/inc/class_session.php 98 session->load_guest
/global.php 56 session->init
/showthread.php 21 require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /home/itworks/public_html/inc/class_core.php:165) - Line: 1558 - File: inc/functions.php PHP 5.3.10 (Linux)
File Line Function
[PHP]   errorHandler->error
/inc/functions.php 1558 header
/inc/class_session.php 106 my_setcookie
/global.php 56 session->init
/showthread.php 21 require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /home/itworks/public_html/inc/class_core.php:165) - Line: 352 - File: inc/plugins/google_seo/redirect.php PHP 5.3.10 (Linux)
File Line Function
[PHP]   errorHandler->error
/inc/plugins/google_seo/redirect.php 352 header
/inc/plugins/google_seo/redirect.php 340 google_seo_redirect_header
[PHP]   google_seo_redirect_hook
/inc/class_plugins.php 101 call_user_func_array
/global.php 96 pluginSystem->run_hooks
/showthread.php 21 require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /home/itworks/public_html/inc/class_core.php:165) - Line: 1558 - File: inc/functions.php PHP 5.3.10 (Linux)
File Line Function
[PHP]   errorHandler->error
/inc/functions.php 1558 header
/inc/functions.php 1619 my_setcookie
/inc/functions_indicators.php 54 my_set_array_cookie
/showthread.php 456 mark_thread_read



tumblr statistics


Enviar Respuesta 
 
Calificación:
  • 0 Votos - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5
Instalación de PHP 5
26-06-2010, 05:26 AM
Mensaje: #1
Instalación de PHP 5
Debemos descargar el instalador desde
http://es2.php.net/downloads.php
PHP 5.2.13 installer

Por defecto se instalará en C:\Archivos de programa\PHP\
Seleccionamos nuestro servidor web (Apache2.2.x Module)
Seleccionaremos la carpeta de configuración de apache
C:\Archivos de programa\Apache Software Foundation\Apache2.2\conf\
Seleccionaremos Instalar solamente PHP

Ya está instalado

A continuación vamos a editar: C:\Archivos de programa\Apache Software Foundation\Apache2.2\conf\httpd.conf

Veremos que al final de todo nos ha añadido:
Cita:#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/Archivos de programa/PHP/"
LoadModule php5_module "C:/Archivos de programa/PHP/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

Descomentamos la siguiente linea:
Cita:LoadModule mime_module modules/mod_mime.so

Creamos un archivo prueba.php en la carpeta htdocs de apache:
Cita:<?php phpinfo(); ?>

Reiniciamos apache.

Lo visualizamos en el explorador http.//localhost/prueba.php

Si todo es correcto nos aparecerá toda la información de PHP.
Encuentra todos los mensajes de este usuario
Cita este mensaje en tu respuesta
Enviar Respuesta 


Salto de Foro:


Contáctanos | Servidores web | Volver Arriba | Volver al Contenido | Modo (Archivo) Simple | Sindicación RSS