0
votes
1answer
14 views

Apache serving modified static assets incorrectly: serves obsolete file with sizes adjusted to match that of the new file [duplicate]

I've got a CakePHP project running in a CentOS VirtualBox. The website is served with Apache 2.2.15. There are JS files in the document root folder. Apache seemed to serve them file. But after i ...
-1
votes
1answer
36 views

PHP Warning: PHP Startup: unable to load dynamic library [path-to-file]/mcrypt.so [closed]

PHP 5.4, Centos 6 with cpanel Easy solution: find out where the heck mcrypt.so is and copy it into that directory. $ updatedb $ locate mcrypt.so /opt/libmcrypt/lib/libmcrypt.so ...
1
vote
2answers
29 views

php pdo connection cannot be established, but mysql command line client can

situation as follows: php script on server a, run by user 'web' (nginx + php-fpm) should access mysql on server b via pdo library, but gets SQLSTATE[HY000] [2003] Can't connect to MySQL server on ...
0
votes
1answer
87 views

502 Bad Gateway - Nginx, spawn-fcgi, WordPress

I host several sites on a CentOS VPS, and all was working fine until one of the WordPress sites on the server started returning a 502 Bad Gateway error. Other sites work fine. The WordPress site will ...
0
votes
1answer
55 views

Install php 5.5 on centos with puppet

I am trying to get a more recent version of php and mysql on a centos 6.5 x64 box. I added the yum repos epel and remi and have the remi as a dependency for php but it will not install. The error I ...
2
votes
1answer
48 views

centos + php leak memory, but where?

I have a big php cronjob that run every 20minutes. After each execution the RAM memory used by the virtual server increase and not properly free once the script is terminated! But why? The memory ...
0
votes
0answers
46 views

Getting multiple pools working using PHP-FPM and Apache 2.4

I've been running into an issue with PHP-FPM pools not being able to start up if they're not on port 9000. I get the following error when I try to start a second pool on, say, port 9001: Jun 13 ...
1
vote
0answers
120 views

After compiling PHP, I get mod_fcgid: error reading data from FastCGI server

I'm trying to add multiple PHP version in Plesk 12. Switching my domain to the new version PHP 5.4.29 result in this error: (104)Connection reset by peer: mod_fcgid: error reading data from ...
1
vote
1answer
145 views

Downgrading PHP 5.4 to 5.3 on CentOS 6.5?

I am trying to downgrade PHP from 5.5.8 to 5.3.x. I have tried this but it dint work for me. yum downgrade php The error I have got is Loaded plugins: fastestmirror, refresh-packagekit, ...
0
votes
1answer
35 views

NFS default to 777

I have an NFS share. This share is shared between several different applications. Our web server is running PHP and when it creates directories it is not setting the permissions correctly so it cannot ...
0
votes
1answer
46 views

httpd dead but subsys locked with both ioncube and ZendGuardLoader installed

I installed a php extension ioncube, and restart the httpd, then I got this error "httpd dead but subsys locked". I googled for the solution, and found out I need to comment out the line ...
1
vote
1answer
51 views

CentOS I/O blocking flushing dirtypages

I have an Apache webserver on CentOS. It is not doing anything fantastic or complicated at all but it does at intervals experience a high load (120 for 4 CPUs) for some reason. During this time I see ...
-1
votes
1answer
207 views

how to check ffmpeg if install on centos/php [closed]

hi there how can I be sure that ffmpeg is install in my server... I tried this php code to check: <?php $ffmpeg = trim(shell_exec('which ffmpeg')); // or better yet: $ffmpeg = ...
0
votes
2answers
304 views

No PHP-GD package available on Yum… But it is

What I've done so far Installed CentOS 6.5 x64 Installed cPanel Added REMI and EPEL repositories to the system Tried yum --enablerepo=remi,epel install php-gd The response: No package php-gd ...
2
votes
1answer
181 views

PECL APC install — ERROR: 'make' failed

I get the following error when running sudo pecl install apc. /var/tmp/APC/apc_cache.c: In function '_apc_cache_user_update': /var/tmp/APC/apc_cache.c:818: error: 'IS_CONSTANT_INDEX' undeclared ...
-1
votes
1answer
37 views

Can't seem to install PHP-FPM5?

I am reading some advice on the internet for a solution to another issue I have. It requires me to change the listen to /var/run/php5-fpm/php5-fpm.sock. I however don't have that folder.. I have a ...
1
vote
0answers
118 views

