0
votes
1answer
25 views

safe_mode problems after upgrade from PHP 5.3 to 5.4 with Plesk 11

I just updated my server (running with Plesk 11) from PHP 5.3 to 5.4 via the dotdeb sources. Everything was fine except a few things. I had to disable all safe_modes in several vhosts. Plesk has the ...
-1
votes
0answers
17 views

POST data not being sent to iframe in 0,2% of cases on a apache2 / PHP setup

I have an admin page with a form that uses tinymce. The POST data is sent to an iframe that both offers a preview of the changes and saves the data. Sometimes when a users press the submit button to ...
0
votes
1answer
20 views

redis shows an error when class initiated [closed]

Its my fifth day trying to fix this on my mac mountain-lion. I used home brew to install phpredis using this http://www.astonishdesign.com/blog/native-lamp-stack-mac-os-x. By the way home brew was ...
0
votes
1answer
26 views

PHP-FPM Loading Wrong Configuration File

Value of CLI running php --ini Configuration File (php.ini) Path: /usr/local/lib Loaded Configuration File: /usr/local/lib/php.ini Value of phpinfo from my nginx/php-fpm web server page: ...
0
votes
1answer
29 views

suphp error Directory / is not owned by admin

I'm trying to run a test phpinfo page from: /home/admin/testdomain.com But it displays such error: Internal Server Error Directory / is not owned by admin suPHP 0.7.1 My /etc/suphp.conf is like ...
-1
votes
1answer
33 views

code generates a segmentation fault [closed]

Good day, This comes from stackoverflow, but I think it will have a better chance of find an answer here. So: I am getting a segmentation fault from the PHP ternary operation. I'm using PHP ...
0
votes
0answers
37 views

Upgrading RHEL 5.9, php 5.16 to 5.5

I have been tasked with upgrading the php version on a 5.9 RHEL to 5.5 for security reasons. I Used the remi Repository and sucessfully updated php to 5.5 checked with php -v However on ...
0
votes
2answers
61 views

Cannot install php-intl on CentOS

When I run: yum install php-intl I get this error: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.as29550.net * epel: ftp.nluug.nl * extras: ...
0
votes
2answers
154 views

How do I disable functions on servers for particular directories?

I want to disable some functions on server to improve security of server. I followed these steps: STEP: 1 Open php.ini file: vi /etc/php.ini STEP: 2 Find disable_functions and set new list as ...
0
votes
2answers
56 views

What might be causing this intermittent PHP stalling event?

I wish I could be more specific about this issue and I am really asking for suggestions on where to look next. We are running a PHP web app that is integrated with WordPress and that is serving a ...
0
votes
1answer
34 views

Downgrade php5-cgi using APT on Debian

I have lighttpd install with PHP5.4 installed I need to downgrade it to 5.3.2 (possibly older/newer) but I can't install it I tried this apt-get install php5-cgi=5.3.2 but it says "E: Version ...
0
votes
1answer
91 views

White screen of death with PHP-FPM, no error logged

This is a tale of two different php files. File 1 source: <?php $null->test(); File 1 output: Fatal error: Call to a member function test() on a non-object in ...
0
votes
0answers
58 views

Upgrading PHP on Centros [closed]

When I follow this instructions http://www.webtatic.com/packages/php53/ from http://stackoverflow.com/questions/9403209/centos-repository-for-php-5-3-8-or-higher I get this error: Skip-broken could ...
0
votes
1answer
45 views

Static file request timeouts unless requested with Internet Explorer headers

We recently had some maintenance done on our development server; we don't know what that consisted of as we do not maintain our servers. Since then we've been experiencing a rash of HTTP requests that ...
1
vote
0answers
90 views

Some (but not all) cron jobs stopped running. Restarting cron fixed it, but what caused it?

I'm running Ubuntu Server 10.04 with a crontab which runs every minute, with a lot of jobs in the file. Each job is a PHP script to be executed. Earlier today, it seems that some (but not all) of the ...
-1
votes
1answer
47 views

Compile PHP without PostgreSQL [closed]

I need to compile php-5.2.17 as a cgi wrapper. PostgreSQL is not installed on this machine. I'm looking for the configure command, to disable support for PostgreSQL. --without-postgre
0
votes
1answer
32 views

Switching b/w versions of PHP on a NginX + PHP-FPM Setup

On Apache you could easily configure it through an htaccess file: <IfModule mod_fcgid.c> Action php-fcgi /fcgi-bin/phpcgi-starter-5.3 </IfModule> <IfModule mod_fcgid.c> Action ...
0
votes
1answer
162 views

Install php 5.3.10 in ubuntu 12.04

