php-install Digest 28 Apr 2002 01:09:37 -0000 Issue 807

Topics (messages 6745 through 6757):

Re: Need help installing PHP.
        6745 by: John Clark

PHP help needed
        6746 by: Griffin, Seben C CONT JW1062
        6748 by: MikeParton
        6750 by: Jim Thome

PHP.ini
        6747 by: Peter Theeuwen
        6749 by: MikeParton
        6751 by: Jim Thome
        6752 by: Matt Schroebel
        6753 by: Peter Theeuwen

Re: apache2 whith php 4.2.0 and mysql
        6754 by: Alessandro Federico
        6756 by: Christopher Riordan

What makes PHP suddenly stop working?
        6755 by: Michael Chinn

instalation & configuration help plz
        6757 by: Pedro Arez

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 ---

Am Donnerstag den, 25. April 2002, um 18:25, schrieb Dr CHEUNG Ngai 
Tseung:

> Try renaming your file test.php
>
> It works from the command line because you are invoking php directly, 
> but
> apache doesn't pass html files to the php module.

Yes, well, oops... Now that I've looked closely at sites that have php, 
the
files have .php extension...

Thanks
John Clark

--- End Message ---
--- Begin Message ---
Good morning, I have successful installed Apache server on my NT machine and
it test fine, but I made only one mistake.
I accidentally associated the .php file extension with notepad. Now every
time I try to run the .php files it ask me do I want to open from location
or save to disk. If I let it open from location it opens in notepad. How do
I unassociated the .php extension from notepad.

Seben C. Griffin III
Web Administrator
JWFC Suffolk, VA
757-686-7994

--- End Message ---
--- Begin Message ---
Seben -

Open NT Explorer:

1.  Click on "View" on the menu bar
2.  Click "Options"
3.  Click "File Types" tab
4.  Find PHP as the file type and change the application association

If PHP isn't a listed file type, you'll need to click the "New Type" button,
add PHP as a file type and do the association

Also, even in Notepad, make sure you are saving the .php files with the .php
specified in the file name and the "Files of type" selection as "All files
(*.*)".

HTHs

Mike

----- Original Message -----
From: "Griffin, Seben C CONT JW1062" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 26, 2002 12:55 PM
Subject: [PHP-INST] PHP help needed


> Good morning, I have successful installed Apache server on my NT machine
and
> it test fine, but I made only one mistake.
> I accidentally associated the .php file extension with notepad. Now every
> time I try to run the .php files it ask me do I want to open from location
> or save to disk. If I let it open from location it opens in notepad. How
do
> I unassociated the .php extension from notepad.
>
> Seben C. Griffin III
> Web Administrator
> JWFC Suffolk, VA
> 757-686-7994
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
Seben-

Your problem has nothing to do with the file association with notepad.  The reason the 
Apache is prompting you to save/open a php file is because haven't configured Apache 
to send a .php file to the PHP engine.  For more information in fixing this problem, 
read this...  http://us2.php.net/manual/en/install.apache.php#install.apache.windows


Regards,

--Jim


>>> "Griffin, Seben C CONT JW1062" <[EMAIL PROTECTED]> 04/26/02 10:55AM >>>
Good morning, I have successful installed Apache server on my NT machine and
it test fine, but I made only one mistake.
I accidentally associated the .php file extension with notepad. Now every
time I try to run the .php files it ask me do I want to open from location
or save to disk. If I let it open from location it opens in notepad. How do
I unassociated the .php extension from notepad.

Seben C. Griffin III
Web Administrator
JWFC Suffolk, VA
757-686-7994


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


--- End Message ---
--- Begin Message ---
Basically, when uploading large files it is timing out.

Q: Where in the php.ini file can I increase the timeout (or perhaps some
other setting) for accommodating the upload of large files? - This
obviously is on a W2K box.  
I searched the archives, but could not find a similar question.  I
increased the size permitted, I just don't know where to set the option
for increasing some timeout interval.