PHP Files being downloaded instead of displayed in browser

I created a VPS using Nginx and I tried to display the php info with: <?php phpinfo(); ?>. Instead, the browser asks me to download the php file, and it's not parsed either. This happens only ...
0
votes
1answer
46 views

Connection timing out on webserver?

My server is currently timing out when I try to view the site. I tried restarting nginx. I tried restarting php-fpm. I tried restarting mysql. No dice. I tried rebooting the box. Still no dice. ...
0
votes
0answers
29 views

Why are emails sent from postfix getting bounced from gmail as spam? [duplicate]

I am working on a codeigniter project in php that sends emails. In the email config file its setup to use sendmail but in the logs it shows that its going though postfix. I get a bounce back in the ...
-1
votes
1answer
254 views

Scheduled Task issue - /usr/bin/php/: No such file or directory

Can't get it working, I want to set up a cron job for a domain user in plesk 11.5, but seems that there's a problem to find the php executable. The command is: /usr/bin/php/ -f ...
0
votes
0answers
10 views

how to resolve yum replace php-common --replace-with=php55w-common error? [duplicate]

how to resolve yum replace php-common --replace-with=php55w-common error? on CentOS 6.5 root@server [~]# yum replace php-common --replace-with=php55w-common Loaded plugins: fastestmirror, replace, ...
0
votes
2answers
292 views

Change apache (PHP) $PATH environment variable on CentOS with cPanel

I need to add a path to $PATH environment variable for PHP scripts on CentOS linux server with cPanel Pro 1.0 and Apache 2.2.27. For Ubuntu or SuSE it just means adding the row export ...
1
vote
0answers
117 views

Can't load Mongo extension in php.ini

I'm having some issues while try to load mongo.so extension at php.ini. Below is what I tried: Compile the mongo extension by following the documentation at php.net for MongoDB site. This resumed ...
0
votes
2answers
618 views

Apache fails to start after PHP upgrade on CentOS 6.5 x64

I have a developer server with CentOS 6.5 and PHP 5.5.11 (latest from REMI repos). Today I did: yum --enablerepo=remi,remi-php55 update That updated Apache and some other libraries like Mongo for ...
0
votes
3answers
282 views

PHP exec “unable to fork” intermittent error on CentOS VPS

Using: PHP 5.5.10 nginx 1.5.10 Centos 6.5 a xen-based 4GB VPS My site uses encrypted paypal buttons. This encryption is done by the following code: $openssl_cmd = "($OPENSSL smime -sign -signer ...
-1
votes
1answer
51 views

mails doesn't fire from php script - some issue with vps configuration

I am unable to fire any email from the php scripts on my vps server. I went to check in the logs and found this: Mar 26 05:53:30 corporatepixels sendmail[23772]: STARTTLS=client, ...
1
vote
1answer
128 views

Can't send email via PHPMailer

I'm using the PHPMailer class to send email from an online application, it works fine on development server, and if I disable iptables. However whenever iptables is started, no mail sends - it seems ...
0
votes
1answer
14 views

php is not interpreting inpinfo on new centos install

I just installed latest centos as a desktop version. Then I installed php via yum and turned on httpd. Php code is being interpreted, but phpinfo() is messed up. I see all the html code as well as the ...
0
votes
0answers
119 views

Unable to install Phpmyadmin on Centos 5, missing dependency php-common

I keep getting this error when trying to install Phpmyadmin: Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package phpMyAdmin.noarch 0:2.11.11.3-2.el5 set ...
1
vote
1answer
95 views

What does ā€œuā€ in an rpm filename stand for?

I currently have PHP 5.4 installed. These packages are all prefixed with "php54-" (pecl, pear, pdo, fpm, gd, mysql, etc). I'd like to make the transition to 5.5. The packages are available... ...
0
votes
1answer
296 views

Cannot install PEAR on Centos 6.5 and PHP 5.5

This is driving me nuts already and there's no information about this whatsoever in Google, only 2006 posts, but they don't really help me. I have CentOS 6.5 freshly updated, PHP 5.5, MySQL, Apache, ...
0
votes
0answers
104 views

Webserver high cpu usage and slow responses

I would like to find bottleneck for web server (running on 32GB RAM/24 cores HT enabled, apache/mod_php). Here are my observations, memory does not seem to be a problem (only 10MB of swap) very ...
0
votes
0answers
10 views

centos 6.4 PHP 5.5 installation dependency errors [duplicate]

