473,698 Members | 2,676 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

php.ini sets max time to 90 seconds, yet I get a "Max execution time of 30 seconds exceeded"


This is weird. When I use getId3 to try to read meta tags out of
multimedia files, I get this error:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/
httpd/vhosts/bluewallmultime dia.com/httpdocs/getid3/getid3/
getid3.lib.php on line 54
But if I run phpinfo(), I get this:

max_execution_t ime 95 95
and if I ssh to the server and look in php.ini, this is confirmed:

max_execution_t ime = 95 ; Maximum execution time of each script,
in seconds
This is on a RackSpace server, running RedHat. It's got Plesk
installed.

Can anyone guess what is going on? Is there some place the settings in
php.ini can get over written or ignored?

Aug 18 '07 #1
3 10072
On Aug 18, 3:35 am, lawrence k <lkrub...@geoci ties.comwrote:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/
httpd/vhosts/bluewallmultime dia.com/httpdocs/getid3/getid3/
getid3.lib.php on line 54

But if I run phpinfo(), I get this:

max_execution_t ime 95 95

and if I ssh to the server and look in php.ini, this is confirmed:

max_execution_t ime = 95 ; Maximum execution time of each script,
in seconds

This is on a RackSpace server, running RedHat. It's got Plesk
installed.

Can anyone guess what is going on? Is there some place the settings in
php.ini can get over written or ignored?

I should add that if I navigate to the directory where the code and I
do this:

grep -R ini_set *

I get nothing. As near as I can figure, ini_set is not being used to
override the php.ini settings.

Aug 18 '07 #2
Try looking for set_time_limit as well as ini_set. That is the only
thing that springs to mind.

On Aug 18, 3:49 am, lawrence k <lkrub...@geoci ties.comwrote:
On Aug 18, 3:35 am, lawrence k <lkrub...@geoci ties.comwrote:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/
httpd/vhosts/bluewallmultime dia.com/httpdocs/getid3/getid3/
getid3.lib.php on line 54
But if I run phpinfo(), I get this:
max_execution_t ime 95 95
and if I ssh to the server and look in php.ini, this is confirmed:
max_execution_t ime = 95 ; Maximum execution time of each script,
in seconds
This is on a RackSpace server, running RedHat. It's got Plesk
installed.
Can anyone guess what is going on? Is there some place the settings in
php.ini can get over written or ignored?

I should add that if I navigate to the directory where the code and I
do this:

grep -R ini_set *

I get nothing. As near as I can figure, ini_set is not being used to
override the php.ini settings.

Aug 18 '07 #3
lawrence k <lk******@geoci ties.comwrites:
>
Fatal error: Maximum execution time of 30 seconds exceeded in /home/
httpd/vhosts/bluewallmultime dia.com/httpdocs/getid3/getid3/
getid3.lib.php on line 54
But if I run phpinfo(), I get this:

max_execution_t ime 95 95
and if I ssh to the server and look in php.ini, this is confirmed:

max_execution_t ime = 95 ; Maximum execution time of each script,
in seconds
This is on a RackSpace server, running RedHat. It's got Plesk
installed.

Can anyone guess what is going on? Is there some place the settings in
php.ini can get over written or ignored?
You may want to check your Apache config file. It is also
possible to set a CPU limit on the entire Apache process (which
would include your script execution). The Apache directive in
1.3.x is: RLimitCPU (that might be set to 30).

Best regards!
--
John
_______________ _______________ _______________ _______________ _______
John Murtari Software Workshop Inc.
jmurtari@follow ing domain 315.635-1968(x-211) "TheBook.Co m" (TM)
http://thebook.com/
Aug 21 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
7697
by: Radioactive Man | last post by:
anyone know of a function like "raw_input", which collects a string from the user entry, but one where I can set a time limit, as follows: time_limit = 10 # seconds user_answer = function_xyz("GIVE ME AN ANSWER: ", time_limit) The problem with "raw_input" is that it will stop unattended script indefinitely. I'm looking for a function that does the exact same thing, but with a time limit feature, and preferably one that returns
36
6383
by: Andrea Griffini | last post by:
I did it. I proposed python as the main language for our next CAD/CAM software because I think that it has all the potential needed for it. I'm not sure yet if the decision will get through, but something I'll need in this case is some experience-based set of rules about how to use python in this context. For example... is defining readonly attributes in classes worth the hassle ? Does duck-typing scale well in complex
3
5364
by: Will Atkinson | last post by:
Hi All, I'm a relative newbie to SQL Server, so please forgive me if this is a daft question... When I set "Show Execution Plan" on in Query Analyzer, and execute a (fairly complex) sproc, I note that a particular query is reported as having a query cost of "71% relative to the batch" - however, this is nowhere near the slowest executing query in the batch - other queries which take over twice as long are reported as having costs in...
7
4535
by: Joe | last post by:
I have an upload file operation in the web application. UploadForm.asp is the form, and UploadAction.asp is the form processing. //UploadForm.asp <FORM NAME="InputForm" ACTION="UploadAction.asp" METHOD="POST" enctype=multipart/form-data> <input type="file" name="fileName"> //etc ... </FORM>
1
3995
by: Dave Smithz | last post by:
Hi, My PHP application for a client uses the publicly available "PHPMailer - PHP email class" which is very good. However, my client recently complained about the following error when sending out over 4000 emails. (Note that each email is customised so needs to be sent individually - not using Bcc). The application reported to have sent the 4000 emails successfully (it sends each one as part of a loop and then when completed gives a...
1
2027
by: Vladimir Davidov | last post by:
Hello everybody! I realize that the problem, I will ask for solution of, has been posted here once, but none of the replies would actually solve it. So I will try again - there is one project, which was developed in VS2002 and worked fine, no problems were ever encountered. Then it was transferred to new VS2003, rebuilt successfully but, after one page makes 2 - 4 requests to the DB on MSSQL Server 2000 SP3 I`m receiving an error like:
2
7332
by: Ravi J | last post by:
I am trying to load Microsoft Word and create a document in ASP.NET (C#). But the call to application creation 'Word._Application app = new Word.ApplicationClass();' takes quit a bit of time, and eventually "Server Execution Failed" page appears. "Exception Details: System.Runtime.InteropServices.COMException: Server execution failed ... " The same call inside a WIndows Form succeeds. But for some reason, in ASP.NET it doesn't. Quick...
2
1651
by: ivancasher | last post by:
I´ve this warning in a php page "Maximum execution time of 30 seconds exceeded ", I´ve configurated the php.in, setting the value of max_execution_time = 1200, and then i restart the apache service. The apache server is in a Win2000 server machine. Thank´s
10
2462
by: anonymous | last post by:
How can I set report output parameter "Page 1 of max" to get output on first page in minimum time as it takes much time in fetching max page no. in first page and report is of around million pages
0
8612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9171
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9032
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8880
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6532
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4625
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.