Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > OT: Cascading php.ini?

Reply
Thread Tools

OT: Cascading php.ini?

 
 
Nico Schuyt
Guest
Posts: n/a
 
      08-06-2003
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


 
Reply With Quote
 
 
 
 
Mr. Clean
Guest
Posts: n/a
 
      08-06-2003
In article <3f316b9b$0$28908$(E-Mail Removed)>, http://www.velocityreviews.com/forums/(E-Mail Removed)
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
 
Reply With Quote
 
 
 
 
Nico Schuyt
Guest
Posts: n/a
 
      08-06-2003
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




 
Reply With Quote
 
William Tasso
Guest
Posts: n/a
 
      08-06-2003
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


 
Reply With Quote
 
Nico Schuyt
Guest
Posts: n/a
 
      08-07-2003
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


 
Reply With Quote
 
William Tasso
Guest
Posts: n/a
 
      08-07-2003
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


 
Reply With Quote
 
Hywel Jenkins
Guest
Posts: n/a
 
      08-07-2003
"Nico Schuyt" <(E-Mail Removed)> wrote in message news:<3f316b9b$0$28908$(E-Mail Removed)>.. .
> 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
 
Reply With Quote
 
Nico Schuyt
Guest
Posts: n/a
 
      08-07-2003
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."



 
Reply With Quote
 
Nico Schuyt
Guest
Posts: n/a
 
      08-07-2003
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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does the cascading rule apply to switches? Boe Cisco 4 03-29-2006 11:02 PM
Cascading rule? Boe Cisco 7 03-25-2006 08:38 PM
Port SPAN cascading Chris Cisco 0 12-01-2003 07:22 PM
Cascading repeaters Mikael Engdahl ASP .Net 1 08-08-2003 03:40 PM
cascading menues with asp.net Yavuz Bogazci ASP .Net 1 07-25-2003 01:47 PM



Advertisments