[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] [Fwd: PHP on a RaQ4]
- Subject: [cobalt-users] [Fwd: PHP on a RaQ4]
- From: Jonathan Nichols <jnichols@xxxxxxx>
- Date: Sat Apr 3 12:23:01 2004
- Organization: pbp.net
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
This one didn't seem to make it through to the list. Apologies in
advance if it suddenly shows up.. :P
-------- Original Message --------
Hey all,
I had the feeling that PHP would be a pain in the $#@ and I was right.
This is on a RaQ 3i, with the latest RaQ 4i ISO install from raqware.
(Gerald, the install was easy, and has been great so far. Thanks!)
I found these direction and needless to say, it didn't work. :)
"This has worked on several RaQ4's and have had good feedback on this
from others.
Don't try this if you're unsure though!!
Download php (wget
http://uk.php.net/do_download.php?mr=http%3A%2F%2Fwww.php.net%2F\&df=php-4.2.3.tar.gz
)
untar it (tar zxvf php-4.2.3.tar.gz)
cd php-4.2.3
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gettext=/usr
--enable-safe-mode --with-config-file-path=/etc/httpd
--with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes
--with-regex=system --with-ttf --with-gdbm --enable-mbstring
--enable-track-vars --enable-wddx=shared --enable-mm=shared --enable-xml
--enable-ftp --disable-debug --with-libdir=/usr/lib
--with-interbase=shared --with-pgsql=shared --with-ldap --with-imap-ssl
--with-pdflib=shared --with-mysql
make
(make a backup of the original)
cp /etc/httpd/modules/libphp4.so /etc/httpd/modules/libphp4.so.original
make install
Thats it. Restart apache to use the new library by issuing:
/etc/rc.d/init.d/httpd restart
Check by using a php info page using:
<?php
phpinfo();
?>"
I'm trying PHP 4.3.5 from php.net.
The error is this:
checking for PCRE support... yes
checking for PDFlib support... yes, shared
checking for the location of libtiff... no
configure: warning: If configure fails, try --with-jpeg-dir=<DIR>
configure: warning: If configure fails, try --with-png-dir=<DIR>
configure: warning: If configure fails, try --with-tiff-dir=<DIR>
checking for the location of zlib... /usr
checking for PDF_show_boxed in -lpdf... no
configure: error:
PDFlib extension requires at least pdflib 3.x. You may also need
libtiff, libjpeg, libpng and libz.
Use the options --with-tiff-dir=<DIR>, --with-jpeg-dir=<DIR>,
--with-png-dir=<DIR> and --with-zlib-dir=<DIR>
See config.log for more information.
Anybody installed a new version of PHP? I really don't want to have to
pay to get PHP installed.. :P
-Jonathan