0
votes
0answers
8 views

Strace php script - ERESTART_RESTARTBLOCK (To be restarted)

I am trying to troubleshoot a WordPress installation that is loading the front page very slow. I straced the index.php file with the -T option to see where the delay occurs and it pauses 2 times for ...
0
votes
0answers
28 views

Plesk behavior different when domain is accessed self from inside the server?

Consider the following scenario - www.domain.com is linked to a subscription within Plesk on our dedicated Linux server. From a web browser on a remote machine, www.domain.com resolves to it's ...
0
votes
2answers
58 views

Upgrade to latest current installed version of PHP [duplicate]

I've just purchased a new VPS and they've, for some unknown reason, installed PHP version 5.3.3. I'm fine with being on version 5.3.X, but I believe the latest version is 5.3.29. I did some Googling ...
0
votes
2answers
24 views

PHP configure not finding LDAP header libraries

I installed the LDAP development headers: apt-get install libldb-dev This added a few ldap headers: root@crunchbang:/usr/include# ls -la ldap* -rw-r--r-- 1 root root 9466 Apr 23 2013 ldap_cdefs.h ...
0
votes
0answers
14 views

Linux pt_BR Locale - Bad Translations

I'm using Amazon Linux AMI 2014.09 (up-to-date) to host my PHP application, that uses locales for internationalization (usually it's pt_BR). On the production server the pt_BR translations is not ...
0
votes
1answer
39 views

ffmpeg mp4 and webm files save to standard folder but only webm to mounted folder

