Date: Thu, 2 Nov 2006 17:26:13 GMT From: Vitaliy<prikid@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/105075: php5 executables Message-ID: <200611021726.kA2HQDmx072387@www.freebsd.org> Resent-Message-ID: <200611021730.kA2HUInj063675@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 105075 >Category: ports >Synopsis: php5 executables >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 02 17:30:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Vitaliy >Release: 5.4-RELEASE >Organization: Self >Environment: FreeBSD skype.integrationsoft.com 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Wed Jan 25 18:31:11 PST 2006 root@skype:/usr/src/sys/i386/compile/SKYPE i386 >Description: After refreshing the ports collection to the latest and installing new php5 from the ports (version 5.1.6) the executables are not installed (phpsize, pear, php-config) Here's the output on the install: --- ===> Installing for php5-5.1.6_3 ===> php5-5.1.6_3 depends on file: /usr/local/sbin/apxs - found ===> php5-5.1.6_3 depends on file: /usr/local/sbin/apxs - found ===> php5-5.1.6_3 depends on executable in : pkg-config - found ===> php5-5.1.6_3 depends on shared library: xml2.5 - found ===> Generating temporary packing list "Makefile", line 1146: warning: duplicate script for target "main/internal_functions.lo" ignored Installing PHP SAPI module: apache [activating module `php5' in /usr/local/etc/apache/httpd.conf] cp libs/libphp5.so /usr/local/libexec/apache/libphp5.so chmod 755 /usr/local/libexec/apache/libphp5.so cp /usr/local/etc/apache/httpd.conf.new /usr/local/etc/apache/httpd.conf rm /usr/local/etc/apache/httpd.conf.new Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP CGI into: /usr/local/bin/ Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: i386-portbld-freebsd5.4-phpize program: i386-portbld-freebsd5.4-php-config Installing man pages: /usr/local/man/man1/ page: i386-portbld-freebsd5.4-phpize.1 page: i386-portbld-freebsd5.4-php-config.1 Installing PEAR environment: /usr/local/share/pear/ "Makefile", line 1146: warning: duplicate script for target "main/internal_functions.lo" ignored [PEAR] Archive_Tar - already installed: 1.3.1 [PEAR] Console_Getopt - already installed: 1.2 [PEAR] PEAR - already installed: 1.4.9 Wrote PEAR system config file at: /usr/local/etc/pear.conf You may want to add: /usr/local/share/pear to your php.ini include_path Installing PDO headers: /usr/local/include/php/ext/pdo/ *************************************************************** Make sure index.php is part of your DirectoryIndex. You should add the following to your Apache configuration file: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps *************************************************************** ===> Compressing manual pages for php5-5.1.6_3 /usr/local/man/man1/php-config.1: No such file or directory /usr/local/man/man1/phpize.1: No such file or directory /usr/local/man/man1/php.1: No such file or directory ===> Registering installation for php5-5.1.6_3 --- >How-To-Repeat: [root@skype /usr/ports/lang/php5 09:16:14] more Makefile # New ports collection makefile for: php5 # Date created: Tue Feb 18 11:17:13 CET 2003 # Whom: Alex Dupre <sysadmin@alexdupre.com> # # $FreeBSD: ports/lang/php5/Makefile,v 1.105 2006/10/27 19:11:17 ale Exp $ # PORTNAME= php5 PORTVERSION= 5.1.6 PORTREVISION?= 3 CATEGORIES?= lang devel www MASTER_SITES= ${MASTER_SITE_PHP:S,$,:release,} \ http://downloads.php.net/ilia/:rc \ http://downloads.php.net/jani/:rc MASTER_SITE_SUBDIR= distributions/:release DISTNAME= php-${PORTVERSION:S/.r/RC/} DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:release MAINTAINER?= ale@FreeBSD.org COMMENT?= PHP Scripting Language (Apache Module and CLI) LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX} USE_BZIP2= yes .if !defined(PKGNAMESUFFIX) USE_AUTOTOOLS= autoconf:259 USE_GETOPT_LONG=yes CONFIGURE_ARGS= --enable-versioning \ --with-layout=GNU \ --with-mysql \ --with-mysqli \ --with-pgsql=/usr/local/pgsql \ --with-gettext \ --with-freetype-dir=/usr/local/include \ --with-gd=/usr/local \ --with-dom-xslt \ --with-curl \ --with-libpng \ --with-zlib \ --enable-mbstring=all \ --with-ttf \ --enable-xslt \ --with-iconv \ --with-imap \ --with-imap-ssl \ --with-calendar \ --with-crack \ --enable-mhash \ --with-mcrypt \ --with-mcal \ --enable-libxml \ --with-libxml-dir=${LOCALBASE} \ --enable-reflection \ --enable-spl [root@skype /usr/ports/lang/php5 09:16:21] make rmconfig (check the "CLI" build, "CGI build", "Build apache module", "Suhosin patch", "zend multibyte support", "ipv6 support") [root@skype /usr/ports/lang/php5 09:16:21] make install FORCE_PKG_REGISTER=y; ---installation snip --- Build complete. (It is safe to ignore warnings about tempnam and tmpnam). ===> Installing for php5-5.1.6_3 ===> php5-5.1.6_3 depends on file: /usr/local/sbin/apxs - found ===> php5-5.1.6_3 depends on file: /usr/local/sbin/apxs - found ===> php5-5.1.6_3 depends on executable in : pkg-config - found ===> Generating temporary packing list "Makefile", line 1146: warning: duplicate script for target "main/internal_functions.lo" ignored Installing PHP SAPI module: apache [activating module `php5' in /usr/local/etc/apache/httpd.conf] cp libs/libphp5.so /usr/local/libexec/apache/libphp5.so chmod 755 /usr/local/libexec/apache/libphp5.so cp /usr/local/etc/apache/httpd.conf.new /usr/local/etc/apache/httpd.conf rm /usr/local/etc/apache/httpd.conf.new Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP CGI into: /usr/local/bin/ Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: i386-portbld-freebsd5.4-phpize program: i386-portbld-freebsd5.4-php-config Installing man pages: /usr/local/man/man1/ page: i386-portbld-freebsd5.4-phpize.1 page: i386-portbld-freebsd5.4-php-config.1 Installing PEAR environment: /usr/local/share/pear/ "Makefile", line 1146: warning: duplicate script for target "main/internal_functions.lo" ignored [PEAR] Archive_Tar - already installed: 1.3.1 [PEAR] Console_Getopt - already installed: 1.2 [PEAR] PEAR - already installed: 1.4.9 Wrote PEAR system config file at: /usr/local/etc/pear.conf You may want to add: /usr/local/share/pear to your php.ini include_path Installing PDO headers: /usr/local/include/php/ext/pdo/ *************************************************************** Make sure index.php is part of your DirectoryIndex. You should add the following to your Apache configuration file: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps *************************************************************** ===> Compressing manual pages for php5-5.1.6_3 /usr/local/man/man1/php-config.1: No such file or directory /usr/local/man/man1/phpize.1: No such file or directory /usr/local/man/man1/php.1: No such file or directory ===> Registering installation for php5-5.1.6_3 ===> SECURITY REPORT: This port has installed the following files, which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/libexec/apache/libphp5.so If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.php.net/ [root@skype /usr/ports/lang/php5 09:26:19] php --version -su: php: command not found [root@skype /usr/ports/lang/php5 09:26:59] pear list exec: /usr/local/bin/php: not found [root@skype /usr/ports/lang/php5 09:27:19] >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611021726.kA2HQDmx072387>