Re: [users@httpd] server name and site name, download problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank for your help... 

I have already cheked if there is another php.ini on the machine. No
other file under the name php.ini. I made the installation manually
with a source code of php. No distribution like rpm or other kind of
packages...

it fails after 15 seconds approximatively... :-(

Thank you.
On 5/30/05, Abu Hurayrah <abu_hurayrah@xxxxxxxxxxxxx> wrote:
> Well, that depends on if you set the right php.ini.  I should've asked
> if you set the right one - sometimes, the version of PHP that came with
> a system is installed in a different location than the default if you
> install fresh.  Also, RPM install locations are typically different from
> default source installations.
> 
> If you haven't already, run the command "locate php.ini" if you're
> running Linux, otherwise, do a search for the same filename on Windows.
> If you're running another operating system, I guess just do both.
> 
> If you're sure the file you edited was the appropriate file, then maybe
> it is a timeout issue...how long does it take before it fails?
> 
> Karim Hamed-abdelouahab wrote:
> 
> >Hi,
> >Well it's still not working, maybe do I have to change other
> >configuration... :-(
> >
> >Best regards
> >
> >On 5/30/05, Abu Hurayrah <abu_hurayrah@xxxxxxxxxxxxx> wrote:
> >
> >
> >>Yes, you'll need to restart apache in order for the new settings to take
> >>place.
> >>
> >>Karim Hamed-abdelouahab wrote:
> >>
> >>
> >>
> >>>Hi,
> >>>you were right the upload limit was set on 2M, I changed to 10M but do
> >>>I have to restart apache or any other component?
> >>>
> >>>I'm using php 4.3.3
> >>>
> >>>Thank you very much.
> >>>
> >>>On 5/29/05, Abu Hurayrah <abu_hurayrah@xxxxxxxxxxxxx> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>>Okay, if you're trying to upload files to a PHP script, then you need to
> >>>>check your PHP config file (do a search for php.ini, or create a script
> >>>>with only the function "phpinfo()" in it, to see where the php.ini file
> >>>>is located).
> >>>>
> >>>>Apache wouldn't really affect your upload issues, but PHP sure would.
> >>>>PHP's default upload limit is 2MB.  What version of PHP are you running?
> >>>>
> >>>>Karim Hamed-abdelouahab wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>Hi
> >>>>>I solved the first problem with the domaine name, but the second....
> >>>>>Yes I'm trying to upload files using PHP.
> >>>>>
> >>>>>What do you mean with WebDAV?
> >>>>>
> >>>>>Best regards.
> >>>>>
> >>>>>On 5/28/05, Abu Hurayrah <abu_hurayrah@xxxxxxxxxxxxx> wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Karim Hamed-abdelouahab wrote:
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>Hi,
> >>>>>>>I'm a new user of apache http server. The version of the http server
> >>>>>>>is 1.3.33 running on fedoracore 3.0 running with mod_ssl (DSO)
> >>>>>>>
> >>>>>>>1. I want to set the name of the site like www.foo.fr, the domaine foo
> >>>>>>>is registred yet.
> >>>>>>> Therefor I put the ServerName www.foo.fr in the virtualHost tag.
> >>>>>>> like :
> >>>>>>><VirtualHost 214.244.54.34:443>
> >>>>>>>
> >>>>>>>#  General setup for the virtual host
> >>>>>>>DocumentRoot "/var/www/foo_rep/web/"
> >>>>>>>ServerName www.foo.fr
> >>>>>>>But I couldn't to get the web page with www.foo.fr only with the ip
> >>>>>>>adresse of the machine.
> >>>>>>>
> >>>>>>>2. I can't upload document more than one MB.
> >>>>>>>Here is the config file of the apache.
> >>>>>>>
> >>>>>>>#
> >>>>>>># Timeout: The number of seconds before receives and sends time out.
> >>>>>>>#
> >>>>>>>Timeout 300
> >>>>>>>
> >>>>>>>#
> >>>>>>># KeepAlive: Whether or not to allow persistent connections (more than
> >>>>>>># one request per connection). Set to "Off" to deactivate.
> >>>>>>>#
> >>>>>>>KeepAlive On
> >>>>>>>
> >>>>>>>#
> >>>>>>># MaxKeepAliveRequests: The maximum number of requests to allow
> >>>>>>># during a persistent connection. Set to 0 to allow an unlimited amount.
> >>>>>>># We recommend you leave this number high, for maximum performance.
> >>>>>>>#
> >>>>>>>MaxKeepAliveRequests 100
> >>>>>>>
> >>>>>>>#
> >>>>>>># KeepAliveTimeout: Number of seconds to wait for the next request from the
> >>>>>>># same client on the same connection.
> >>>>>>>#
> >>>>>>>KeepAliveTimeout 600
> >>>>>>>
> >>>>>>>
> >>>>>>>Can someone help me.
> >>>>>>>Thank you.
> >>>>>>>Karim.
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>Assalaamu`alaykum
> >>>>>>
> >>>>>>Well, for starters, if a domain name is not pointing to the IP address
> >>>>>>of a particular server, it'll never resolve to that server, regardless
> >>>>>>of your Apache configuration.  This is all handled through DNS, and has
> >>>>>>nothing to do with Apache.  The VirtualHost directive in Apache simply
> >>>>>>serves to allow multiple "virtual" hosts to exist on one machine, and
> >>>>>>therefore will point the requests for each host to the appropriate place
> >>>>>>on the server - this only happens AFTER the request arrives knocking at
> >>>>>>your IP address, however.
> >>>>>>
> >>>>>>As for your second problem, through what exactly are you uploading?  For
> >>>>>>example, is it ASP, PHP, Perl, or some other scripting language?  The
> >>>>>>quick way to find out is to look at the extension of the page to which
> >>>>>>you're uploading.  Apache itself, as far as I know, doesn't support
> >>>>>>uploading directly except through WebDAV.
> >>>>>>
> >>>>>>Let me know if you need anymore help.
> >>>>>>
> >>>>>>---------------------------------------------------------------------
> >>>>>>The official User-To-User support forum of the Apache HTTP Server Project.
> >>>>>>See <URL:http://httpd.apache.org/userslist.html> for more info.
> >>>>>>To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> >>>>>> "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> >>>>>>For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>---------------------------------------------------------------------
> >>>>The official User-To-User support forum of the Apache HTTP Server Project.
> >>>>See <URL:http://httpd.apache.org/userslist.html> for more info.
> >>>>To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> >>>>  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> >>>>For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>>
> >>---------------------------------------------------------------------
> >>The official User-To-User support forum of the Apache HTTP Server Project.
> >>See <URL:http://httpd.apache.org/userslist.html> for more info.
> >>To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> >>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> >>For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 


-- 
Mr K. HAMED-ABDELOUAHAB

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux