PHP Execution Lags / Installation

Jul 6, 2009

problem on some big DB driven sites in PHP.

Lets say I have a file, doesnt even need to have any PHP functions in the document, could be just pure CSS / images. Say I have a copy of this file named something.html and a copy named something.php, the php one takes about 5 times longer to load than the html page. You can see 90% of the page loads and then it sticks with the loading bar nearly fininshed, waits a while and then pings to finished and the remaining parts of the site load (usually footer links etc).

This has me stumped, even has my hosts stumped. Would any one have any idea why this may happen? Something to do with the installation directory of PHP or location of php.ini?

This is on a Windows 2003 machine running IIS6, I have tested the same files on a Linux installation and its perfectly fine.

View 4 Replies


ADVERTISEMENT

Extending Max Execution Time

May 27, 2009

I am trying to run a php script on our server to split a very large file. As a result of the file size the script is timing out with this error:

Fatal error: Maximum execution time of 30 seconds exceeded in [url]on line 155

How can I extend the server execution time to the script can complete? I have cpanel with WHM installed.

View 8 Replies View Related

Maximum Execution Time .. In My Vps

Aug 21, 2008

i always get :-

Fatal error: Maximum execution time of 30 seconds exceeded in /home/ante/public_html/me/classes/http.php on line 418

Warning: fclose(): supplied argument is not a valid stream resource in /home/ante/public_html/me/classes/other.php on line 145 