Thank you in advance.

/pt


--- End Message ---
--- Begin Message ---
I don't believe PHP cares about timing out...that's a server function.  You
probably need to set a longer time out in your Web server (I know you set it
in httpd.conf for Apache).

Mike
----- Original Message -----
From: "Peter Theeuwen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 26, 2002 1:13 PM
Subject: [PHP-INST] PHP.ini


> Basically, when uploading large files it is timing out.
>
> Q: Where in the php.ini file can I increase the timeout (or perhaps some
> other setting) for accommodating the upload of large files? - This
> obviously is on a W2K box.
> I searched the archives, but could not find a similar question.  I
> increased the size permitted, I just don't know where to set the option
> for increasing some timeout interval.
>
> Thank you in advance.
>
> /pt
>
>
>

--- End Message ---
--- Begin Message ---
Peter-

Best to place the following line in your script, so the max execution time is only 
changed in that script and not throughout your site.

ini_set("max_execution_time", "60"); //60 seconds timeout

--Jim

>>> "Peter Theeuwen" <[EMAIL PROTECTED]> 04/26/02 11:13AM >>>
Basically, when uploading large files it is timing out.

Q: Where in the php.ini file can I increase the timeout (or perhaps some
other setting) for accommodating the upload of large files? - This
obviously is on a W2K box.  
I searched the archives, but could not find a similar question.  I
increased the size permitted, I just don't know where to set the option
for increasing some timeout interval.

Thank you in advance.

/pt



--- End Message ---
--- Begin Message ---
Could it be too big?
http://marc.theaimsgroup.com/?l=php-general&m=101729368004277&w=2

max_execution_time is what your looking for, but you'll receive an error message if 
you hit it.  You can set it in a particular script with set_time_limit()  see 
http://www.php.net/manual/en/function.set-time-limit.php

> -----Original Message-----
> From: Peter Theeuwen [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, April 26, 2002 1:14 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] PHP.ini
> 
> 
> Basically, when uploading large files it is timing out.
> 
> Q: Where in the php.ini file can I increase the timeout (or 
> perhaps some
> other setting) for accommodating the upload of large files? - This
> obviously is on a W2K box.  
> I searched the archives, but could not find a similar question.  I
> increased the size permitted, I just don't know where to set 
> the option
> for increasing some timeout interval.
> 
> Thank you in advance.
> 
> /pt
> 
> 
> 
--- End Message ---
--- Begin Message ---
Thank you guys for your help - I'm overwhelmed.

Thanks.

-----Original Message-----
From: Matt Schroebel [mailto:[EMAIL PROTECTED]] 
Sent: Friday, April 26, 2002 10:27 AM
To: 'Peter Theeuwen'; [EMAIL PROTECTED]
Subject: RE: [PHP-INST] PHP.ini

Could it be too big?
http://marc.theaimsgroup.com/?l=php-general&m=101729368004277&w=2

max_execution_time is what your looking for, but you'll receive an error
message if you hit it.  You can set it in a particular script with
set_time_limit()  see
http://www.php.net/manual/en/function.set-time-limit.php

> -----Original Message-----
> From: Peter Theeuwen [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, April 26, 2002 1:14 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] PHP.ini
> 
> 
> Basically, when uploading large files it is timing out.
> 
> Q: Where in the php.ini file can I increase the timeout (or 
> perhaps some
> other setting) for accommodating the upload of large files? - This
> obviously is on a W2K box.  
> I searched the archives, but could not find a similar question.  I
> increased the size permitted, I just don't know where to set 
> the option
> for increasing some timeout interval.
> 
> Thank you in advance.
> 
> /pt
> 
> 
> 

--- End Message ---
--- Begin Message ---
hi franco,
I've compiled apache 2.0.35 (with DSO) and php 4.2.0 with
--with-mysql=shared (which uses libmysql from php distribution)
and I got the same problem. 
next I've compiled php with --with-mysql=/path and now 
everything it's ok!
maybe it depends on the version of mysql, I have 3.23.49a.

