recent searches:
searching include ,
searching variable ,
searching post...
To statically include the extension within the PHP build, put the extensions source into the ext/ directory found in the PHP source. For example:
$ cd /your/phpsrcdir/ext $ pear download extname $ gzip -d < extname.tgz | tar -xvf - $ mv extname-x.x.x extname $ rm package.xml |
This will result in the following directory:
/your/phpsrcdir/ext/extname |
From here, build PHP as normal:
$ cd /your/phpsrcdir $ ./buildconf --force $ ./configure --help $ ./configure --with-extname --enable-someotherext --with-foobar $ make $ make install |
Notatka: To run the 'buildconf' script you need autoconf 2.13 and automake 1.4+ (newer versions of autoconf may work, but are not supported).
Whether --enable-extname or --with-extname is used depends on the extension. Typically an extension that does not require external libraries uses --enable. To be sure, run the following after buildconf:
$ ./configure --help | grep extname |
| Poprzedni | Spis treści | Następny |
| Compiling shared PECL extensions with phpize | Początek rozdziału | Problems? |
Język PHP to dzisiaj powszechnie przyjęty standard, podstawa tworzenia dynamicznych stron WWW, opartych na bazach danych.
PHP to język skryptowy. Znaczy to, że jest to język nie kompilowalny. Program jest wykonywany przez interpreter na podstawie jego kodu źródłowego. Język PHP to element technologii internetowej SERVER-SIDE. Znaczy to, że kod języka jest wykonywany od strony serwera (na serwerze).
W jakim celu używac PHP? Po co to komu?
Załóżmy, że potrzebujemy takiej strony internetowej, która wyświetli zawsze bieżącą datę. Dzięki technologii PHP, datę i godzinę odczytywać można z miejsca gdzie wykonuje się skrypt, np. gdy serwer znajduje się w USA a my w Polsce to widoczna jest różnica w czasie który zostanie wyświetlony.
angielski łódź your system is infected with dangerous virus hosting Internet - Szubin jachty w grecjiusuwanie zmarszczek, wiza do rosji, wizy do rosji, hurtownia odzieży, kaszuby domki, wizy do rosji, kaszuby domki, przemienniki częstotliwości, ING