-1
votes
0answers
9 views

how can i create folder and in that sub folder using php in centOS, am facing folder permission problems [on hold]

how can i create folder and in that sub folders using php in centOS, am facing here folder permission problems. that's why am unable to upload images in my site
-1
votes
0answers
17 views

How to auto recover server, Memory exhausted, Connection reset by peer: mod_fcgid

I've got a mySQL / PHP script eating all the memory and crashing a VPS. After the memory error, every request results in (104)Connection reset by peer: mod_fcgid: After restarting the server, it's ...
1
vote
1answer
18 views

PHPmailer won't authenticate on CentOS

I've seen this issue posted before, but haven't found an answer. My phpmailer script works on Wamp, but won't on Centos. I've disabled SELinux and IPtables just in case. I also ran "telnet ...
1
vote
1answer
41 views

Managing differences in Ubuntu and CentOS features when deploying app

We have a problem that our programmer uses Ubuntu to develop advanced php application (advanced because he installs many extensions/seperate databases/utilities) and the problem is that whenever he ...
2
votes
2answers
77 views

Cant install php-posix on CentOS 6

I'm trying to install php-posix on CentOS 6, with no luck: $ yum install php-posix Getting the following error: Loaded plugins: downloadonly, fastestmirror Loading mirror speeds from cached ...
0
votes
2answers
36 views

How to let user create folder and upload file, lamp permission [closed]

I use mkdir($folder_path, 0755) in localhost(MAMP) it works, but after I move to VPS I use LAMP it failed. Folder the direction path is /var/www/html/assets/images/ the images folder info: Owner: ...
-2
votes
0answers
23 views

Mcrypt without Epel & Remi repos? [closed]

As someone who is new to having his own server, I installed PHP and MySQl from the Remi and Epel repos. However, during the installation of iRedMail I stumbled onto a bunch of errors telling me that ...
1
vote
1answer
21 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
vote
2answers
54 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
137 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
71 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
50 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
86 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
145 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
252 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
45 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
52 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
53 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
279 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
369 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
222 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
39 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
141 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
48 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
332 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
373 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
118 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
710 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
346 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
53 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
157 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
135 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
99 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
339 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
108 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
841 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
16 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
106 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
159 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
61 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
206 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
263 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
653 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
184 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
401 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: ...