Mailinglisten-Archive |
** Proprietary ** Installation PHP4 auf RAQ2 habs wieder gefunden. Sollte es wider Erwarten nicht gehen bitt PM an mich! OK! ich habe die installation auf einem RAQ 2 getestet sollte aber auch auf RAQ3 laufen. install FLEX ! you will need it for PHP4 ftp://ftp.cobaltnet.com/pub/experimental/flex-2.5.4a-3.mips.rpm copy php4 source to a tarball directory and configure php4 like ./configure \ --with-apxs=/usr/sbin/apxs \ --with-config-file-path=/etc/httpd/conf \ --with-ftp \ --with-xml \ --with-mysql \ // vieleicht auch mehr z.B. gd --enable-versioning \ // enable versioninng is need to work together with php3 --enable-track-vars=yes \ --enable-url-includes \ --enable-sysvshm=yes \ --enable-sysvsem=yes \ --disable-debug Leider gibt es noch keinen ZendOptimizer for MIPS after the configure is complete run make don't run make install (i didn't test it) in the directory .libs you will find the file libphp4.so copy these file in the Apache lib directory /usr/lib/apache/ now you can modify your httpd.conf /etc/httpd/conf #### for php3 and php4 LoadModule php3_module /usr/lib/apache/libphp3.so AddModule mod_php3.c LoadModule php4_module /usr/lib/apache/libphp4.so AddModule mod_php4.c modify your srm.conf /etc/httpd/conf ##### for php3 and php4 AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps AddType application/x-httpd-php .php4 .php AddType application/x-httpd-php-source .phps Thats all restart your httpd daemon create two files one for php3 "test.php2" <?php phpinfo(); ?> and another file for php4 "test.php" <?php phpinfo(); ?> good Luck
php::bar PHP Wiki - Listenarchive