Код: Выделить всё
cd /usr/ports/www/apache22
make showconfig
Код: Выделить всё
cd /usr/ports/www/apache22
make showconfig
это что?может бытьне имея записи в /etc/rc.d/
Код: Выделить всё
/etc/rc.conf
Код: Выделить всё
apachectl start
бетонная плита не отменяется.особой разницы не вижу
Код: Выделить всё
/usr/local/etc/rc.d/apache22 start
Код: Выделить всё
[root@localhost /usr/ports/lang/php5-extensions]# make install clean
===> php5-extensions-1.3 depends on file: /usr/local/include/php/main/php.h - found
===> php5-extensions-1.3 depends on file: /usr/local/lib/php/20060613/bcmath.so - found
===> php5-extensions-1.3 depends on file: /usr/local/lib/php/20060613/bz2.so - found
===> php5-extensions-1.3 depends on file: /usr/local/lib/php/20060613/calendar.so - found
===> php5-extensions-1.3 depends on file: /usr/local/lib/php/20060613/ctype.so - found
===> php5-extensions-1.3 depends on file: /usr/local/lib/php/20060613/curl.so - found
===> php5-extensions-1.3 depends on file: /usr/local/lib/php/20060613/dbase.so - found
===> php5-extensions-1.3 depends on file: /usr/local/lib/php/20060613/dom.so - found
===> php5-extensions-1.3 depends on file: /usr/local/lib/php/20060613/exif.so - found
===> php5-extensions-1.3 depends on file: /usr/local/lib/php/20060613/fileinfo.so - found
===> php5-extensions-1.3 depends on file: /usr/local/lib/php/20060613/filter.so - found
===> php5-extensions-1.3 depends on file: /usr/local/lib/php/20060613/fribidi.so - not found
===> Verifying install for /usr/local/lib/php/20060613/fribidi.so in /usr/ports/converters/pecl-fribidi
===> Building for pecl-fribidi-1.0_1
/bin/sh /usr/ports/converters/pecl-fribidi/work/fribidi-1.0/libtool --mode=compile cc -I. -I/usr/ports/converters/pecl-fribidi/work/fribidi-1.0 -DPHP_ATOM_INC -I/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/include -I/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/main -I/usr/ports/converters/pecl-fribidi/work/fribidi-1.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/fribidi -I/usr/local/include -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c -o fribidi.lo
cc -I. -I/usr/ports/converters/pecl-fribidi/work/fribidi-1.0 -DPHP_ATOM_INC -I/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/include -I/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/main -I/usr/ports/converters/pecl-fribidi/work/fribidi-1.0 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include/fribidi -I/usr/local/include -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c -fPIC -DPIC -o .libs/fribidi.o
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c: In function 'zm_startup_fribidi':
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c:79: error: 'FRIBIDI_CHAR_SET_ISIRI_3342' undeclared (first use in this function)
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c:79: error: (Each undeclared identifier is reported only once
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c:79: error: for each function it appears in.)
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c: In function 'zif_fribidi_log2vis':
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c:196: error: 'FRIBIDI_CHAR_SET_ISIRI_3342' undeclared (first use in this function)
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c:218: warning: passing argument 2 of 'fribidi_log2vis' makes integer from pointer without a cast
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c:218: warning: passing argument 3 of 'fribidi_log2vis' makes pointer from integer without a cast
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c:218: warning: passing argument 7 of 'fribidi_log2vis' from incompatible pointer type
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c:218: error: too many arguments to function 'fribidi_log2vis'
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c: In function 'zif_fribidi_charset_info':
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c:273: error: 'FRIBIDI_CHAR_SET_ISIRI_3342' undeclared (first use in this function)
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c:277: warning: assignment discards qualifiers from pointer target type
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c:278: warning: assignment discards qualifiers from pointer target type
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c:279: warning: assignment discards qualifiers from pointer target type
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c: In function 'zif_fribidi_get_charsets':
/usr/ports/converters/pecl-fribidi/work/fribidi-1.0/fribidi.c:311: error: 'FRIBIDI_CHAR_SET_ISIRI_3342' undeclared (first use in this function)
*** Error code 1
Stop in /usr/ports/converters/pecl-fribidi/work/fribidi-1.0.
*** Error code 1
Stop in /usr/ports/converters/pecl-fribidi.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
[root@localhost /usr/ports/lang/php5-extensions]# make clean
Код: Выделить всё
cd /usr/ports/lang/php5-extensions
make rmconfig
make clean
make install clean
то есть между 2 и 3 пунктом статьи№2 я вклинил статью№1 (при здравом размышлении ничtго токого не должно было произойти... АДНАКОЖЕ!)3. Устанавливаем РНР и расширения
Код: Выделить всё
#LoadModule php5_module libexec/apache22/libphp5.so
Код: Выделить всё
cd /usr/ports/lang/php5
make showconfig
Код: Выделить всё
[root@localhost /usr/ports/lang/php5]# make showconfig
===> The following configuration options are available for php5-5.2.10:
CLI=on "Build CLI version"
CGI=on "Build CGI version"
APACHE=on "Build Apache module"
DEBUG=off "Enable debug"
SUHOSIN=on "Enable Suhosin protection system (not for jails)"
MULTIBYTE=off "Enable zend multibyte support"
IPV6=on "Enable ipv6 support"
MAILHEAD=off "Enable mail header patch"
REDIRECT=off "Enable force-cgi-redirect support (CGI only)"
DISCARD=off "Enable discard-path support (CGI only)"
FASTCGI=on "Enable fastcgi support (CGI only)"
PATHINFO=on "Enable path-info-check support (CGI only)"
===> Use 'make config' to modify these settings
[root@localhost /usr/ports/lang/php5]#
[root@localhost /usr/ports/lang/php5-extensions]# make showconfig
===> The following configuration options are available for php5-extensions-1.3:
BCMATH=on "bc style precision math functions"
BZ2=on "bzip2 library support"
CALENDAR=on "calendar conversion support"
CTYPE=on "ctype functions"
CURL=on "CURL support"
DBA=off "dba support"
DBASE=off "dBase library support"
DOM=on "DOM support"
EXIF=on "EXIF support"
FILEINFO=on "fileinfo support"
FILTER=on "input filter support"
FTP=on "FTP support"
GD=on "GD library support"
GETTEXT=on "gettext library support"
GMP=on "GNU MP support"
HASH=on "HASH Message Digest Framework"
ICONV=on "iconv support"
IMAP=off "IMAP support"
INTERBASE=off "Interbase 6 database support (Firebird)"
JSON=on "JavaScript Object Serialization support"
LDAP=off "OpenLDAP support"
MBSTRING=on "multibyte string support"
MCRYPT=on "Encryption support"
MHASH=on "Crypto-hashing support"
MING=on "ming shockwave flash support"
MSSQL=off "MS-SQL database support"
MYSQL=on "MySQL database support"
MYSQLI=off "MySQLi database support"
NCURSES=on "ncurses support (CLI only)"
ODBC=off "unixODBC support"
OPENSSL=on "OpenSSL support"
PCNTL=off "pcntl support (CLI only)"
PCRE=on "Perl Compatible Regular Expression support"
PDF=off "PDFlib support (implies GD)"
PDO=on "PHP Data Objects Interface (PDO)"
PDO_SQLITE=on "PDO sqlite driver"
PGSQL=off "PostgreSQL database support"
POSIX=on "POSIX-like functions"
PSPELL=on "pspell support"
READLINE=off "readline support (CLI only)"
RECODE=on "recode support"
SESSION=off "session support"
SHMOP=on "shmop support"
SIMPLEXML=on "simplexml support"
SNMP=on "SNMP support"
SOAP=on "SOAP support"
SOCKETS=on "sockets support"
SPL=on "Standard PHP Library"
SQLITE=off "sqlite support"
SYBASE_CT=off "Sybase database support"
SYSVMSG=off "System V message support"
SYSVSEM=off "System V semaphore support"
SYSVSHM=off "System V shared memory support"
TIDY=on "TIDY support"
TOKENIZER=on "tokenizer support"
WDDX=on "WDDX support (implies XML)"
XML=on "XML support"
XMLREADER=on "XMLReader support"
XMLRPC=on "XMLRPC-EPI support"
XMLWRITER=on "XMLWriter support"
XSL=on "XSL support (Implies DOM)"
YAZ=off "YAZ support (ANSI/NISO Z39.50)"
ZIP=on "ZIP support"
ZLIB=on "ZLIB support"
===> Use 'make config' to modify these settings
[root@localhost /usr/ports/lang/php5-extensions]#
Код: Выделить всё
make deinstall clean
make install clean
Код: Выделить всё
[root@localhost /home/Arcanum]# /usr/local/etc/rc.d/apache22 restart
Performing sanity check on apache22 configuration:
Syntax OK
apache22 not running? (check /var/run/httpd.pid).
Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.
[root@localhost /home/Arcanum/.PtokaX]# /usr/local/etc/rc.d/apache22 status
apache22 is not running.
[root@localhost /home/Arcanum/.PtokaX]#
Код: Выделить всё
LoadModule php5_module libexec/apache22/libphp5.so
Код: Выделить всё
cd /usr/local/etc
cp php.ini-recommended php.ini