[Xerte] Re: Override server php.ini?

Dave Burnett d_b_burnett at hotmail.com
Wed Mar 27 11:02:03 GMT 2013


# providers are evil# :-)
I fiddled with .htaccess and it seems to have overridden the maxuploadsize setting. 


Date: Wed, 27 Mar 2013 11:32:26 +0100
From: reijnders at tor.nl
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: Override server php.ini?


  
    
  
  
    Most providers (at least here in the Netherlands) have a way to
    modify (parts of) php.ini for your particular virtual host, i.e. the
    PHPINIDir points to somewhere you've access to.

    

    So, ask your provider, and be pleasantly surprised... ;-)

    

    Tom

    

    Op 27-3-2013 11:16, Dave Burnett
      schreef:

    
    
      
      
        Thanks David.
        Coincidentally that was what I was looking at:
        http://www.php.net/manual/en/configuration.file.php
        

        
        

        
        At howtoforge they assume you have access to vhost to
          change the ini path directive.
        "Then open the vhost configuration for
            the www.example.com web site and add a PHPINIDir line to it:"
        

        
        If I had that I'd just change the server php.ini itself.
          :-)
         
        

          
            From: david at palepurple.co.uk

            Date: Wed, 27 Mar 2013 10:00:55 +0000

            To: xerte at lists.nottingham.ac.uk

            Subject: [Xerte] Re: Override server php.ini?

            

            Sometimes you can use a .htaccess file to specify settings -
            see http://php.net/manual/en/configuration.changes.php
            

            
            Alternatively, sometimes you can have a 'local' php.ini
              file  - but you'd need to have some sort of server access
              :
            

            
            http://www.howtoforge.com/how-to-specify-a-custom-php.ini-for-a-website-apache2-with-mod_php
            

            
            David.
            

            
            

              
                
                  On 27 Mar 2013, at 09:48, Dave Burnett <d_b_burnett at hotmail.com>
                    wrote:
                  
                  
                    
                      If the hosting service won't let
                        you mess with /usr/local/lib/php.ini
                        

                        
                        where and what do you do to override it
                          with one of your own?
                        The archives have hints but nothing
                          definitive.
                        

                        
                        Trying to overcome the 2M upload max.
                        

                        
                        Dave
                      
                      

                      

                      

                      _______________________________________________

                      Xerte mailing list

                      Xerte at lists.nottingham.ac.uk

                      http://lists.nottingham.ac.uk/mailman/listinfo/xerte

                    
                  
                
                

                
                  
                      
                          
                              
                                  
                                    Pale Purple Ltd.  (Company No:
                                      5580814)
                                    'Web and Mobile Application
                                      Development for Business'
                                    

                                    
                                    http://www.palepurple.co.uk
                                        
                                    Office: 0845 0046746    
                                      Mobile: 07792380669 
                                    

                                    
                                    Follow us on
                                      Twitter: @PalePurpleLtd
                                  
                                
                            
                        
                    
                
                

              
            
            

            

            

            

            _______________________________________________
            Xerte mailing list
            Xerte at lists.nottingham.ac.uk
            http://lists.nottingham.ac.uk/mailman/listinfo/xerte
        
      
      

      

      

      

      
      

      _______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

    
    

    -- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196


  








_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20130327/8b1414e5/attachment-0001.html>


More information about the Xerte mailing list