bye,
ale

F.Lanza wrote:

> F.Lanza wrote:
> 
> Little add to my precedent post:
> 
> the connection to mysql don't work only if the host of dbserver is
> "localhost",
> with remote db server all work.
> 
> Is this a bug of php?
> 
> Regards
> 
> Franco
> 
>> hi,
>> I've been compiled today php 4.2.0 with apache 2.0.35, apache compiled
>> with DSO support and php with --with-mysql=/path  , --with-apxs=/path and
>> --disable-posix.
>> 
>> php seems work fine, but all the connection to an mysql database don't
>> work.
>> 
>> anyone have an idea?
>> 
>> tnx and Regards
>> 
>> Franco

-- 
***************************************************
     Alessandro Federico
     CASPUR  -  http://www.caspur.it/

     e-mail:    [EMAIL PROTECTED]
     phone:     +39 06 4991 3064
     fax:       +39 06 4957083

  Errare e' umano... ma per fare veramente casino
  bisogna avere la password di root!
***************************************************
--- End Message ---
--- Begin Message ---
If you read when you make PHP it says DO NOT USE THE INTERNAL libraries that
are shipped with mysql, use the ones that come with MySQL. that is to avoid
issues with things like this. :)

Chris Riordan
http://www.hal-9000.net


----- Original Message -----
From: "Alessandro Federico" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 26, 2002 1:51 PM
Subject: [PHP-INST] Re: apache2 whith php 4.2.0 and mysql


> hi franco,
> I've compiled apache 2.0.35 (with DSO) and php 4.2.0 with
> --with-mysql=shared (which uses libmysql from php distribution)
> and I got the same problem.
> next I've compiled php with --with-mysql=/path and now
> everything it's ok!
> maybe it depends on the version of mysql, I have 3.23.49a.
>
> bye,
> ale
>
> F.Lanza wrote:
>
> > F.Lanza wrote:
> >
> > Little add to my precedent post:
> >
> > the connection to mysql don't work only if the host of dbserver is
> > "localhost",
> > with remote db server all work.
> >
> > Is this a bug of php?
> >
> > Regards
> >
> > Franco
> >
> >> hi,
> >> I've been compiled today php 4.2.0 with apache 2.0.35, apache compiled
> >> with DSO support and php with --with-mysql=/path  , --with-apxs=/path
and
> >> --disable-posix.
> >>
> >> php seems work fine, but all the connection to an mysql database don't
> >> work.
> >>
> >> anyone have an idea?
> >>
> >> tnx and Regards
> >>
> >> Franco
>
> --
> ***************************************************
>      Alessandro Federico
>      CASPUR  -  http://www.caspur.it/
>
>      e-mail:    [EMAIL PROTECTED]
>      phone:     +39 06 4991 3064
>      fax:       +39 06 4957083
>
>   Errare e' umano... ma per fare veramente casino
>   bisogna avere la password di root!
> ***************************************************
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message ---
Greetings:

I have php (4.0.1 without upload) working on a Redhat 7.1 server with 
Apache 1.3.23.  I have a couple of small web sites working and a php-based 
bulletin board (phpBB) that works just fine.

I use other web site as a php learning site for me :)

My question: What would make php suddenly stop working?

I had some of my work and the bulletin board suddenly stop working.  Apache 
continued to work just fine (web pages pop up) but php wouldn't.

I restarted Apache but I couldn't get php "execute" any of the scripts that 
had previously worked.

I finally got PHP back to working by rebooting the entire system.

Ideas?

Thank you in advance.

Regards,
Michael Chinn

--- End Message ---
--- Begin Message ---




i have just instale apache and php on my machine.... but i have a problem...
i tried to run phpadmin... mysql is instaled... i am able to see the inicial
page of phpadmin but when i try to open a link... i get a download window
asking me if i want to download the file to the computer... ex:
index.php....
what could be the problem?
--- End Message ---

Reply via email to