php-install Digest 23 Oct 2001 11:02:45 -0000 Issue 518

Topics (messages 4700 through 4709):

PHP4-Windows98-PWS
        4700 by: Yim Lee
        4701 by: Jonathan Hilgeman

How to install PHP4 as interpreter?
        4702 by: Joe Hu

Re: .alloca under AIX
        4703 by: Dariush

About newline or carriage return a in Japanese OS.
        4704 by: Archer

php-4.x + apache-1.3.20 + OAS
        4705 by: Michael Drew

Re: cannot run php within html
        4706 by: Dariush

PHP binary
        4707 by: Dariush

Problem starting apache after installing PHP as shared module
        4708 by: Ulrich S. Kapp

big pb: gdimagecreatefromjpeg not working
        4709 by: n.windpassinger.toutophone.com

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]


----------------------------------------------------------------------


Looking for help.  I tried to install PHP4 on Windows 98 with PWS, following the 
manual on www.php.net Windows installation section.  It dit NOT work, maybe something 
unclear.  If you know, would you get me some help?  Thanks

COM




Try FoxServe:
http://sourceforge.net/project/showfiles.php?group_id=24751&release_id=57934

It should set up everything you need - PHP 4.06 / Apache 1.3.22 / mySQL
3.32.43

- Jonathan

-----Original Message-----
From: Yim Lee [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 5:07 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP-INST] PHP4-Windows98-PWS


Looking for help.  I tried to install PHP4 on Windows 98 with PWS, following
the manual on www.php.net Windows installation section.  It dit NOT work,
maybe something unclear.  If you know, would you get me some help?  Thanks

COM




I'm new to PHP. I just installed PHP4 as an apache module. I'd also like to
run php scripts on command line. However, I didn't find php or php4 command
on my system. Does any know how to install php4 also as an interpreter?

Thanks in advance.

joe





'export CFLAGS=-ma' to set
'echo $CFLAGS' to view value from shell

Bastien Leblanc <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This is apprently a common problem, but i don't know how to solve it, i
> tried the 4.0.6RC4 version, didn't wotk
> how can i use CFLAGS= -ma, where and when do I put this?
> thank for your help.
> Bastien
>
>
>






Hello,

        Good Day!
        I have problem regarding newline using Japanese OS (Windows NT),
PHP4.

        I include this code in my php file and this did not act properly,
instead (new line), "\n" also
        displayed in the browser.

-----------------------------------------
        Php file:
        echo 'I am trying to include at this point: \n a newline';

        Result:
        I am trying to include at this point: \r a newline
-----------------------------------------
        Note: \n = Yn (Yen sign in Japanes OS)

Archer




Hi all, I hope someone can help me.  I can get apache (compile dynamically) 
and OAS to work, but when I added php module in, it segfault on me.  I am 
on solaris 2.6. This is what i used to compiled php: 
./configure --with-apxs=<path>/apxs --with-oci8 --with-oracle=<oracle_home> 
 --enable-track-vars --enable-versioning

Then I umcomment the LoadModule, e.g: 
LoadModule ows_module /opt/oas/4.0/ows/4.0/lib/ndwfapd.so
LoadModule php4_module        libexec/libphp4.so
#ClearModuleList               
AddModule mod_php4.c      
AddType application/x-httpd-php .php

to test it I ran as regular user (oas user): ./httpd -f <path>/httpd.conf 
which yields segfault, but when I uncomment everything related to php, it 
ran find.  Have some ever done this before, any help is appreciated. Thanks.






you have to modify the PHP mime types to allow parsing of html files,
although I wouldn't reccommend it..

Roger Pang <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have written the following html called "test.html" in /var/www/html
> directory :
> <html>
> <body>
> <?php
> phpinfo()
> ?>
> </body>
> </html>
>
> When I access this html with a browser, nothing displayed. However, when I
> renamed it to "test.php", it works.
>
> Anything wrong ? I am running Red Hat 7.1 and chosen to install
everything.
> No change on any config files relating to PHP and Apache.
>
>
>
>






G'day People,
  Could someone please supply me with a (ultra/)sparc PHP4.x binary? I'm
going spare trying get the thing to even configure properly!

Thanks in advance,
Dariush






Hi folks,

I installed apache (1.3.22) and PHP (4.0.6) on my test-server with the
following options:

apache:
./configure --prefix=/web/ap13.3 --enable-module=usertrack
--enable-module=so

PHP:
./configure --prefix=/web/ap13.3/php/usr/local
--with-apxs=/web/ap13.3/bin/apxs --enable-dmaloc --enable-php-streams
--enable-ftp --with-imap=/usr/lib --with-mysql=/usr/local
--with-pdflib=/usr/lib --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib
--with-tiff-dir=/usr/lib --enable-trans-sid --enable-sockets
--enable-inline-optimization

compiling and installing all went without errors, but when I try to start
apache, I get the following error:

Syntax error on line 205 of /web/ap13.3/conf/httpd.conf:
Cannot load /web/ap13.3/libexec/libphp4.so into server: undefined symbol:
SSL_CTX_set_tmp_rsa_callback
/./web/ap13.3/bin/apachectl start: httpd could not be started


Does anybody know this problem and how to resolve it?

Ulrich ([EMAIL PROTECTED])






Hi all,

I am having a problem with our GD library "friend" ;-)
ok, here it is:

I have installed gd with the correct jpeg libraries.
I then ./configure PHP:
./configure --with-apxs=/usr/apache/bin/apxs --with-zlib=/usr
--with-oci8=/export/home0/oracle/OraHome --with-gd=/usr/local
--with-jpeg-dir=/usr/local/lib --with-png=/usr/local/lib

works fine:

checking for the location of -ljpeg... yes
checking for the location of -lpng... yes
...
checking for gdImageCreateFromJpeg in -lgd... yes

ok so that means (I suppose) that the function gdImageCreateFromJpeg  works
fine and should be ok in php code......

Then I do a make and make install, no problems.
BUT:
when I do this code:

$img=gdImageCreateFromJpeg(".test.jpg");
$blue=ImagecolorAllocate($img,0,0,250);
imagestring($img,4,10,4,"Connexion",$blue);

it then sends me out an error:
Fatal error: Call to undefined function: gdimagecreatefromjpeg() in
/usr/apache/savophone/test.php

Please HELP !!!!
Thanks a  lot in advance,

Nicolas.






Reply via email to