CURL CURL support [ ] DBA dba support [ ] DBASE dBase library support[X] DOM DOM support [ ] EXIF EXIF support [ ] FILEINFO fileinfo support [X] FILTER input filter support [ ] FRIBIDI FriBidi support [ ] FTP FTP support [X] GD GD library support [X] GETTEXT gettext library support [ ] GMP GNU MP support [X] HASH HASH Message Digest Framework [X] ICONV iconv support [ ] IMAP IMAP support [ ] INTERBASE Interbase 6 database support (Firebird) [X] JSON JavaScript Object Serialization support [ ] LDAP OpenLDAP support [X] MBSTRING multibyte string support [X] MCRYPT Encryption support [X] MHASH Crypto-hashing support [ ] MING ming shockwave flash support [ ] MSSQL MS-SQL database support [X] MYSQL MySQL database support [ ] MYSQLI MySQLi database support [ ] NCURSES ncurses support (CLI only) [ ] ODBC unixODBC support [X] OPENSSL OpenSSL support [ ] PCNTL pcntl support (CLI only) [X] PCRE Perl Compatible Regular Expression support [X] PDF PDFlib support (implies GD) [X] PDO PHP Data Objects Interface (PDO)[ ] PDO_SQLITE PDO sqlite driver [ ] PGSQL PostgreSQL database support [X] POSIX POSIX-like fnctions [ ] PSPELL pspell support [ ] READLINE readline support (CLI only) [ ] RECODE recode support [X] SESSION session support [ ] SHMOP shmop support [X] SIMPLEXML simplexml support [ ] SNMP SNMP support [ ] SOAP SOAP support [ ] SOCKETS sockets support [X] SPL Standard PHP Library [ ] SQLITE sqlite support [ ] SYBASE_CT Sybase database support [ ] SYSVMSG System V message support [ ] SYSVSEM System V semaphore support [ ] SYSVSHM System V shared memory support [ ] TIDY TIDY support [X] TOKENIZER tokenizer support [ ] WDDX WDDX support (implies XML) [X] XML XML support [X] XMLREADER XMLReader support [ ] XMLRPC XMLRPC-EPI support [X] XMLWRITER XMLWriter support [ ] XSL XSL support (Implies DOM) [ ] YAZ YAZ support (ANSI/NISO Z39.50) [X] ZIP ZIP support [X] ZLIB ZLIB supportExecute o comando de compilacao e instalacao do PHP e PHP Extensions:# make install cleanMarque as opcoes apropriadas para sua necessidade no php52-pcre 5.2.14: [ ] BUNDLED_PCRE Select if you use apache 2.0.xMarque as opcoes apropriadas para sua necessidade no php52-gd 5.2.14: [X] T1LIB Include T1lib support [X] TRUETYPE Enable TrueType string function [ ] JIS Enable JIS-mapped Japanese font supportMarque as opcoes apropriadas para sua necessidade no libxslt 1.1.26_2:[ ] MEM_DEBUG Enable memory debugging [X] CRYPTO Enable crypto support for exslt Marque as opcoes apropriadas para sua necessidade no png 1.4.3:[ ] APNG Animated PNG supportMarque as opcoes apropriadas para sua necessidade no php52-mbstring 5.2.14:[X] REGEX Enable multibyte regex supportAs configuracoes do PHP ficam guardados em /usr/local/etc/php.ini. E necessario criar o arquivo utilizando um dos samples existentes executando o comando: # cp /usr/local/etc/php.ini-recommended /usr/local/etc/php.iniAgora vamos configurar o PHP no Apache. Edite o arquivo /usr/local/etc/apache22/httpd.conf e adicione as linhas abaixo:# ee /usr/local/etc/apache22/httpd.conf# Dentro da sessao "ifmodule mime_module"AddType application/x-httpd-php .php .php3 .phtmlAddType application/x-httpd-php-source .phps# Dentro da sessao "ifmodule dir_module"DirectoryIndex index.html index.htm index.phpAgora vamos alterar o arquivo /usr/local/etc/php.ini. Altere as opcoes conforme abaixo:# ee /usr/local/etc/php.inishort_open_tag = OnVamos agora testar o