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.

865 questions
2
votes
1 answer

Inconsistent download size with PHP + NGINX configuration

I'm building a Joomla website using docman for document management/downloading. The site is built on a Ubuntu 14.04 server running Nginx 1.4.2 and PHP5 (FPM). The issue i'm having is that files are downloading inconsistently (in terms of size). For…
Jonathan Coe
  • 391
  • 1
  • 3
  • 11
2
votes
1 answer

Why is my connection to php-fpm.sock being refused?

I've seen a bunch of questions about this problem on here but none of those had answers that helped me out. I kept getting a 502 error from nginx so I took a look at the access.log and saw I kept getting error 111 when the server tried to connect to…
benbot
  • 121
  • 3
2
votes
0 answers

upload_max_filesize: php.ini or apache virtual host entry

I need a little perspective here as I am a bit confused. I was under the impression that adding a php_value upload_max_filesize 200M php_value post_max_size 800M in my vhost file for a domain would increase the…
codehitman
  • 201
  • 2
  • 9
2
votes
0 answers

php5 not working with nginx 1.9.3

I am new to nginx, and having some trouble with php5. (I had it sorta working, but cant seem to get it working again.) There are 2 files I am woring with, that seem to control nginx, and…
j0h
  • 203
  • 1
  • 7
2
votes
2 answers

How do I get Apache to use a different local PHP.ini for different domains?

is there some sort of .htaccess directive. I dont have access to httpd.conf. I have php5 in a fastcgi/cgi module. Multiple domains. But for some reason all the domains are pointing to the first domains php.ini (the one I installed php with in the…
qodeninja
  • 2,753
  • 10
  • 32
  • 33
2
votes
2 answers

edit httpd.conf to run PHP5?

I've installed apache and the server runs fine. I then installed PHP5, and it gave me a warning that it failed to edit the needed apache files. I did some googling and I found an article that said I just needed to add this to any spot on the…
2
votes
1 answer

php5-fpm invoked oom-killer

One of my server (Ubuntu 12.04, 16CPU, 32GB RAM) runs the app section of my website (Nginx 1.1.19, PHP5-FPM, Php 5.3.10, Symfony2 Web Framework) Suddenly, users started getting HTTP 5** Errors. When I went on the server, there was huge disk IO and…
user268083
  • 61
  • 1
  • 1
  • 3
2
votes
1 answer

200 OK blank page setting up Wordpress on restore test VM

I'm testing a partial backup of a frankly rather outdated (legacy, what can you do?) CentOS/Apache/MySQL/PHP/Wordpress server by restoring to a VM with a fresh copy of the relevant packages. After many trials and tribulations, I've gotten to the…
Nathan Tuggy
  • 124
  • 1
  • 1
  • 10
2
votes
2 answers

Nginx server block not working

Disclaimer: Just to clarify, I'm completely new to Linux, but I've configured everything via google searches and personal research. I've got a Debian Wheezy server with LEMP stack that I intend to use as the host of a domain. I got the DNS…
Aldax
  • 23
  • 1
  • 5
2
votes
2 answers

Install php53 on CentOS 5.10 without httpd dependency

I would like to install php53 on CentOS 5.10 64-bit without the httpd dependency. The reason being the production server has a custom compiled binary of a newer version of httpd. Is installing php53 on CentOS5 without the httpd dependency even…
superbarney
  • 73
  • 1
  • 7
2
votes
1 answer

Apache missing php module

I installed httpd v2.2.15 and php v5.5.13 via yum. I first noticed the problem when I tried to access my site and it displayed the PHP code. Then I discovered that there is no php module in /etc/httpd/modules so the LoadModule fails. How can I add…
kaizenCoder
  • 343
  • 2
  • 8
  • 22
2
votes
1 answer

Error compiling PHP 5.5.9 on CentOS 6.5 during make command

Here is the error message: cc: internal compiler error: Killed (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: ***…
2
votes
0 answers

SuexecUserGroup not working in Apache 2.4

I have upgraded my PHP from version 5.3 to 5.4 via yum which requires upgrading Apache from version 2.2 to 2.4. After doing configuration, it turns out that the userid and groupid is still using the global user/group which is "apache".
James W.
  • 749
  • 2
  • 7
  • 12
2
votes
2 answers

Php file are not parsed by fastcgi in nginx

I m new to nginx my server block is server { listen 25552; server_name *.example.com; root /usr/share/myPackage; rewrite ^/$ /index.php permanent; location ~ ((\.php$)|(^/(status)$)) { fastcgi_pass 127.0.0.1:9000; …
level_0
  • 31
  • 1
  • 4
2
votes
1 answer

How can I get openSSL to run on my web server with a PHP5-FPM chroot?

On my web server, I changed the chroot to only have access to the root of my website's home directory as opposed to the rest of the file system, for security purposes. However, I've noticed that since the change I can't seem to get OpenSSL to be…
Nickersoft
  • 121
  • 1