when i try upload big files (up 140mb to my vps using RapidLeech
and here my php.ini
[url]
i chnaged the php.ini to the new value and restart http only

my vps info
safe mod : on
Operating system: Linux
PHP version: 5.2.5
Apache version: 1.3.41 (Unix)

View 4 Replies View Related

Server Issues / Execution Time

Feb 21, 2008

During the last couple of weeks my main server has started acting weird.

Sometimes(often) when accessing my site, I get a page saying that server or location could not be found. Reload and "bam" page loads again. Average load on the server is 0.50

When executing scripts (I.E uploading files using web2ftp or cp file manager) server shuts the connection after a few seconds and say page cannot be found.

I set the execution time in php to 60sec, so this is not the issue.

When I ping the server, I do not get any packet losses.

View 4 Replies View Related

Why Can't Umask Set Execution Privs On Files

Dec 6, 2007

Before this thread happens, don't tell me to chmod the file to have execution privs. I want umask to work properly, with no seperarate chmod required.

For some reason, on every single system i've tested this on, linux, freebsd, vps, standalone server, fresh install of operating system, any time I test this, it ends up with the same issue.

Running `umask 000` should result in files created from that point on having a chmod of rwxrwxrwx. However, they always end up having a chmod of rw-rw-rw.

If I create a directory after setting the same umask setting, the directory ends up with rwxrwxrwx.

Code:
root@bonkers[/usr/local/etc/php/umask] $ umask 000
root@bonkers[/usr/local/etc/php/umask] $ touch 000
root@bonkers[/usr/local/etc/php/umask] $ mkdir d0
root@bonkers[/usr/local/etc/php/umask] $ ls -la
total 10
drwxrwxrwx 5 root wheel 512 Dec 6 03:31 .
drwxr-xr-x 4 root wheel 512 Dec 6 03:21 ..
-rw-rw-rw- 1 root wheel 0 Dec 6 03:31 000
drwxrwxrwx 2 root wheel 512 Dec 6 03:21 d0

View 10 Replies View Related

Cacti Command Execution And SQL Injection Vulnerabilities

Jan 14, 2007

Cacti version 0.8.6i has vulnerability: [url]

Solution: [url]

View 2 Replies View Related

Apache :: Disabling Re-Execution On Fail-Recovery

Jun 4, 2014

At times as I'm developing, due to some coding error in PHP on my part, particularly calling a COM object, the apache server crashes. I'm delighted that it recovers, but in so doing it always tries to rerun the query that crashed it, which just causes another crash, and so on. Is there some way of getting round this, so that it recovers but the problematic code is not rerun?

XP SP3 (still!)
Apache/2.4.3 (Win32) mod_fcgid/2.3.7 PHP/5.4.9
Firefox (Aurora)

View 1 Replies View Related

Prevent Of Execution Trojan Shell Scripts, Like R57shell And Other?

Oct 27, 2006

Which configuration for php and server that prevent execute shell scripts?

Which funstions you recommend to disable?

Like shell_exec, passthru, proc_open, proc_close, proc_get-status, proc_nice, proc_terminate, exec, system, suexec, popen, pclose, dl, ini_set, virtual, set_time_limit

View 14 Replies View Related

Plesk 12.x / Linux :: Php Execution In Domain Only Show Fastcgi

Oct 7, 2014

Have the same case for 4 servers (web and pro), the menu in plesk could not show another choice, only fastcgi.

Handlers look like ok:

root@serveur:~# /usr/local/psa/admin/sbin/php_handlers_control --list
id: display name: version: type: cgi-bin: cli-bin: php.ini:
module 5.4.4 5.4.4 module /usr/bin/php5-cgi /etc/php5/cgi/php.ini
fastcgi 5.4.4 5.4.4 fastcgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini
cgi 5.4.4 5.4.4 cgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini

[code]....

How to force to display php module ?

View 3 Replies View Related

Plesk 12.x / Linux :: Execution Failed Command - Autoinstaller

Apr 13, 2015

while plesk was trying to update automatically (as per the normal preference settings) but suddenly gave this error

Execution failed.
Command: autoinstaller
Arguments: Array
(
[0] => --select-product-id
[1] => plesk
[2] => --select-release-current
[3] => --upgrade-installed-components
)

Details: Doing restart of Parallels Installer...
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading ppsmbe.inf3: 17%..26%..37%..47%..57%..78%..88%..100% was finished.
File downloading sitebuilder.inf3: 22%..35%..48%..60%..73%..86%..100% was finished.

[code]....

ERROR: Currently installed version of product with ID 'plesk' is not available from download site anymore.Please upgrade to the next available product version to receive software updates.Seems like the RPM got damaged, but I already fixed that part, now when I put "install" I'm geting the following
Installation started in background..Getting bootstrapper packages to installation list:

Following bootstrapper packages will be installed: (empty)
----------------
Getting packages to installation list:
Following packages will be installed: (empty)
----------------
Loaded plugins: fastestmirror

Patch for plesk 12.0.18 will not be installed since it is already applied.Error: You already have the latest version of product(s) and all selected components installed. Installation will not continue.HOWEVER the "mail" and mail server configuration no longer shows in "tools & settings".

View 1 Replies View Related

Fatal Error: Maximum Execution Time Of 30 Seconds Exceeded

Feb 5, 2007

while i am restoring db (110MB) via SSH following error occur

Code:
ERROR 1064 (42000) at line 145689: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
Fatal error: Maximum execution time of 30 seconds exceeded in ' at line 1

View 12 Replies View Related

Plesk 12.x / Linux :: Unable To Configure Web Server - Execution Failed

Dec 5, 2014

I get the following error in plesk i don't know how to resolve this

Unable to configure the web server: Execution failed.
Command: httpdmng Arguments: Array ( [0] => --reconfigure-all )
Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-server [1] => -no-restart )

[Code] .....

View 2 Replies View Related

Plesk 11.x / Linux :: Importing To MySQL Database - Maximum Execution Time

Nov 5, 2014

I have this error when i put import to mysql database