I have been trying to downgrade the php version from php 5.4 to php 5.3. I tried removing php5, purging php5 and then reinstalling using "apt-get install php5=5.3.6-13ubuntu3.6", but it did not help, ...
0
votes
1answer
107 views

php script killed after 30 seconds and throwing Internal Server Error

I use php_fpm_event on my server and after 30 seconds of execution the process is being killed and I see Internal Server Error. However I've set much larger values: [admin] listen = 127.0.0.1:57797 ...
0
votes
1answer
357 views

php-fpm Bad file descriptor errors

I'm using php-fpm with customer separate pools. Sometimes page are freezing, then showing 500 internal server error, and I'm getting such errors in error log: [11-Feb-2013 22:12:39] ERROR: unable to ...
0
votes
1answer
41 views

running .html as .php

How do I edit my .htaccess file using mod_fcgid to turn .html files to act as .php I tried: AddHandler fastcgi-script .html Did not work. I am using cpanel and using php 5.3 and apache 2.2.
0
votes
0answers
61 views

$_REQUEST setting in phpinfo (setting error)

I’m moving a longstanding working site from on server to another. In the move my session handling is acting differently on the new server. My first clue was that my PHPSESSION files in the new 777 ...
0
votes
0answers
31 views

PHP page not displaying formatting on external slow connection, but does on internal fast connection

Hopefully this is simple. If I access a webpage served using apache2 and php5 via a mobile device with a slower connection like an android phone, the display and formatting of the php page does not ...
1
vote
1answer
167 views

Install pecl extension on ubuntu after upgrading to php 5.4

I had php 5.3 installed and upgrade to 5.4 using this PPA https://launchpad.net/~ondrej/+archive/php5 - everything went smoothly. My old pecl extensions, such as oauth, wern't enabled, so I ...
0
votes
1answer
85 views

Pligg user verification error

i installed pligg CMS on my site. But the problem is if i choose to validate user email option, then if any user register on my site it is showing the error below: "Could not instantiate mail ...
0
votes
2answers
66 views

libphp5.so file not reflecting changes made in php.ini

