php-install Digest 14 Jul 2003 12:40:47 -0000 Issue 1460

Topics (messages 11273 through 11277):

Installing PHP on LINUX with options other than standard
        11273 by: Jack van Zanen
        11275 by: .ma

xslt_set_encoding undefined after installation.
        11274 by: chrisd.sci.kun.nl

PHP 5 and DOM XML
        11276 by: Aaron

AFRI BANK PLC
        11277 by: OKONJI DIATA

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hi,


Newbie to LINNUX and never compiled source code yet.

Can somebody give me the step by step instructions on how to make/compile
PHP on LINUX (or sent me URL where to find such)

On my windows I have the following dll's included:
php_gd.dll
php_oci8.dll
php_sockets.dll
php_zlib.dll

And that seems to suit my purpose. It needs to work with apache

TIA


Jack



--- End Message ---
--- Begin Message --- hi

there are many tutorials out there how to compile PHP under linux. to use these extensions you first have to install them on your computer. eg you have to install the gdlib for gd-support, the zlib for tlib-support, oracle-drivers for oci8-support and so on. just take a look at

http://at.php.net/manual/en/install.apache.php

(in this example apache is builded from source too - its possible that this is not required on your computer because it may be installed in the right configuration (with apxs))

hope this helps .ma

e: [EMAIL PROTECTED]
w: http://www.abendstille.at

# life would be easier if i knew the source code

Am Sonntag, 13.07.03 um 20:10 Uhr schrieb Jack van Zanen:

Hi,


Newbie to LINNUX and never compiled source code yet.


Can somebody give me the step by step instructions on how to make/compile
PHP on LINUX (or sent me URL where to find such)


On my windows I have the following dll's included:
php_gd.dll
php_oci8.dll
php_sockets.dll
php_zlib.dll

And that seems to suit my purpose. It needs to work with apache

TIA


Jack




--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





--- End Message ---
--- Begin Message ---
Hi!

I compiled php 4.3.1 but now trying to use the function xslt_set_encoding
gives
        Fatal error: Call to undefined function: xslt_set_encoding() in
        /usr/local/httpd/htdocs/pinkeltjesite/index.cgi on line 83.

in a script that used to run without an error. The other functions having
to do with XSLT I use work fine. I used the following configure options:

for iconv 1.8: no options.
for Sablot-0.98: --prefix=/usr --with-iconv-prefix=/usr/local
for php 4.3.1: --prefix=/usr --with-iconv=/usr/local --enable-xslt
--with-xslt-sablot=/usr --with-expat-dir=/usr --with-iconv-dir=/usr/local

These are the only packages I recompiled. I had expat version 1.95.2
installed and apache version 1.3.23 (but I guess that does not matter so
much when using cgi-scripts.)

The config.log of php says about sablotron:

configure:73893: checking for Sablotron version
configure:73918: gcc -o conftest -g -O2  -I/usr/include -lstdc++
-Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -lexpat -liconv
-lcrypt -lresolv -lm -ldl -lnsl  -lcrypt 1>&5
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
configure:74233: checking for libiconv in -liconv
configure:74652: checking for SablotSetEncoding in -lsablot
configure:74705: checking for SablotGetOptions in -lsablot

No errors here.

No errors here.

When linking php the compiler is passed among other things the options
-lsablot -liconv -lexpat -lexpat -liconv -lcrypt -lresolv -lm -ldl -lnsl
-lcrypt

No errors here either. Anyone any idea how I could get xslt_set_encoding
to work?

Bye,
Chris Dams
[EMAIL PROTECTED]


--- End Message ---
--- Begin Message --- Hello,

I've been trying to get DOM XML working with the new XML support (libxml2) for PHP 5. I've successfully configured and installed PHP 5 as an Apache2 module.

Even though PHP installs ok and phpinfo() reports that all is ok for XML, including DOM, the domxml functions are nowhere to be found.

The following is how I configured PHP 5:

'./configure' '--prefix=/usr/local/php5' '--enable-ftp' '--with-gd' '--with-mcrypt' '--with-mysql=/usr/local/mysql' '--enable-xml' '--with-dom=/usr/local/include/libxml2' '--with-dom-xslt=/usr/local/include/libxsl' '--with-libxml-dir=/usr/local/include/libxml' '--with-xsl=/usr/local/include/libxslt' '--with-zlib' '--with-regex=php' '--with-pgsql=/usr/local/pgsql' '--with-apxs2=/usr/local/apache2/bin/apxs'

Furthermore, this is what phpinfo() says about DOM and other XML related stuff:

[dom]
DOM/XML         enabled
DOM/XML API Version     20030413
libxml Version  2.5.7
HTML Support    enabled
XPath Support   enabled
XPointer Support        enabled

[xml]
XML Support     active
XML Namespace Support   active
libxml2 Version         2.5.7

[xsl]
XML/XSLT        enabled
DOM/XSLT        enabled
libxslt Version         1.0.30
libxslt compiled against libxml Version         2.5.7


I had absolutely no build problems, even though I can't seem to use DOM XML. I'm running RedHat Linux 9 with Apache 2.


Thanks for the direction!
-Aaron Bockover


--- End Message ---
--- Begin Message ---
>From the Desk of
MR okonji diata
AFRI Bank Lagos-Nigeria.

Dear Sir,

STRICTLY A PRIVATE BUSINESS PROPOSAL

I am MR okonji diata The manager, Bills and Exchange
at the Foreign Remittance Department of the AFRI
Bank of Nigeria Plc.

I am writing this letter to ask for your support
and cooperation to carry out this business opportunity
in my department.We discovered an abandoned sum of
$50,000,000.00 (Fifty million United States Dollars
only)in an account that belongs to one of our foreign
customers who died along with his entire family of a
wife and two children in November 1999 in a Plane
crash.


Since we heard of his death, we have been expecting
his
next-of-kin to come over and put claims for his money
as the heir, because we cannot release the fund from
his account unless someone applies for claim as the
next-of-kin to the deceased as indicated in our
banking guidelines.

Unfortunately, neither their family member nor distant
relative has ever appeared to claim the said fund.Upon
this discovery, I and other officials in my department
have agreed to make business with you and release the
total amount into your account as the heir of the fund
since no one came for it or discovered he maintained
account with our bank, otherwise the fund will be
returned to the banks treasury as unclaimed fund.

We have agreed that our ratio of sharing will be as
stated thus: 20 %for you as foreign partner, 75 % for
us the officials in my department and 5 % for the
settlement of all local and foreign expences incurred
by us and you during the course of this business.
Upon the successful completion of this transfer, I and
one of my colleagues will come to your country and
mind our share. It is from our 75 % we intend to
invest in (estate) and import Agricultural
Machineries into my country as a way of recycling the
fund.


To commence this transaction, we require you to
immediately indicate your interest by a return e-mail
and enclose private contact telephone number, fax
number full name and address and your designated
bank coordinates to enable us file letter of claim to
the appropriate departments for necessary approvals
before the transfer can be made.

Note also, this transaction must be kept STRICTLY
CONFIDENTIAL because of its nature.]

I look forward to receive your prompt response.

Yours Faithfully,

MR okonji diata.

AFRI Bank of Nigeria




--- End Message ---

Reply via email to