Code:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<script></script><p>ERROR: Maximum execution time of 300 seconds exceeded (Util.' at line 244

I have in domain > doemainname >
max_execution_time
Standaard
Geef een aangepaste waarde op 0

and insert in
usr/local/psa/admin/htdocs/domains/databases/phpmyadmin in the file config.sample.inc.php following command
$cfg['ExecTimeLimit'] = 70000;

but it will not work...

View 2 Replies View Related

Turning Off Execution Of "Mail Delivery Failed: Returning Message To Sender" In Exim

Jun 24, 2009

My mail server receives tons of messages directed towards bogus, non-existant addresses at my domain. When those addresses don't exist, it creates a reply email with the subject "Mail delivery failed: returning message to sender". How do I stop exim from doing this?

View 3 Replies View Related

PHP 5.2.2 Installation

May 26, 2007

I have just started working through the book Build Your Own Database Driven Website Using PHP & MYSQL, and in the installation section I am required to find a file called php5isapi.dll for the IIS, but I have downloaded the latest version of PHP - PHP 5.2.2 and I cannot find this file...

View 1 Replies View Related

Installation

Dec 26, 2007

I got the following message after creating my test php script. Can someone explain what

I need to change? I am computer literate, but no techie!
<p>This PHP CGI binary was compiled with force-cgi-redirect enabled. This
means that a page will only be served up if the REDIRECT_STATUS CGI variable is
set, e.g. via an Apache Action directive.</p>
<p>For more information as to <i>why</i> this behaviour exists, see the <a href=[url]>manual page for CGI security</a>.</p>
<p>For more information about changing this behaviour or re-enabling this webserver,
consult the installation file that came with this distribution, or visit
<a href="[url]

View 4 Replies View Related

FFMPEG Installation?

Apr 19, 2009

I was wondering if there was anyone out there that could do an ffmpeg, flvtool2, mencoder installation on my CentOS 5.2 VPS for $10. I need it to be able to run phpmotion / youtube clone scripts...

View 8 Replies View Related

EV SSL Certificates Installation

Oct 26, 2009

I purchased an EV SSL Cert, and all is fine. Installed via cPanel, and I get the green address bar in Firefox, but not in IE.

Comodo (the vendor) have an Auto-Enhancer feature which automatically tells IE to give me a green bar. They state in their FAQ the following instructions to install the feature:

Replace the bundle file that is in use for the web site.

Use the 'SSLCertificateChainFile' directive instead of the 'SSLCACertificateFile'/'SSLCACertificatePath' directives.

I have download a .CA-BUNDLE file from them.

Please tell me, now what do I do? I am at a lost at their instuctions, and going by my dealings with them, I think I can get help from you guys more accurately and quickly.

The server runs WHM/cPanel 11 with Apache 2 with mod_ssl. Full root access, but I am a Linux newbie.

View 0 Replies View Related

Icecast Installation

May 26, 2009

anyone has got the steps to install this on centos 5? I have got it for centos 4 but censtos 5 having issues

/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libxslt.so: undefined reference to `xmlXPathContextSetCache'

collect2: ld returned 1 exit status
make[3]: *** [icecast] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/icecast-2.3.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/icecast-2.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/icecast-2.3.1'
make: *** [all] Error 2

error: Bad exit status from /var/tmp/rpm-tmp.1366 (%build)

View 1 Replies View Related

Profesional Installation

Feb 18, 2009

What do people mean by profesional installation, for example if I have a forum professionally installed could I expect this to be with phpmyadmin and apache and the mod_rewrite, or are these more custom aspects?

View 5 Replies View Related

Addons Installation

Jun 19, 2009

I need to install a video script on my server and for this I need following addons on my server, how I can install these...

# mbstring [url]
# FFmpeg [url]
# Mplayer + Mencoder [url]
# Flvtool2 [url]
# Libogg + Libvorbis [url]
# LAME MP3 Encoder ([url]
I am using linux server with CPanel.

View 10 Replies View Related

Nagios Installation

Jun 18, 2009

I have installed nagios 3.06 on my centos server. Anybody know the steps to configure this nagios to check my other servrers.

View 9 Replies View Related

WAMP 2.0G Installation

Mar 8, 2009

I have WAMP 2.0 installed on my Windows Vista. WAMP has released a new version: 2.0G. I've just downloaded it and i'm wondering if i could just run the installer or do i have to uninstall my current WAMP and then only install the latest version?

View 1 Replies View Related

VePortal Installation

Jul 6, 2009

Anyone successfully install vePortal yet?

View 5 Replies View Related

Nagios Installation

Apr 19, 2009

We wanted to put up a nagios server for monitoring around 9 - 12 servers and couldn't find any real specs on what kind of machines are required for nagios.

Any leads on what kind of machines would do? My concern was the RAM requirement - if nagios works well on low end machines, it may make sense for us to host it on some VPS.

Wanted to check in with people who run nagios installations and their experiences.

View 14 Replies View Related

Mod_evasive Installation

Feb 25, 2008

We are having problem with installing mod_evasive on our server. We tried installing it on our Virtual Machine that runs Fedora 7 (on our server, we have Fedora core 5), and on Virtual Machine it is fine, we can compile it and put it in our Apache2 conf file.

However, when we try

[root@ mod_evasive]# /usr/local/psa/admin/bin/apxs -i -a -c mod_evasive20.c
on the server, we get a

[root@ mod_evasive]# /usr/local/psa/admin/bin/apxs -i -a -c mod_evasive20.c
gcc -DHARD_SERVER_LIMIT=512 -DDEFAULT_PATH="/usr/local/psa/admin/bin:/bin:/usr/bin" -DLINUX=22 -DTARGET="httpsd" -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -DMOD_SSL=208122 -DEAPI -O -pipe -I/usr/include -O3 -fexpensive-optimizations -fstrength-reduce -pipe -DPLESK_Linux -I/home/builder/buildbot/psa-8.2.1-bfc7/build/plesk/lib/dist/include/libxml2 -W -Wall -DPLESK_Linux -I/home/builder/buildbot/psa-8.2.1-bfc7/build/plesk/plesk-utils/include -DBSG_CR -DBSG_MSG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_RPM -DUSE_SLEEP_ON_IDLE -Wno-unused-parameter -fpic -DSHARED_MODULE -I/usr/local/psa/admin/include -c mod_evasive20.c ....

View 1 Replies View Related

Malware Installation

Apr 23, 2008

Can this be interpreted as a malware (procede the following steps with caution).

After visiting miniclip.com/games/super-gerball/en/ without me clickiing on anything and confirming that I want to Install a game, a new folder is created in my Windows Start Menu and in a Documents and Settings folder.

Although I believe no harm is actually done with this installation, can attacker use this method to install a malware? How can I prevent this, what options should I change in my Firefox browser?

View 3 Replies View Related

PHPShield Installation

Jun 7, 2008

I am unable to install PHPShield by using the known ways. how to install it?

- php version is; 5.2.6

- apache version is; 2.0

PHP 5.2.6 (cli) (built: Jun 5 2008 19:44:20)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies

View 2 Replies View Related

GCC Installation Error

Apr 10, 2008

I was installing GCC and i followed the steps below and got the error, can anyone tell me on whats the error!.

I downloaded gcc-4.3.0

ftp://ftp.gnu.org/gnu/gcc/gcc-4.3.0/gcc-4.3.0.tar.bz2

from [url]

/usr/local/gcc/gcc-3.4.4/configure
--prefix=/opt/gcc34
--program-suffix=12
--enable-languages=c,c++

Error below!

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

View 7 Replies View Related

IonCube Installation ..

Apr 25, 2008

to install IonCube on my server so iPanel will work. When I go to install IonCube, I need to edit a extension called zend_extension. I go to attempt to edit this by following the directions very carefully by going to my php.ini folder and editing it, I press Ctrl + W which is a search option in pico. Type in zend_extension and their is nothing found. If somebody could please help me, please do. Maybe even install IonCube and iPanel for me, I will send $10.00 via PayPal.

Operating System: CentOs 4
Processer: 3.2 Ghz HT P4 (2 cpus)
Memory: 1 Gigabytes
Harddrive: 80 Gig
Control Panel: cPanel

trying to install iPanel which works with cPanel hand in hand so that is not the issue. iPanel is a billing system like WHMCS or Clientexec.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved