php-install Digest 2 Apr 2002 19:07:22 -0000 Issue 773

Topics (messages 6529 through 6534):

Re: why is my php code showing up in my browser?
        6529 by: Marc

Re: PHP on Win 2000 server with Apache
        6530 by: martinahingis

XSLTransformation via Sablotron
        6531 by: Jan Walter
        6532 by: Steve at Puddletown

Problems with php and gd2 install
        6533 by: AEG Dynamics

php+java on freebsd
        6534 by: Ivan Voras

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 ---
I have a similar problem and I definitely have the addtype in my .conf
file..  ANy other suggestions?
Marc

"Chris Hewitt" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If phpinfo() does not work either, then examing the AddType etc entries
> in httpd.conf (assuming you are using apache).
>
> Regards
>
> Chris
>
> Timothy R. Robnett wrote:
>
> >On Sat Mar 09, 2002 at 01:37:09PM -0500, Allen Smith wrote:
> >
> >>I just got a new server and php isnt doing something right.  I uploaded
a
> >>vbulletin to the server on a stie that I created there and it doesnt
> >>show...what DOES show is all of the code that is in the hp file...can
anyone
> >>help?
> >>
> >
> >What does phpinfo() show. Sounds to me like PHP isn't running on the new
server.
> >
> >Tim
> >
>
>
>


--- End Message ---
--- Begin Message ---
download php-4.1.2-Win32.zip on www.php.net
extract zip to c:\php

rename php.ini-dist to php.ini in c:\php

copy this php.ini and the php4ts.dll  to system folders (c:\winnt\,
c:\winnt\system\ and c:\winnt\system32).

open c:\%apachedir%\conf\httpd.conf in notepad

add these lines

LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3


save it and close
restart the server

--

martina.
"Marc" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have apache web server running on a Windows 2000 server with SP2.
>
> I have followed all the directions, atleast I think I have, for the
> installation of PHP.
>
> But, when I try to run the php files I only see the text, they are
obviously
> not being send to the php for compilation.
>
> Does anyone have any details on a proper installation or any ideas?
>
> Thank you!!
> Marc
>
>


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

I've used this sample code as well as the installation described at
http://shanx.com/php/xsl/getXsl.htm (using W2K, Apache 1.3.20, PHP
4.1.2.).

<?php
  // Create an XSLT processor
  $xsltHandle = xslt_create();

  // Perform the transformation
  $out = xslt_process($xsltHandle, getcwd().'test.xml',
getcwd().'test.xsl');

  // Detect errors
  if(!$out) die(xslt_error($xsltHandle));

  // Destroy the XSLT processor
  xslt_free($xsltHandle);
?>

The result is that Sablotron itself (command line) works fine but this
code produces
following error "XML parser error 4: not well-formed (invalid token)".

I would appreciate any hint. Thanx alot.
-- 
=================================
[NAME] jan walter [ALIAS] john
[COMPANY] lerach s.r.o.
[GSM] (+420)(777)31 99 31
[SMS] john.sms(at)mujoskar.cz
[EMAIL] john(at)lerach.cz
[ICQ] 28353428
=================================
--- End Message ---
--- Begin Message ---


-----Original Message-----
From: Jan Walter [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 9:20 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP-INST] XSLTransformation via Sablotron


Hello,

I've used this sample code as well as the installation described at
http://shanx.com/php/xsl/getXsl.htm (using W2K, Apache 1.3.20, PHP
4.1.2.).

<?php
  // Create an XSLT processor
  $xsltHandle = xslt_create();

  // Perform the transformation
  $out = xslt_process($xsltHandle, getcwd().'test.xml',
getcwd().'test.xsl');

  // Detect errors
  if(!$out) die(xslt_error($xsltHandle));

  // Destroy the XSLT processor
  xslt_free($xsltHandle);
?>

The result is that Sablotron itself (command line) works fine but this
code produces
following error "XML parser error 4: not well-formed (invalid token)".

I would appreciate any hint. Thanx alot.
-- 
=================================
[NAME] jan walter [ALIAS] john
[COMPANY] lerach s.r.o.
[GSM] (+420)(777)31 99 31
[SMS] john.sms(at)mujoskar.cz
[EMAIL] john(at)lerach.cz
[ICQ] 28353428
=================================

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

--- End Message ---
--- Begin Message ---
Find attached the debug.log file

Redhat 6.2 server
--- End Message ---
--- Begin Message ---
Can anyone tell me how to get java support for php working? I compiled
apache with -pthread option, I properly configured php.ini
(phpinfo() agrees), but I cannot overcome this:

(the message appears as a PHP error when trying to create any java objects)

Fatal error: Unable to load Java Library
/usr/local/jdk1.1.8/lib/i386/green_threads/libjava.so, error:
/usr/local/jdk1.1.8/lib/i386/green_threads/libjava.so: Undefined symbol
"fmod" in /usr/home/ivoras/public_html/jver.php on line 4

apparently, libjava.so links to a symbol 'fmod', which is in libm.so, but
libjava.so is
not linked to use libm.so. (?) (all jdk1.1.8 binaries are actually using
compat3x libraries)

(I have no preference for a JDK, I just need the stuff working.)

--
--
Ashes to ashes, DOS to DOS
ivoras @ fer.hr



--- End Message ---

Reply via email to