OT: Cascading php.ini?

Discussion in 'HTML' started by Nico Schuyt, Aug 6, 2003.

  1. Nico Schuyt

    Nico Schuyt Guest

    I can overrule the standard php.ini of the server with one in my sites.

    Disadvantage is that I have to change it when the site is parsed with a
    newer version of PHP.
    The matter is complicated because I let some sites parse with an older
    version because of problems with LOAD DATA INFILE.

    Just wonder if it is possible (and wise) to apply a php.ini with only the
    things I want to change (like maximum execution time (Limited in the server
    ..in to 90 seconds; can be increased to 300)

    Regards, Nico
     
    Nico Schuyt, Aug 6, 2003
    #1
    1. Advertising

  2. Nico Schuyt

    Mr. Clean Guest

    In article <3f316b9b$0$28908$>,
    says...
    > I can overrule the standard php.ini of the server with one in my sites.
    >
    > Disadvantage is that I have to change it when the site is parsed with a
    > newer version of PHP.
    > The matter is complicated because I let some sites parse with an older
    > version because of problems with LOAD DATA INFILE.
    >
    > Just wonder if it is possible (and wise) to apply a php.ini with only the
    > things I want to change (like maximum execution time (Limited in the server
    > .in to 90 seconds; can be increased to 300)


    OT, please post to alt.php
     
    Mr. Clean, Aug 6, 2003
    #2
    1. Advertising

  3. Nico Schuyt

    Nico Schuyt Guest

    Mr. Clean wrote:
    > Nico Schuyt wrote


    >> <question about php>


    > OT, please post to alt.php


    Not sóóó OT :). At least not more than all the questions about javascript,
    ..htacces, file include, Active X controls, SEO, image handling, site review
    etc etc
    There must be dozens of visitors of this ng using PHP (probably more than
    the ones using js)
    Nico
     
    Nico Schuyt, Aug 6, 2003
    #3
  4. Nico Schuyt wrote:
    > ...
    > There must be dozens of visitors of this ng using PHP (probably more
    > than the ones using js)


    That's my profile - unfortunately I am unable to answer the question in your
    o/p, being as I am at 'absolute beginner' status with that technology.

    Good luck.
    --
    William Tasso - http://WilliamTasso.com
     
    William Tasso, Aug 6, 2003
    #4
  5. Nico Schuyt

    Nico Schuyt Guest

    William Tasso wrote:
    > Nico Schuyt wrote:
    >> ...
    >> There must be dozens of visitors of this ng using PHP (probably more
    >> than the ones using js)

    >
    > That's my profile - unfortunately I am unable to answer the question
    > in your o/p, being as I am at 'absolute beginner' status with that
    > technology.
    > Good luck.


    Ok, ok, I'll try the bloody alt.php :)
    Regards, Nico
     
    Nico Schuyt, Aug 7, 2003
    #5
  6. Nico Schuyt wrote:
    > William Tasso wrote:
    >> Nico Schuyt wrote:
    >>> ...
    >>> There must be dozens of visitors of this ng using PHP (probably more
    >>> than the ones using js)

    >>
    >> That's my profile - unfortunately I am unable to answer the question
    >> in your o/p, being as I am at 'absolute beginner' status with that
    >> technology.
    >> Good luck.

    >
    > Ok, ok, I'll try the bloody alt.php :)
    > Regards, Nico


    In addition:

    news:comp.lang.php
    news:alt.comp.lang.php

    There's also a couple of good php developers resident in
    news:alt.www.webmaster


    --
    William Tasso - http://WilliamTasso.com
     
    William Tasso, Aug 7, 2003
    #6
  7. "Nico Schuyt" <> wrote in message news:<3f316b9b$0$28908$>...
    > I can overrule the standard php.ini of the server with one in my sites.
    >
    > Disadvantage is that I have to change it when the site is parsed with a
    > newer version of PHP.
    > The matter is complicated because I let some sites parse with an older
    > version because of problems with LOAD DATA INFILE.
    >
    > Just wonder if it is possible (and wise) to apply a php.ini with only the
    > things I want to change (like maximum execution time (Limited in the server
    > .in to 90 seconds; can be increased to 300)
    >
    > Regards, Nico


    Could you not set the values you need using PHP functions, rather than
    the INI file? For example, the execution time can be set in the PHP
    script itself without the need for a customised php.ini file.

    Check the PHP docs to see what else you can set at run-time.

    --
    Hywel
     
    Hywel Jenkins, Aug 7, 2003
    #7
  8. Nico Schuyt

    Nico Schuyt Guest

    Hywel Jenkins wrote:
    > Nico Schuyt wrote


    >> Just wonder if it is possible (and wise) to apply a php.ini with
    >> only the things I want to change (like maximum execution time
    >> (Limited in the server .in to 90 seconds; can be increased to 300)


    > Could you not set the values you need using PHP functions, rather than
    > the INI file? For example, the execution time can be set in the PHP
    > script itself without the need for a customised php.ini file.
    > Check the PHP docs to see what else you can set at run-time.


    Great idea!! Thanks.
    http://www.mysql.com/doc/en/PHP_problems.html :
    "To change execution time of a PHP script you can use the PHP function
    'set_time_limit(int second)" instead of modify manually PHP.ini file. You've
    just to give the execution time in second."
     
    Nico Schuyt, Aug 7, 2003
    #8
  9. Nico Schuyt

    Nico Schuyt Guest

    William Tasso wrote:
    > Nico Schuyt wrote:


    >> Ok, ok, I'll try the bloody alt.php :)


    > In addition:
    > news:comp.lang.php
    > news:alt.comp.lang.php
    >
    > There's also a couple of good php developers resident in
    > news:alt.www.webmaster


    LOL, the matter is already solved in this ng :) (No response from the
    "specialists" in alt.php)
    But, thanks for the links anyway
    Nico
     
    Nico Schuyt, Aug 7, 2003
    #9
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sphinx

    ini file

    Sphinx, Feb 24, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,374
    Gerry O'Brien [MVP]
    Feb 25, 2004
  2. chapman

    Update INI file problem

    chapman, Jul 31, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    440
    chapman
    Jul 31, 2003
  3. isore
    Replies:
    0
    Views:
    534
    isore
    Jul 1, 2004
  4. praba kar

    reg php.ini equivalent file in python

    praba kar, Jun 7, 2005, in forum: Python
    Replies:
    2
    Views:
    628
    Magnus Lycka
    Jun 8, 2005
  5. Rajive Narain
    Replies:
    0
    Views:
    1,890
    Rajive Narain
    Sep 18, 2009
Loading...

Share This Page