Apache question
Moderator: General Moderators
-
feartetsuo
- Forum Newbie
- Posts: 9
- Joined: Tue Dec 21, 2004 9:25 am
Apache question
Hello. Before I download and install Apache, can someone answer a question for me. I read in another thread that you can host php off your own computer with Apache. Can you really do this and if so how do I set it up so that I can use my php scripts to use my php setup?
I am interested in this because most web hosts only allow a default of around 2 to 8 mb max file size upload. And I need atleast 100+mb because I am having someone use my php script to upload to my FTP and I dont want to give them my username and password to access it. Any help would be great. Thanks.
I am interested in this because most web hosts only allow a default of around 2 to 8 mb max file size upload. And I need atleast 100+mb because I am having someone use my php script to upload to my FTP and I dont want to give them my username and password to access it. Any help would be great. Thanks.
-
feartetsuo
- Forum Newbie
- Posts: 9
- Joined: Tue Dec 21, 2004 9:25 am
oh really, thats awesome. Sorry to sound like a noob, but how do I set up PHP to work with apache? I already have php installed, but what would the settings be to have php work with apache?
And also, where can I specify the max file upload size when I have php and apache working with each other? Is there a tutorial or anything I can read? Thanks again.
And also, where can I specify the max file upload size when I have php and apache working with each other? Is there a tutorial or anything I can read? Thanks again.
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
php.net has info on both things: Installation on Windows systems at the top are links for installing php into apache 1 and 2. Handling file uploads contains links to the php.ini configuration settings and information needed for file uploads.
-
feartetsuo
- Forum Newbie
- Posts: 9
- Joined: Tue Dec 21, 2004 9:25 am
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Handling file uploads wrote: This feature lets people upload both text and binary files. With PHP's authentication and file manipulation functions, you have full control over who is allowed to upload and what is to be done with the file once it has been uploaded.
PHP is capable of receiving file uploads from any RFC-1867 compliant browser (which includes Netscape Navigator 3 or later, Microsoft Internet Explorer 3 with a patch from Microsoft, or later without a patch).
Related Configurations Note: See also the file_uploads, upload_max_filesize, upload_tmp_dir, post_max_size and max_input_time directives in php.ini
PHP also supports PUT-method file uploads as used by Netscape Composer and W3C's Amaya clients. See the PUT Method Support for more details.
-
feartetsuo
- Forum Newbie
- Posts: 9
- Joined: Tue Dec 21, 2004 9:25 am
-
feartetsuo
- Forum Newbie
- Posts: 9
- Joined: Tue Dec 21, 2004 9:25 am