Allow me to paste the PHP bit of my httpd.conf:

LoadFile C:/PHP/php4ts.dll
Loadmodule php4_module c:\php\sapi\php4apache.dll
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps
ScriptAlias /php3/ "c:/php3/"
ScriptAlias /php4/ "c:/php/"
ScriptAlias /php5/ "D:/php5/"
AddType application/x-httpd-php5 .php5
Action application/x-httpd-php5 "/php5/php.exe"
AddType application/x-httpd-php4 .php .phtml
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php3 .php3
Action application/x-httpd-php3 "/php3/php.exe"

I haven't added PHP 2 as of yet... Just wait... Anyway, this'll enable
.phps, apache module and cgi version of PHP 4, CGI version of 3 and 5...
"Alex Ciurea" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> oh, I see. My bad, my mistake...
>
> I also have had problems with apache/php in the past. The apache couldn't
> parse the php files. All the php tags were interpreted as normal text and
> displayed to the browser.
>
> So, try :
> >>>>>>
> phpinfo();
> >>>>>>
> into one of your php files.
>
> it should work if your apache/php server is configured properly.
>
>
> Good luck!
>
> ------------------------
> Alex Ciurea Greets You
> www.netonwave.com
> ----- Original Message -----
> From: "Lars Torben Wilson" <[EMAIL PROTECTED]>
> To: "Alex Ciurea" <[EMAIL PROTECTED]>
> Cc: "php mailinlist" <[EMAIL PROTECTED]>; "Khoo Merry"
> <[EMAIL PROTECTED]>
> Sent: Sunday, June 15, 2003 11:18 AM
> Subject: Re: [PHP] is my server working
>
>
> > On Sun, 2003-06-15 at 01:07, Alex Ciurea wrote:
> > > try to use echo instead of print()   :
> > >
> > > >>>>>>
> > > echo $myString;
> > > >>>>>>
> > >
> > > or, if u realy want to use the print function, try this:
> > >
> > > >>>>>>
> > > print("$myString", %s);
> > > >>>>>>
> > >
> > > maybe will work
> > >
> > > ------------------------
> > > Alex Ciurea Greets You
> > > www.netonwave.com
> >
> >
> > I think you might be getting confused with printf(). In that case, the
> > above would be:
> >
> >   printf("%s", $myString);
> >
> > In any event, the choice will have no impact here. It simply appears
> > that the original poster has not got PHP installed properly, or else
> > the system is not configured to pass that page of through PHP.
> >
> >
> >   http://www.php.net/print
> >   http://www.php.net/printf
> >
> >
> > --
> >  Torben Wilson <[EMAIL PROTECTED]>                        +1.604.709.0506
> >  http://www.thebuttlesschaps.com          http://www.inflatableeye.com
> >  http://www.hybrid17.com                  http://www.themainonmain.com
> >  -----==== Boycott Starbucks!  http://www.haidabuckscafe.com ====-----
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
>
>
>
>



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

Reply via email to