I'm trying to install php 5.5 via the remi repositiory but i'm getting dependency errors such as: Error: Package: mysql-5.5.36-1.el6.remi.x86_64 (remi) Requires: libssl.so.10(libssl.so.10)(64bit) ...
0
votes
1answer
1k views

Resolving “php54w-common-5.4.24-1.w6.x86_64 conflicts php-common < 5.4.0”

We're running CentOS release 6.5 and PHP 5.4.24, and I'm trying to get mcrypt-php installed. When I follow the instructions at ...
0
votes
1answer
776 views

Trying to install gd, getting conflict error

I am trying to install gd using sudo yum install php-gd but I get the error below. I know I have ran into this problem before but I can't seem to recall how I got around it. Am I in the wrong ...
0
votes
1answer
13 views

apache: add external .conf files dynamically?

I create directories dynamically and for each of them I have to set a custom open_basedir directive. I plan to use the apache's <directory> directive, combined with php_admin_value calls. But ...
0
votes
1answer
105 views

centos 6.4 install mysql [duplicate]

I have centos 6.4 64 bit and I accidently uninstalled my php-mysql extension, as a result my wordpress site is down. I need to install php-mysql (note, I prefer to get mysqlnd, but first I just need ...
0
votes
1answer
151 views

fastcgi_pass directory not available on Apache + Nginx, how to find it?

I have a CentOS, Apache and Nginx installation. It uses php 5 handler as fcgi. This server uses WHM cpanel and easyapache. fcgi apply by using easyapache. These installation done by my hosting ...
0
votes
1answer
60 views

How to Update remi repository list?

I am trying to upgrade to php 5.5 using remi repository, My OS is Centos 6.4, but my problem is when i run the command yum --enablerepo=remi,remi-php55 install php i still see the php version ...
1
vote
2answers
200 views

Another PHP NGINX error: “No input file specified”

I looked through about 5 questions and blog posts already and tried everything they told me without luck. I can browse to www.example.com/phpinfo.php, but not www.example.com/index.php. I even went so ...
0
votes
1answer
234 views

PHP fastCGI won't stop, trying to start PHP fpm

I installed php-fpm and tried to start it. Got the following error: ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98) So it would appear php-fastcgi ...
1
vote
2answers
551 views

Can't get PHP to work on Apache VirtualHosting environment

Trying to setup an Apache VirtualHosting environment with PHP in a freshly created CentOS node under DigitalOcean cloud server. The trouble is, although Virtual hosting is working per se, PHP isn't. ...
0
votes
1answer
163 views

MSSQL PHP cannot connect over apache's account

I'm fighting with this for a day now, hope someone already faced with this problem and can help me out: I have a CentOs server [root@XXXXX ~]# cat /etc/redhat-release CentOS release 6.5 (Final) ...
0
votes
0answers
382 views

No package php-devel available CentOS

I try to install php-devel package on my CentOS VPS and I get this output : No package php-devel available. I run this command : yum -y install php-devel Output : Loaded plugins: ...
0
votes
0answers
126 views

PHP-FPM 404 and 502 errors

I am using nginx with php-fpm on CentOS 6 with cPanel. I have no installed modules like eAccelerator or APC. Server periodically returns 404 and 502 errors. 404 errors occur when the PHP cannot ...
-1
votes
1answer
58 views

Can't send php mail() [closed]

I just migrated to a new server and apparently I can't send a mail. I've "ipb board" installed there and every time I send a mail I get the following in error_log sh: -t: command not found ls -l ...
0
votes
3answers
145 views

Reduce system load when using image processing via php-fpm/nginx

We have a PHP image api written in Code Igniter that's based on imagemagic. We have the api behind nginx/php-fpm. We know the Imagemagic part is heavy, but we try to make the overal throughput higher ...
1
vote
0answers
37 views

Settings for php to solve empty session?

I have my php running on Centos 6.5 (Final). I have problem where one of my potential customer who is sitting remotely having upon login and redirect the sessions gets empty.He even tried on other ...
2
votes
1answer
130 views

Our RAM usage is high, including -/+ buffer/cache, but top has no answers

We are running CentOS 6 with a PHP web application. After we pushed a new version live it seems we have a memory issue, however top does not show any high usage instances. I have looked around and ...
0
votes
1answer
602 views

nginx - 403 Forbidden

I've trouble to get aliases working correctly on nginx. When i try to access the aliases, /pma and /mba (see secure.example.com.conf), i get a 403 Forbidden but the base url works correctly. I read ...