Questions tagged [php5]

PHP is a general-purpose scripting language that is especially suited for Web development. The online manual is an excellent resource for the language syntax and has an extensive list of the built-in and extension functions. Most extensions can be found in PECL.

863 questions
183
votes
18 answers

How do you restart php-fpm?

I need to reload my php.ini and there's nothing in the help dialog about restarting it.
Galen
  • 1,983
  • 2
  • 12
  • 10
37
votes
6 answers

PHP exit status 255: what does it mean?

I recently compiled a PHP 5.2.9 binary, and I tried to execute some PHP scripts with it. I can execute some scripts without problems, but one of them halts its execution midway, exiting with no errors or warnings. The returned status code of the…
Silvio Donnini
  • 497
  • 1
  • 6
  • 9
27
votes
2 answers

Installing imagick PHP extension on Ubuntu

I'm trying to install the imagick pecl extension on my Ubuntu server and am getting the below error. I've installed the ImageMagick rpm using aptitude already and the pecl extension is version 2.3.0. I've looked around online but can't find anything…
Steven Surowiec
  • 385
  • 1
  • 3
  • 7
23
votes
4 answers

nginx + PHP-FPM = "permission denied" error 13 in nginx log; configuration mistake?

I've got nginx 0.7x + PHP-FPM running under PHP 5.2.10 on one RHEL5 server, but trying to duplicate that setup under the bundled-in PHP-FPM in PHP 5.3.3 on a second server, I'm having some trouble with permission errors every time there's a GET. FPM…
Peter Kirn
  • 333
  • 1
  • 2
  • 5
19
votes
3 answers

nginx / php-fpm error logging

I'm trying to figure out where the PHP errors are going in my setup. I'm running nginx as the reverse proxy to PHP-FPM, but I'm not seeing the various E_NOTICE or E_WARNING messages my app is producing. The only reason I know they're happening is…
Jeremy Wilson
  • 301
  • 1
  • 3
  • 12
16
votes
4 answers

Exclude a specific repo from YUM Update

I am doing a system wide yum update on RHEL 5.5 and the IUS EPEL repository is throwing a missing dependency error: php53-mcrypt-5.3.3-4.ius.el5.x86_64 from installed has depsolving problems --> Missing Dependency: php53-common = 5.3.3-4.ius.el5 is…
Robin
  • 341
  • 1
  • 4
  • 9
15
votes
2 answers

configure: error: Cannot find php-config. Please use --with-php-config=PATH

I'm trying to install a program called phraseanet. I ran the ./configure command and run into this error: configure: error: Cannot find php-config. Please use --with-php-config=PATH I am using Ubuntu 10.04, Apache 2, PHP5 and Mysql 5 Does anyone…
John
  • 7,153
  • 22
  • 61
  • 86
14
votes
1 answer

How is memcache distributed?

I've got memcache running on 5 web servers all of which are on the host list in php and which are load balanced on the front end. So since memcached is supposed to be distributed the php client will decide which node to write key/value pairs to and…
Mike
  • 143
  • 1
  • 1
  • 5
13
votes
2 answers

Where is php.ini-development on Ubuntu LAMP?

On my development machine I run Ubuntu 10.04.1 LTS. Following the official documentation, I used the following command to install Apache, MySQL and PHP in one go: sudo tasksel install lamp-server Now that I'm testing my PHP scripts, I want to…
Iain Samuel McLean Elder
  • 1,152
  • 4
  • 13
  • 27
12
votes
7 answers

Connection refused HTTPS on Apache

I'm currently trying out HTTPS on one of my sites, and I got a trial certificate from a trusted CA. I've gone through the following checklist: Copied all the cert files according to the CA's instructions Enabled mod_ssl on apache with a2enmod…
Deniz Zoeteman
  • 721
  • 2
  • 8
  • 18
11
votes
3 answers

apache2 and php5: module or filter

What the difference between the php5 module (libapache2-mod-php5) and the php5 filter module (libapache2-mod-php5filter) for apache2? Which one should I use in which environment?
gucki
  • 788
  • 2
  • 10
  • 28
11
votes
1 answer

After compile install php 5.3.1, I can not find my php.ini file

my compile configuration: ./configure \ --with-fpm \ --with-libevent=shared,/usr/lib \ --with-mcrypt \ --with-zlib \ --with-curl \ --enable-mbstring \ --with-openssl \ --with-mysql \ --with-mysql-sock \ --with-gd \ --with-jpeg-dir=/usr/lib…
Alex Chen
  • 283
  • 2
  • 3
  • 10
10
votes
5 answers

Optimize apache for 10K+ wordpress views a day on 2GB RAM E6500 CPU

I have a dedicated server with apache/php on ubuntu serving my Wordpress blog with about 10K+ pageviews a day. I have W3TC plug in installed with APC. But every now and then server stop responding or goes dead slow and i have to restart apache to…
Broke artist
  • 101
  • 1
  • 1
  • 3
9
votes
2 answers

pecl install mongo - keeps compiling with wrong module API

Working with Ubuntu 12.04 here, nginx and php5-fpm I had mongo working well on php 5.3, then I added the ondrej/php5 ppa and updated to php5.4. It kept GD and CURL extensions, but not mongo. I re-added the line to the php.ini file, and nothing. Then…
kavisiegel
  • 349
  • 1
  • 3
  • 12
9
votes
1 answer

Setting php values in php-fpm confs instead of php.ini

I'd like to set values in php-fpm conf files what are normally set in php.ini. I'm using nginx. I've created the following setting, but I'm not sure if this would work. php_value[memory_limit] = 96M php_value[max_execution_time] =…
hyperknot
  • 651
  • 2
  • 9
  • 15
1
2 3
57 58