El Blog de DeepY0X: emerge —update —deep –newuse world

Office OpenXML (OOXML) no debe ser ISO 29500

October 15, 2007

PHP5 en FreeBSD

Ahora para completar estos posts y tener un sistema FAMP (FreebSD, Apache, MySQL y PHP) andando instalaremos php con los siguientes pasos:

-Ir al Directorio /usr/ports/lang/php5
make config (para los flags)
make install clean

-Ir al Directorio: /usr/ports/databases/php5-mysql
make install clean

-Ir al Directorio: /usr/ports/www/php5-session
make install clean

-Ir al Directorio: /usr/ports/graphics/php5-gd
make install clean

-Agregar lo siguiente en mime types:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php .htm .html

-Crear archivo php.ini:
# cp /usr/local/etc/php.ini-dist /usr/local/etc/php.ini

-Y por ultimo hacemos probamos si funciona creando un archivo test.php:

<?php

phpinfo();

?> 

-vamos al navegador con http://localhost/test.php y ya deberia de cargar la configuracion de php 

Comments »

The URI to TrackBack this entry is: http://deepyox.blogsome.com/2007/10/15/php5-en-freebsd/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.


Anti-spam measure: please retype the above text into the box provided.