php-install Digest 24 Dec 2001 08:59:59 -0000 Issue 616

Topics (messages 5375 through 5379):

PHP doesn't work on Redhat 7.2
        5375 by: Michiel van Otegem \(lists ONLY\)

help with Open_basedir in virtual server
        5376 by: Nagasea

Re: Escaping Characters in PHP
        5377 by: James Sparenberg

help ! php install in Sun Solaris8
        5378 by: flutter

HELP?
        5379 by: Marios Karagiannopoulos

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 ---
Here's the deal...

I've downloaded Redhat 7.2, created two CDs and installed it.

I installed it with Apache and all the PHP modules.

I found out that Apache didn't run autmoatically after booting, so I changed that. 
Apache now runs fine.

However, when I request a PHP file, I get the contents of the PHP file, without it 
being executed by the server.

When I open the Apache Config tool, I see index.php set as the default page, so why 
isn't any .php file being executed?

I tried chmodding so it has execute rights... nothing.

My files are in the root webdir (index.html loads fine over HTTP), so it should work.

Anybody have clue what I have to do? Thanks.

/Michiel

--- End Message ---
--- Begin Message ---
I always got this error message since we move to the new server.
And the "include" command is not working too.
------------------------------------------------------------------------
Warning: open_basedir restriction in effect. File is in wrong directory in 
/usr/local/psa/home/vhosts/indoguides.com/httpdocs/fileupload/fileupload.class on line 
46

Warning: getimagesize: Unable to open '/tmp/phpnUgVLG' for reading. in 
/usr/local/psa/home/vhosts/indoguides.com/httpdocs/fileupload/fileupload.class on line 
46
------------------------------------------------------------------------
ANYbody know what should i change with my php.ini / httpd.conf
here is my phpinfo for the server :
http://www.indoguides.com/phpinfo.php

thanks
NagaSea



_____________________________________________________________
www.kaskus.com - Community Forum & Free Email service
--- End Message ---
--- Begin Message ---
Katie,
  Using PHP-Nuke (and in a php store I can't show clips from) if I put the following 
code in 

<strong><big>·</big></strong> <a href=index.php>Home</a><br>
<strong><big>·</big></strong> <a href=topics.php>Topics</a><br>
<strong><big>·</big></strong> <a href=sections.php>Sections</a><br>
<strong><big>·</big></strong> <a href=reviews.php>Reviews</a><br>
<strong><big>·</big></strong> <a href=friend.php>Recommend Us</a><br>
<strong><big>·</big></strong> <a href=user.php>Your Account</a><br>
<strong><big>·</big></strong> <a href=submit.php>Submit News</a><br>
<strong><big>·</big></strong> <a href=stats.php>Stats</a><br>
<strong><big>·</big></strong> <a href=top.php>Top 10</a><br>

It works.

the stock code however was

<strong><big>·</big></strong> <a href=\"index.php\">Home</a><br>
<strong><big>·</big></strong> <a href=\"topics.php\">Topics</a><br>
<strong><big>·</big></strong> <a href=\"sections.php\">Sections</a><br>
<strong><big>·</big></strong> <a href=\"reviews.php\">Reviews</a><br>
<strong><big>·</big></strong> <a href=\"friend.php\"Recommend Us</a><br>
<strong><big>·</big></strong> <a href=\"user.php\">Your Account</a><br>
<strong><big>·</big></strong> <a href=\"submit.php\">Submit News</a><br>
<strong><big>·</big></strong> <a href=\"stats.php\">Stats</a><br>
<strong><big>·</big></strong> <a href=\"top.php\">Top 10</a><br>

Which is more inline with W3C standard html output. Through out the code the \ is used 
to escape single and double quotes.  For contractions in titles etc.  Consistantly it 
prints \" instead of " to the output.  Did I set up something wrong?

James




On Sun, 23 Dec 2001 09:09:20 -0800 (PST)
The_polymorph <[EMAIL PROTECTED]> wrote:

> Hi James.
> 
>  I am using version 4.1.0 and I just typed the following test script
> for you:
> 
> <?php
> 
>  echo "Who's car is it?";
> 
> ?>
> 
> It worked fine. Just make sure you are using double quotes and not
> single ones.
> 
> -Katie.
> 
> --- James Sparenberg <[EMAIL PROTECTED]> wrote:
> > All,
> >   I'm trying to escape characters in my text files such as ' " * etc.
> >  I know that the standard is to type something like Who\'s car is it?
> >  and the output should be Who's car is it.  Unfortunately what I get
> > is Who\'s car is it exactly as typed into the string.  If I then
> > input Who's car is it?  It will output Who\'s car is it?  How do I
> > correctly escape these characters.  Or rather where in the config
> > file did I blow it.
> > 
> > 
> > James
> > 
> > -- 
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail:
> > [EMAIL PROTECTED]
> > 
> 
> 
> =====
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> http://greetings.yahoo.com
--- End Message ---
--- Begin Message ---
Hi,every one!
When I run "make", I get errors like this :
 
#
#make
Mking all in Zend
make[1]: Entering directory `/usr/share/src/php-4.0.6/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
   -D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21  -g -O2 -c zend_
language_scanner.c
/usr/ccs/bin/as: "/var/tmp/ccy20dHk.s", line 29507: error: unknown opcode ".subs
ection"
/usr/ccs/bin/as: "/var/tmp/ccy20dHk.s", line 29507: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccy20dHk.s", line 29665: error: unknown opcode ".prev
i
ous"
/usr/ccs/bin/as: "/var/tmp/ccy20dHk.s", line 29665: error: statement syntax
make[1]: *** [zend_language_scanner.lo] Error 1
make[1]: Leaving directory `/usr/share/src/php-4.0.6/Zend'
make: *** [all-recursive] Error 1
#
#
 
   My computer is SUN Ultra10,and my OS is Solaris 8 with Simple-Chinese Languag
e(GB2312), 
I use GCC-3.0.1,make-3.79.1,php-4.1.0,flex-2.5.4, please help me !
   Thank you Sir !
                                             flutter 
                                                    2001-12-19



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

I am trying to compile the PHP4.1.0 with gmp support
>From VStudio 6 but I can't. A lot of compilation errors.
Actually I would like to use the gcd(a,b) function...
Can anyone help me?

Happy New Year !!

--- End Message ---

Reply via email to