php-windows Digest 21 Feb 2004 19:41:14 -0000 Issue 2133

Topics (messages 22925 through 22935):

Re: date conversion
        22925 by: Sudeep Sarath
        22926 by: Sudeep Sarath

NEWBIE: Is this consistant of bad PHP install?
        22927 by: James Thomas \(Newbie\)
        22928 by: DvDmanDT
        22929 by: Leo Divinagracia

swamp installed but no joy
        22930 by: danny cobbinah
        22931 by: danny cobbinah

Re: php on windows xp
        22932 by: danny cobbinah
        22933 by: Svensson, B.A.T. (HKG)
        22934 by: Svensson, B.A.T. (HKG)

help with this installation
        22935 by: danny cobbinah

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 ---
Hai Rajesh,
 
Thanx....It worked with date.
But when i try to display the time by:
<?=date('H:i:s',time()+60*60*13.5);?>
 
It displays time approx 1hour ahead of IST.
What could be the problem??
 
SuDeEp

Rajesh Kumar <[EMAIL PROTECTED]> wrote:
Sudeep Sarath once wrote:

> I have to convert the server date to my local date i.e Indian standard time(IST)(or 
> to my system time).
> 
> My program is :
> > $display=date("F")." ".date("d").", ".date("Y");
> echo $display;
> ?>

Use:



> SuDeEp


-- 
.''`.
: :' :
`. `'`
`- [ Rajesh Kumar ]

Yahoo! India Insurance Special: Be informed on the best policies, services, tools and 
more.

--- End Message ---
--- Begin Message ---
Hai Rajesh,
 
Thanx....It worked with date.
But when i try to display the time by:
<?=date('H:i:s',time()+60*60*13.5);?>
 
It displays time approx 1hour ahead of IST.
What could be the problem??
 
SuDeEp


Rajesh Kumar <[EMAIL PROTECTED]> wrote:
Sudeep Sarath once wrote:

> I have to convert the server date to my local date i.e Indian standard time(IST)(or 
> to my system time).
> 
> My program is :
> > $display=date("F")." ".date("d").", ".date("Y");
> echo $display;
> ?>

Use:



> SuDeEp


-- 
.''`.
: :' :
`. `'`
`- [ Rajesh Kumar ]


Yahoo! India Insurance Special: Be informed on the best policies, services, tools and 
more.

--- End Message ---
--- Begin Message ---
Have spent the best part of twoo days trying to get PHP 4.3.4 to work on
Apache 1.3.29.

I have followed various different installs.

Basically I have a test page in htdocs called test.php

If i call http://localhost/test.php i get a 404 file not found.

Is this consistant of a bad PHP install?

--- End Message ---
--- Begin Message ---
Sounds like you have both Apache and IIS, and that IIS is catching the
requests instead of Apache.. :p

If that's not the case, try to check the DocumentRoot in httpd.conf.. This
seems to be an Apache error rather than something to do with PHP..

Hope you solve it..
-- 
// DvDmanDT
MSN: dvdmandt€hotmail.com
Mail: dvdmandt€telia.com
"James Thomas )" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Have spent the best part of twoo days trying to get PHP 4.3.4 to work on
> Apache 1.3.29.
>
> I have followed various different installs.
>
> Basically I have a test page in htdocs called test.php
>
> If i call http://localhost/test.php i get a 404 file not found.
>
> Is this consistant of a bad PHP install?

--- End Message ---
--- Begin Message --- James Thomas (Newbie) wrote:

Have spent the best part of twoo days trying to get PHP 4.3.4 to work on
Apache 1.3.29.

I have followed various different installs.

Basically I have a test page in htdocs called test.php

If i call http://localhost/test.php i get a 404 file not found.

Is this consistant of a bad PHP install?




if you place a normal HMTL page there, does it load? if no... then check apache's root in the config file...


worse case, grab one of the numerous windows installers that installs all 3 components.

there is SWAMP: swamp.sourceforge.net for a secured HTTPS installation

there is FOXSERV: www.foxserv.net
--- End Message ---
--- Begin Message ---
i installed swamp (apache, mysql and php) everything installed fine. keyed
in this address C:\swamp\www\index.html and everything displayed well.
listed all the programs that were installed. at the bottom was a link
https://localhost/ clicked it to find that the page could not be found. any
ideas as to why this is please?

--- End Message ---
--- Begin Message ---
i even went into control panel->admin tools->services to start the apache2
there. but no luck either. looking downt the list mysql has started but php
doesnt even show. what can i do?
"Danny Cobbinah" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> i installed swamp (apache, mysql and php) everything installed fine. keyed
> in this address C:\swamp\www\index.html and everything displayed well.
> listed all the programs that were installed. at the bottom was a link
> https://localhost/ clicked it to find that the page could not be found.
any
> ideas as to why this is please?

--- End Message ---
--- Begin Message ---
i dont get step 2 and step 3. could you explain it for me please
"Meteorlet Woody" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> danny cobbinah,Hello£¡
>
> the precedure:
> 1) rename php.ini-dist to php.ini and copy it to system path,such as
C:/Windows/ or C:/winnt/
> 2) copy php4ts.dll to "system32" directory under system path
> 3) modify the configuration of httpd.conf. Add:
> LoadModule php4_module "F:/homepage/php/sapi/php4apache2.dll"  # here is
not installed php path.
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .php3
> 4) restart apache server and your PHP will work.
>
> ======= 2004-02-21 04:55:17 =======
>
> >i have installed apache 2 and mysql 3 on my pc (running xp home) i have
> >installed php 4.3.4 but have hit a snag. the php doesnt seem to gel with
> >apache at all. any help please? how do i configure apache and php to mix?
> >
> >--
> >PHP Windows Mailing List (http://www.php.net/)
> >To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> = = = = = = = = = = = = = = = = = = = =
>
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Meteorlet Woody
> [EMAIL PROTECTED]
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2004-02-21
>

--- End Message ---
--- Begin Message ---
Well, this explain a lot. :)

System32 is a folder in the windows installation directory,
if defualt, it should be at C:\Windows\System32. Normlay most
application looks for DLL's (Dynamaic Loadable Libraires) here.
If you put an DLL here, then most applications will be able to
find it.

httpd.conf is the "ini"-file of apache, you probaly find it in the apache
installation dirctory.

If you can locate them, just do a find-file-and-dirctories search.

-----Original Message-----
From: danny cobbinah
To: [EMAIL PROTECTED]
Sent: 2004-02-21 16:54
Subject: Re: [PHP-WIN] php on windows xp

i dont get step 2 and step 3. could you explain it for me please
"Meteorlet Woody" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> danny cobbinah,Hello?!
>
> the precedure:
> 2) copy php4ts.dll to "system32" directory under system path
> 3) modify the configuration of httpd.conf. Add:

--- End Message ---
--- Begin Message ---
I can tellf rom my spell that I already been drinking to many beers this
evening... <cheers!>

-----Original Message-----
From: Svensson, B.A.T. (HKG)
To: '[EMAIL PROTECTED] '
Sent: 2004-02-21 18:35
Subject: RE: [PHP-WIN] php on windows xp

Well, this explain a lot. :)

System32 is a folder in the windows installation directory,
if defualt, it should be at C:\Windows\System32. Normlay most
application looks for DLL's (Dynamaic Loadable Libraires) here.
If you put an DLL here, then most applications will be able to
find it.

--- End Message ---
--- Begin Message ---
i followed this tute on how to set up the php and apache. and still i have
not joy. my localhost command isnt working at all. i am at a loss. really
need help with this.
http://madeyeted.no-ip.com/tutorial1.html

--- End Message ---

Reply via email to