So i am running an ffmpeg command on my linux server using the php exec command : exec("(nohup nice -n 19 " . $ffmpegPath . " -y -i " . $srcFile . " -f mp4 -pass 1 -passlogfile " . $video_pass_log . ...
0
votes
1answer
34 views

Multiple server blocks in nginx: Php not working on server 2

I have a nginx server running on my webserver. I would like to achieve the following: example.com + www.example.com -> /my/web/dir/www pma.example.com -> /my/web/dir/pma The first point is not ...
0
votes
1answer
34 views

Installing Plesk 12 of on Virtual Server

I'm trying to install Plesk 12 on a Virtual Server through VMWare, however I keep getting error message relating to php-common being required for php-imap and php-mbstring, but I have the correct ...
1
vote
3answers
44 views

Error while configuring PHP with existing apache

I am receiving this message: configure: error: Invalid Apache directory - unable to find httpd.h under /usr/lib64/httpd/ after executing the following command: ./configure ...
0
votes
0answers
24 views

Apache is not connected with php path after building on CentOS

How to connect already installed php-5.4.25 and httpd-2.2.29 on CentOS 6.5? These packages are installed on my server by configuring and compiling. Assuming that my problem is in missing paths in ...
0
votes
1answer
41 views

Apache Proxy Server - Hopefully an easy fix

I am having issues with using relative directories from within the server that my proxy server redirects too. Lets call my top level server that provides the proxy "Proxy", and the first sub server ...
-1
votes
0answers
24 views

Install higher version of libxml on CentOS 6.5 [on hold]

My current version of libxml package is libxml2.x86_64 2.7.6-14.el6_5.2 and I want to upgrade it to 2.9.0 . I found a libxml package with 2.9.0 from ...
0
votes
1answer
47 views

Apache starts with “Syntax error on /etc/httpd/conf/httpd.conf: Invalid command 'remove'”

After I changed php.ini max file upload size and the max post size, restarting apache shows the error in the title. Why? And how to resolve it? # vi /etc/php.ini # service httpd restart # service ...
0
votes
0answers
19 views

zend guard - Cannot run code from this file in conjunction with encoded files

I have problem. After upgrade PHP from 5.3.3 (base centos repo) to 5.3.29 (IUS repo). Some websites was down (no data returned). So i try disable load .so Zend Guard. All is ok, but I need have load ...
0
votes
0answers
34 views

RHEL 5 with PHP 5.1.6 VS RHEL 6 with PHP 5.3.3: Security implications

Using only the RHEL Repositories, RHEL 5 considers PHP 5.1.6 to be up to date, and RHEL 6 considers PHP 5.3.3 to be up to date. My question is: Are security updates/patches backported so that 5.1.6 ...
0
votes
1answer
180 views

Installing PHP 5.2.17 from WHM/Cpanel server by replacing 5.4.31

Recently we purchased a dedicated server with WHM/Cpanel. The PHP version installed on the server is 5.4.31. But i want to downgrade the pHP version from 5.4.31 to PHP 5.2.17 as to run some old ...
0
votes
1answer
99 views

Problems with a PHP include from the command line (or cronjob) [closed]

I am trying to setup a cronjob on my AWS EC2 instance. There is nothing wrong with the actual entry in the crontab file but when I try to run the command in the command line I get this response. PHP ...
0
votes
2answers
78 views

Apache web server intermittent stalls

Our SOAP web server is running in PHP on Apache on CentOS and makes heavy use of MySQL. There is heavy demand on the server - most requests are very small and involve only two or three MySQL queries, ...
1
vote
2answers
146 views

PHP eats up all the memory

Since this morning one of our webserver's memory getting filled up by php which eventually going to cause the server to start swapping, slow down and become unavailable (an ssh login takes like 5 ...
0
votes
2answers
66 views

Run multiple instances of apache with PHP5

I am attempting to setup a Dell Poweredge R720 server with OpenSUSE 13.1. I need to run multiple instances of apache (Either 1 install multiple instances or multiple installs with multiple ...
0
votes
1answer
416 views

Strange POST request to server in apache log

I have been seeing this all day in my apache access log: 213.55.105.126 - - [19/Jul/2014:18:39:24 +0000] "POST /xmlrpc.php HTTP/1.1" 503 2539 "-" "-" they are continuously coming in. different IP ...
0
votes
0answers
44 views

How to create a new MYSQL charset?

I am trying to configure roundcube webmail and I get the error "Can't initialize character set utf8 (path: /usr/share/mysql/charsets/))" I fixed this before on my website by adding ...
0
votes
1answer
69 views

Apache authentification error

I've installed Apache 2.2 on my Debian-based distr (kernel 3.2.0-27) and apache2.2-common package with default configs. Trying to run simple script info.php I got the error found in ...
0
votes
2answers
136 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: ...
1
vote
1answer
162 views

Describing `strace` command output

I have php process which could not finish for more then 2 days. root 26511 0.0 1.6 407788 27684 ? Ss Jul09 0:08 /usr/bin/php action.php This is the output from the strace command: ...
1
vote
0answers
82 views

command line alias inside php exec

Is there any possibility to define shell alias for commands executed via php system, exec etc functions? I'm running multiple versions of PHP using fastcgi and I need to run the right version of PHP ...
2
votes
1answer
103 views

How to run HTTPD as specific user(s) and not by nobody?

Currently, top shows me that almost all httpd processes are run by nobody. "Almost" because 2 of them are run by root. How can i make it in such a way that given i have users say: dartagnan, porthos, ...
1
vote
2answers
268 views

CentOS6 PHP extension install: Cannot find php-config. Please use --with-php-config=PATH

This may seem trivial to some, but I have been developing on Windows all my life and only moved to Linux this week - all is new to me. I've been following The following guide on how to install php ...
0
votes
1answer
236 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 ...
0
votes
1answer
218 views

MySql stops running in combination with Laravel Queue, Supervisor, and FFMPEg

After setting up queue listener to process uploaded videos with FFMPEG, I've come back to the server several times to find that MySql has stopped running. I checked drive space and it's about 77% used ...
0
votes
1answer
49 views

masquerade an URL with proxy SSL or other methods

good day dear server experts I would like to be able to masquerade an URL, that is to keep the URL the user is entering when going to a page. For example: The user is entering at his browser: ...
0
votes
2answers
82 views

Unable to download PHP page even web server is running in SUSE Linux

I am unable to view a .php page in a browser after installing apache2 (Version - 2.4.9) and PHP5.5. Instead of the page opening in a browser it just downloads the PHP page. OS is SUSE Linux. Why is ...
0
votes
3answers
83 views

lamp — edit PHP file but doesn't change web output — including die()

Server is standard Linux server on Amazon Web Services. Cent OS 5/Apache/PHP 5.3. No APC. It's worked fine for over a year, but now when I edit some but not all PHP files on the server using vi, the ...
0
votes
0answers
38 views

Getting PAM/user info into php - something like Net_Finger instead of a db?

I've got a very small user group who just need to login, upload, check and then move specific files to a different area when ready. Right now, I use the nginx PAM auth module to log them in against ...
1
vote
0answers
110 views

PhpMyAdmin Hangs On MySQL Error

I'm currently running PhpMyAdmin 4.0.10 (the latest version supporting PHP 4.2.X) on my Amazon EC2 connecting to a MySQL database on RDS. Everything works perfectly fine except actions that return a ...
1
vote
2answers
300 views

php crashes with no core file and this message : apc_mmap failed

Description of the problem Regularly, cron php processes crash on our production server, which result in mails with the following body : PHP Fatal error: PHP Startup: apc_mmap: mmap failed: in ...
2
votes
0answers
26 views

PHP APC cannot increase cache above 32m

apc.shm_size I set it to 128M I have also try 128 (without M) But It always 32M :( /proc/sys/kernal/shmmax is set to 134217728
1
vote
1answer
681 views

Red Hat 6 connect to MS SQL server 2005 using freetds; pdo_dblib and php

I'm having a problem connecting to my Microsoft SQL Server 2005 from a Red Hat box using freetds. My end goal is to be able to connect using php's PDO, but I don't appear to be able to connect when ...
0
votes
3answers
112 views

Limit for outgoing emails for every virtual host

I have virtual hosts on Apache server. I need limited the outgoing emails sent via mail() function(from PHP). Max 100 outgoing emails per day for every host :) How can I do this?
1
vote
1answer
72 views

running multiple php versions in parallel

this question has been on my mind for quite some time. unfortunately i don't really expect a solution... maybe someone can at least tell me why.... i've been running multiple php versions in parallel ...
0
votes
2answers
870 views

Nginx PHP-fpm permission

When i'm setting the user in nginx.conf to root root: user root root; then my website is working, but when i set it to nginx nginx i get error in the logs: connect() to ...
0
votes
1answer
275 views

Capistrano fails to delete folders/files created by Apache

Problem Capistrano deploys a web application via SSH using deploy user. Apache/PHP runs under typical www-data user. Web server is creating cache files and folders at runtime inside the app path. ...
1
vote
2answers
1k 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 ...
0
votes
0answers
143 views

PHP application response time increases when application requests decrease

I've got a very powerful dedicated server, running a PHP 5.5.3, MySQL (Percona 5.6) SMF forum. It's running Ubuntu 13.10, it's a Xeon E3-1270 V2, 1TB disk space (0.7% full), 16GB DDR3 (15% used). I'm ...
-2
votes
3answers
90 views

Options for high-availability of a smallish website? [closed]

I'm running a website that gets ~1500 visitors a day. It's not a ton, but I want to make sure this site stays up nevertheless. Currently, we're hosted on a shared hosting provider and the site has ...
-1
votes
1answer
61 views

Multiple Background Processes at Single Line Works in The Foreground

I want to convert an uploaded PDF file to JPG images and zip these images after convert process finishes. I use the ImageMagick library's convert command for PDF to JPG conversion. To accomplish ...
2
votes
0answers
170 views

Need a PHP version manager to deploy multiple versions of PHP on production servers [closed]

I'm currently running a few LAMP stacks, where I've setup PHP 5.2, 5.3 and 5.4 by hand. All servers are running Ubuntu 12.04 LTS. 5.3 is currently installed via apt-get but all other PHP versions are ...
1
vote
1answer
390 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 ...
2
votes
1answer
1k views

Can't login to remote MariaDB server with phpMyAdmin, but works in shell

I recently configured two servers. The first to use Apache and phpMyAdmin. On the other server I have a maria-DB server correctly configured. phpMyAdmin it's reading the config file, but I can't ...
1
vote
1answer
245 views

Use a PHP script to authenticate users on Linux

I have a web application running built in PHP using MySQL as database. I'm trying to give specific users access to a Linux system via SSH to perform simple command-line tasks. Since I do already have ...