Re: is my server working

From: Date: Sun, 15 Jun 2003 09:00:16 +0000
Subject: Re: is my server working
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-151549@lists.php.net to get a copy of this message
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" <alex@netonwave.com> skrev i meddelandet news:008d01c33319$0ea81000$4b19a8c0@sancho... > 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" <torben@php.net> > To: "Alex Ciurea" <alex@netonwave.com> > Cc: "php mailinlist" <php-general@lists.php.net>; "Khoo Merry" > <merry_e_k@yahoo.com> > 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 <torben@php.net> +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 > > > > > > > > > >

« previous php.general (#151549) next »