I have been trying to update the upload_max_filesize of my php.ini file to 200M. I have got it to successfully save however it is not reflecting the changes on my server (it still lists the ...
1
vote
1answer
146 views

Downgrade PHP 5.4 to 5.3 on bitnami ubuntu server

I have to downgrade the php version of a bitnami ubuntu image to support some legacy codes. I tried to look for different methods that suggest using apt-get and dpkg to remove the 5.4 and install 5.3 ...
0
votes
1answer
3k views

How to install php-xml and php-mbstring on PHP 5.4.9-4?

I have added the PHP5 to UBUNTU 12.04 sudo add-apt-repository ppa:ondrej/php5 -y and installed the PHP5 php5 php5-common php5-mysql php5-xmlrpc php5-cgi php5-curl php5-gd php5-cli php5-fpm php-apc ...
3
votes
1answer
149 views

How to monitor multiple sites using one copy of apc.php?

Regarding my particular APC setup: APC 3.1.9 PHP 5.3.3/fCGI/SuEXEC Apache 2.2.15 CentOS 6.3 I would like to keep only one copy of apc.php that can be accessed via any of the vhosts on the server. ...
3
votes
1answer
337 views

Confirm that mysqli extension is not installed

Recently I discovered that mysqli extension is not installed in my server Centos version 2.6. I confirm it because I change the driver of db connection from mysqli to mysql and now works fine. So, is ...
1
vote
3answers
345 views

Upgrade to the latest php by aptitude

I'm install php5 by aptitude, but php release the new version and recommend we upgrade. But I unwant to compile the new version by myself. How to upgrade the php to the newest version by aptitude?
1
vote
0answers
188 views

IIS + PHP + Page with lots of images = Intermittent 403 errors

I am using an up-to-date Server 2008 R2 Datacenter, running IIS 7.5 and PHP 5.3.6/FastCGI On PHP pages with lots of images (60+), some of the images fail to load It is not always the same images-- ...
0
votes
1answer
54 views

PHP & Apache process management and hosting optimization? [closed]

I've been asked to look at a PHP project that has recently been having some problems with high cpu utilization for PHP processes in particular. What options exist to keep tabs on PHP and other ...
0
votes
0answers
42 views

PHP 5.4 — this statement is not valid: while (have_posts()) : the_post(); [closed]

I upgraded my wordpress site to PHP 5.4 and now I get an internal server error when I try to load the homepage. Ive been cutting out blocks of my wordpress theme to try to find the culprit and I ...
1
vote
1answer
66 views

missing config files when compiling a php extension

I do the phpize.. When I reach the ./configure It tells me it can fins the php-config (configure: error: Cannot find php-config. Please use --with-php-config=PATH) I assume it means a file named ...
0
votes
1answer
273 views

Working with different PHP version at the same time, php_value extension_dir not working?

I need both PHP 5.4.7 and 5.3.17 running on Windows 7 x64 with Apache 2.2.23. This is my virtual host configuration: <VirtualHost *:80> DocumentRoot "C:/WAMP/Apache/htdocs/php54" ...
0
votes
0answers
532 views

Using pg_connect() with wamp server and postgresql

Help! I am trying to connect to a Postgres database and can't get the server to connect. When I execute this php script: $conn = pg_connect("dbname=wikimap user=postgres password=postgis ...
1
vote
1answer
527 views

How to get php mail function to work on Debian “squeeze”? [duplicate]

Possible Duplicate: Getting PHP mail() function to work on Debian Lenny I have installed Apache and PHP5 on my debian server. Firstly I tried it using sendmail. Here is the step by step ...
0
votes
2answers
326 views

Overriding memory_limit with .htaccess resulting in mysterious alerts in syslog (suhosin)

PHP version: PHP 5.3.10-1ubuntu3.4 with Suhosin-Patch (cli) Used in apache2 with: libapache2-mod-php5 The global options memory_limit for PHP is set to 512M. So far so good. Now a script tries to ...
2
votes
3answers
649 views

php-fpm version 5.4 with nginx constantly restarting

I just upgraded my php version from 5.3.x to 5.4.x and since doing this - memory has dropped signifincantly! - however, I'm constantly getting these in my php5-fpm.log: [18-Sep-2012 15:11:34] ...
1
vote
1answer
101 views

Is it possible to upgrade php5.2 to php5.3 when it is side by side with php4 on CentOS 4.9 via WHM(HostDime)

They told me they don't support using that type of configuration, but we had it running from them at some point... we've been in business with them for over 8 years now. Thing is that we need to ...
1
vote
5answers
722 views

CentOS replacement for PHP development machine?

I'm just starting learning Linux. I'm using CentOS 6.3 and i really like it. However I need PHP 5.4, currently not available for CentOS. I've read that CentOS, for its very own nature, doesn't update ...
0
votes
0answers
41 views

PHP: 1 site long script, or multiple site short scripts? [closed]

Is it better to have one large PHP site, or multiple smaller ones? Ex: <PHP initiate mysql, initiate curl {do query, do curl, continue@ func2 || func3} func2{do curl, continue@ func4 || ...
1
vote
1answer
112 views

Apache2 is not parsing PHP files

i have a problem with my server (VPS with debian+apache2+php5). I have two virtualhosts, one is linked to a ruby webserver and has a PRoxyPass from port 80 to 8080 and the second one is a normal ...
2
votes
2answers
3k views

Apache2: Server reached MaxClients setting, consider raising the MaxClients setting

I'm encountering issues on a dedicated Ubuntu 12.04 LTS (Apache/2.2.22), PHP 5.3 with APC. Every few hours I see this happen: [Fri Aug 17 15:36:51 2012] [error] server reached MaxClients setting, ...
2
votes
1answer
2k views

php - error: Cannot find OpenSSL's <evp.h>

Im trying to recompile PHP, but ./configure fails at : configure: error: Cannot find OpenSSL's <evp.h> I have LibSSL 1.0.0, LibSSL 0.9.8, LibSSL-Dev, OpenSSL installed. ...
0
votes
1answer
150 views

PHP header redirect working in nginx even output sent

note: There is a similar question but that's about Apache. The following code <?php echo '.'; header('Location: http://stackoverflow.com'); is fully 'working' under nginx 0.7.67 where 'working' ...
1
vote
1answer
223 views

phpMyAdmin doesn't find mbstring eventhough it's installed

I'm running Kloxo at the moment and have updated phpMyAdmin to the latest version as well as php and mysql, however, phpMyAdmin seems to complain about mbstring not being installed, eventhough it is. ...
-1
votes
2answers
279 views

Install PHP/Apache windows 7 [closed]

I've successfully installed Apache 2.2.22 and I ran the localhost and I got the It works message so I'm assuming that is ok. Then I installed PHP 5.3.15. My question is how do I make those two work ...
1
vote
2answers
1k views

I/O Error with PHP5-FPM, ptrace(PEEKDATA) failed

I got a lot of these: [NOTICE] child 19214 stopped for tracing [NOTICE] about to trace 19214 [ERROR] ptrace(PEEKDATA) failed: Input/output error (5) [NOTICE] finished trace of 19214 [WARNING] ...

1 2 3 4