php-install Digest 4 Jun 2003 08:12:48 -0000 Issue 1407
Topics (messages 11003 through 11008):
move_uploaded_file > 1MB
11003 by: Maurício Valente
11004 by: Martin Östlund
11005 by: Martin Östlund
transfer of variables from one page to another
11006 by: Matthew Betts
Re: Getting PHP to work with Apache server
11007 by: Andrew Winton
11008 by: Stephen
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 ---
Hello everybody!
I'm trying to upload a file using the move_uploaded_file function, everyting
works fine when the files have less than 1MB but when I upload one more than
this, IE returns the error The page cannot be displayed and in it's title
shows Cannot find server. I alreary edit php.ini setting UPLOAD_MAX_FILESIZE
to 8388608 (8M), post_max_size = 8388608 and file_uploads = On (memory_limit
is 8388608 too).
Someone could help me?
Thanks in advance!
Maurício Valente
--- End Message ---
--- Begin Message ---
Hello Mauricio.
Could it be that simple that you have an slow Internet connection and
it times out? I think you can increase the time-to-live (ttl) setting
in your httpd.conf (if you're using Apache).
Just a guess.
Cheers, Martin Östlund
On Tue, 3 Jun 2003, Maurício Valente wrote:
> Hello everybody!
>
> I'm trying to upload a file using the move_uploaded_file function, everyting
> works fine when the files have less than 1MB but when I upload one more than
> this, IE returns the error The page cannot be displayed and in it's title
> shows Cannot find server. I alreary edit php.ini setting UPLOAD_MAX_FILESIZE
> to 8388608 (8M), post_max_size = 8388608 and file_uploads = On (memory_limit
> is 8388608 too).
>
> Someone could help me?
>
> Thanks in advance!
>
> Maurício Valente
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Hello Mauricio.
Could it be that simple that you have an slow Internet connection and
it times out? I think you can increase the time-to-live (ttl) setting
in your httpd.conf (if you're using Apache).
Just a guess.
Cheers, Martin Östlund
> On Tue, 3 Jun 2003, Maurício Valente wrote:
>
> > Hello everybody!
> >
> > I'm trying to upload a file using the move_uploaded_file function, everyting
> > works fine when the files have less than 1MB but when I upload one more than
> > this, IE returns the error The page cannot be displayed and in it's title
> > shows Cannot find server. I alreary edit php.ini setting UPLOAD_MAX_FILESIZE
> > to 8388608 (8M), post_max_size = 8388608 and file_uploads = On (memory_limit
> > is 8388608 too).
> >
> > Someone could help me?
> >
> > Thanks in advance!
> >
> > Maurício Valente
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
I have written some code that should display the variables that were entered
in text boxes on a previous page. I have tried the code ona freinds server
and it worked there so it must be a problem with the way mine was configured
I am running php 4.3.1 on apache 1.3.24 on windows 2k
Can anyone tell me what i should do in order to get this to work.
Many thanks
Matt
--- End Message ---
--- Begin Message ---
I have been referred to you regarding my PHP installation query below.
I do hope you can help.
Thanks and regards.
Andrew.
-----Original Message-----
From: Gabor Hojtsy [SMTP:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 1:51 PM
To: [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED]'
Subject: Re: Getting PHP to work with Apache server
Hi!
Please ask installation questions at [EMAIL PROTECTED] or
[EMAIL PROTECTED] I hope you can understand that the php.net
webmasters are not handling user problems.
Have a good luck with setting up PHP,
Goba
> Hello Webmaster,
>
> I have spent some time looking at all the faqs and cannot find an answer. I
> do so hope that you can help.
>
> I had Apache running Perl scripts successfully. I now want to use it to run
> PHP.
>
> I have followed all the instructions on adding/changing httpd.conf and
> php.ini. When I open my browser and open the file with <? phpinfo(); ?>
> (called hello.php), it just shows the code, and not the screen I was
> expecting.
>
> I also did a time/date test file, with the same result.
>
> For your information, in httpd.conf I have added:
>
> DocumentRoot "C:/phpweb"
>
> <Directory "C:/phpweb">
>
> ScriptAlias /php4/ "c:/php4win/"
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .php3
> AddType application/x-httpd-php .php4
> Action application/x-httpd-php "/php4/php.exe"
>
> In php.ini (now in C:\windows) I have:
>
> doc_root = "c:\phpweb" ;
>
> user_dir = "c:\php4win" ;
>
> extension_dir = "c:\php4win" ;
>
> I made these changes to the ini-dist file rather that the recommended one
> if that makes a difference.
>
> All my Perl scripts still run, so Apache is still working for them.
>
> I would be so grateful for any help you can offer.
>
> Many thanks.
>
> Andrew Winton
>
>
--- End Message ---
--- Begin Message ---
Have you actually loaded PHP yet? You should also have this:
#
# Dynamic Shared Object (DSO) Support
#
etc...
LoadModule php4_module C:/server/PHP/php4apache.dll
#
# Reconstruction of the complete module list from all available modules
# (static and shared ones) to achieve correct module execution order.
#
# The modules listed below, without a corresponding LoadModule directive,
# are static bound into the standard Apache binary distribution for Windows.
#
etc...
AddModule mod_php4.c
Oh, and finally... is the file called "hello.php" or "hello.php.txt"?
Stephen
----- Original Message -----
From: "Andrew Winton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 03, 2003 11:59 PM
Subject: [PHP-INST] FW: Getting PHP to work with Apache server
> I have been referred to you regarding my PHP installation query below.
>
> I do hope you can help.
>
> Thanks and regards.
>
> Andrew.
>
> -----Original Message-----
> From: Gabor Hojtsy [SMTP:[EMAIL PROTECTED]
> Sent: Tuesday, June 03, 2003 1:51 PM
> To: [EMAIL PROTECTED]
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: Getting PHP to work with Apache server
>
> Hi!
>
> Please ask installation questions at [EMAIL PROTECTED] or
> [EMAIL PROTECTED] I hope you can understand that the php.net
> webmasters are not handling user problems.
>
> Have a good luck with setting up PHP,
> Goba
>
> > Hello Webmaster,
> >
> > I have spent some time looking at all the faqs and cannot find an
answer. I
> > do so hope that you can help.
> >
> > I had Apache running Perl scripts successfully. I now want to use it to
run
> > PHP.
> >
> > I have followed all the instructions on adding/changing httpd.conf and
> > php.ini. When I open my browser and open the file with <? phpinfo(); ?>
> > (called hello.php), it just shows the code, and not the screen I was
> > expecting.
> >
> > I also did a time/date test file, with the same result.
> >
> > For your information, in httpd.conf I have added:
> >
> > DocumentRoot "C:/phpweb"
> >
> > <Directory "C:/phpweb">
> >
> > ScriptAlias /php4/ "c:/php4win/"
> > AddType application/x-httpd-php .php
> > AddType application/x-httpd-php .php3
> > AddType application/x-httpd-php .php4
> > Action application/x-httpd-php "/php4/php.exe"
> >
> > In php.ini (now in C:\windows) I have:
> >
> > doc_root = "c:\phpweb" ;
> >
> > user_dir = "c:\php4win" ;
> >
> > extension_dir = "c:\php4win" ;
> >
> > I made these changes to the ini-dist file rather that the recommended
one
> > if that makes a difference.
> >
> > All my Perl scripts still run, so Apache is still working for them.
> >
> > I would be so grateful for any help you can offer.
> >
> > Many thanks.
> >
> > Andrew Winton
> >
> >
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---