0
votes
1answer
17 views

How can I configure a Ubuntu LAMP web server with permissions like CPanel?

I know how to set up a LAMP stack on Ubuntu pretty well for a single website / single user, but I'd like to allow multiple users to host multiple sites on a single server. This is for different ...
0
votes
1answer
22 views

PHP Fatal error: Maximum execution time of 0 seconds exceeded

I have PHP application that uses pdf2htmlEX and HTMLpurifier to convert pdf documents to text format. Conversion process consist of few steps: 1. uploading book using web browser 2. conversion from ...
-1
votes
2answers
48 views

Directory and files have 775/644 permissions but php says it is not writable?

I think this has something to do with ownership of the folders, but I have a php app that I am trying to get setup and I cannot install it because it tells me the permissions are not correct. I set ...
-2
votes
0answers
31 views

Cron job is occupying my server [closed]

I wrote two PHP scripts. First one is adding users to one another system calling its API functions. Another script is connecting to FTP, downloads the file, and analyze it. Tuesday I scheduled two ...
0
votes
1answer
40 views

Is it possible to host a blog externally and have it appear under a /blog/ sub directory

A client has a website built in .NET on a Windows server and their provider will not install PHP and MySQL on it. Is there a way to externally host a Wordpress blog and have it appear in a sub ...
1
vote
0answers
27 views

ps x shows weird command: -f html/index.php

Just went to check one of my websites and was greeted by the message: "CGIWrap Error: Real UID could not be changed!". Went in via SSH and tried "ps x" which showed me tons of processes that that ...
0
votes
0answers
28 views

Possible error in httpd.conf? php websites don't work

I have a server running Plesk 10.0.0, today I noticed that my website wasn't working, when I try to view it nothing is shown at all, it was working fine a couple of days ago. I wondered if it was a ...
0
votes
1answer
15 views

Seting up folder from Apache root directory in other hdd and allow php to write on it

please need help... [LINUX] I'm trying to set up a big photos folder in a new hdd over apache. Before it was: /htdocs/photos now I'm trying to create a virtual directory: <IfModule ...
0
votes
0answers
36 views

Comparable hosting scenarios [closed]

I understand I'm asking a subjective question, but I'm hoping to temper it with looking to real world examples rather than just asking about what hosting requirements I need. Question: Can you give ...
0
votes
1answer
24 views

Limiting IP choice from CURLOPT_INTERFACE

I have a server with 6 ip addresses added via cPanel. I'm having troubles limiting the IP address my clients can use as an outgoing IP address in their PHP script. Some of them are running proxies and ...
-2
votes
0answers
25 views

run rsync with php exec command? [closed]

I have two Linux servers. There is a folder called 'script' in /var/www folder on server1. There is also a same named folder in /var/www on the second server. I want to sync 'script' folder on server1 ...
0
votes
0answers
19 views

convert mime mails from the input stream to readable text

Can I get any help for php mime email parser/decoder like https://code.google.com/p/php-mime-mail-parser/ which does not involve any installations. I even tried Zend and decoder from phpclasses.org, ...
-2
votes
0answers
57 views

Website Performance Tuning. Am I doing it right and have I missed anything? [closed]

Is there anything I should be doing differently or havent done yet to get better performance? I need to handle 1000s of concurrent hits. I seem to be getting missed hits and don't know why SERVER ...
0
votes
0answers
35 views

Upgrading RHEL 5.9, php 5.16 to 5.5

I have been tasked with upgrading the php version on a 5.9 RHEL to 5.5 for security reasons. I Used the remi Repository and sucessfully updated php to 5.5 checked with php -v However on ...
0
votes
1answer
65 views

How do I find out what mail program is installed/sending emails?

I'm trying to find out what emailing program (if any) is sending emails on my server. My employer has a few servers, most of which use sendmail, but on 2 of our servers I'm not finding an email ...
0
votes
1answer
66 views

PHP processes keep overwhelming my server, eating up the CPU and making it lock up :(

I have a Debian Squeeze Lighttpd server with PHP and MySQL, and also with XCache and Varnish set up. I am quite new to this, but have tried as hard as I can to resolve this problem with no success. ...
0
votes
2answers
136 views

How do I disable functions on servers for particular directories?

I want to disable some functions on server to improve security of server. I followed these steps: STEP: 1 Open php.ini file: vi /etc/php.ini STEP: 2 Find disable_functions and set new list as ...
-1
votes
2answers
72 views

Server hacked - help needed [duplicate]

I have noticed that a new folder was added to website and it was used as phishing from our site. I think, it was added few days before. The added code page is showing "Reported Web Forgery!". I have ...
0
votes
0answers
69 views

Strange 502 Bad Gateway Error on LEMP Stack after several days of uptime

I am currently running a WordPress install on the following stack: 2GB Ram / 8CPU /96G storage Ubuntu 12.04 LTS nginx/1.2.7 Varnish 3.0.2 Php5-FPM I have tuned Php/Nginx/Varnish to what I feel is ...
0
votes
2answers
124 views

PHP 5.3 on Fedora 18

I'm running F18 on my devel machine and I NEED to run PHP 5.3.* (best 5.3.6) on it. F18 doesn't have it in its own repositories and I can't build PHP 5.3 from source because of buggy libxml2-2.9 in ...
0
votes
1answer
48 views

Can't compile PHP with Sybase

Trying to compile Sybase with PHP 5.4.13 in Linux version 3.2.0-4-686-pae (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.35-2 # apt-get install freetds-dev ...
-1
votes
1answer
181 views

Can't restart my httpd service

I just made a change to my PHP.ini file. (my Linux dist is CentOS). I figured I need to restart apache for that to take effect so I issued the command: service httpd restart When doing that I get ...
-1
votes
1answer
134 views

Can't enable HTTPS and SSL streams in PHP no matter what

I've been trying to enable my HTTPS/SSL (443) streams in PHP but no had success at all. My certs are properly installed and I can normally browse through the site using HTTPS, but phpinfo() tells that ...
-2
votes
1answer
170 views

Disable ext4 journaling for website? [closed]

/var/www/website contains the files that powers a website, and /var/www/media contains many tiny media files like images in subdirectories named after their date of creation. Deleting/pruning an ...
0
votes
1answer
83 views

UDP… how are connections differentiated from behind NAT routers?

I have a very simple UDP chat server written in PHP, running on a Ubuntu VPS. It seems to be working, but only as long as there is no more than one client per site, The information I know how to ...
0
votes
3answers
235 views

How to configure a real domain name for sender address

I tried to sending out an email using php mail() function but it failed somehow, complaining that a real domain name is required. The following is observed in the maillog: sendmail 4984 r25984: ...
0
votes
2answers
116 views

PHP-FPM with apache

Is it possible to run PHP-FPM with Apache or is that a nginx only option? Looking for ways to use apache and keep .htaccess but gain better php performance like able to take more reqs per sec. ...
0
votes
2answers
72 views

If I want to run an application in Linux without using a package manager, is my only option to compile it from source?

I have 2 side projects I'd like to complete at work: Enable wiki users to authenticate against the corporate Active Directory (LDAP) server. Setup a code review tool for my dev team. Here's the ...
-2
votes
1answer
65 views

How to load balance php script [closed]

I have a PHP script, how can I load and run it on multiple servers so that CPU usage for all servers will be equal?
-1
votes
1answer
50 views

Strange behavior on Linux (php/mysql) [closed]

We're having strange behavior on our linux server. Here are some symptoms: 1) PHP using old information when processing scripts: For example: I loaded up the site today and it ran the mobile version ...
0
votes
1answer
61 views

Setting up a Nginx config file with php-fpm results in 502 bad gateway

I'm following a guide to set up a ubuntu VPS as a nginx webserver for wordpress. When setting up Nginx and PHP the guide I'm using suggests I uncomment this line in ...
0
votes
2answers
40 views

upload_max_filesize not getting updated after httpd restart

I have a RHEL6 box with php and apache. I want to increase my upload limit to 20MB. I changed upload_max_filesize parameter in /etc/php.ini. I restarted the httpd service. But when I load the ...
-1
votes
1answer
47 views

Compile PHP without PostgreSQL [closed]

I need to compile php-5.2.17 as a cgi wrapper. PostgreSQL is not installed on this machine. I'm looking for the configure command, to disable support for PostgreSQL. --without-postgre
0
votes
2answers
83 views

vps( Intel(R) Xeon(R) CPU L5520 @ 2.27GHz) vs dedicated (Intel(R) Xeon(R) CPU E3-1240 V2 @ 3.40GHz) beats it by 40ms in few mysql calls

as the title says i am pretty puzzled here as to why would the first(Linode) server beat the pretty well-known liquid-web dedicated server by 40-50miliseconds(averaging 10ms to complete vs 50-60ms on ...
0
votes
1answer
126 views

Problems installing php5 from source in Ubuntu

(Originally asked here: http://stackoverflow.com/questions/14977119/problems-installing-php5-from-source-in-ubuntu) I've been trying to install php5 for a while. I'm using. Ubuntu 12.10 Apache ...
0
votes
2answers
74 views

Alternative repo for RHEL 5.4 [closed]

Can anybody recommend a respectable alternative repo for Red Hat Enterprise Linux 5.4? I want to get PHP 5.4 especially.
0
votes
0answers
36 views

How to install Php 5.3 and nginx 1.0.9 on Debian Lenny

Can't seem to find the right repositories. I currently have: deb http://packages.dotdeb.org stable all deb-src http://packages.dotdeb.org stable all But there's an error during the instal: ...
2
votes
4answers
794 views

Problems installing PHP 5.4.11 and MySQL 5.6.10 on CentOS 6.3

I'm attempting to install PHP 5.4.11 and MySQL 5.6.10 onto a CentOS 6.3 box. I've successfully installed PHP 5.4.11 via the remi repository for yum. I've also successfully installed MySQL 5.6.10 ...
-1
votes
1answer
31 views

What are steps to migrate from old to new server using cpanel? [closed]

I've just moved from old to new server but have many problems now. What I did was: Initial set up of cpanel; 2. Change of hostname from default to my domain aaa.aaa.com; 3. Migrate multiple accounts ...
-2
votes
3answers
33 views

Pagespeed still works on a new server even though it shouldnt

I had mod_pagespeed installed on my previous server. I didn't use it and disallowed via .htaccess because after some testing it turned out that it actually slowed down my site. So it remained ...
1
vote
1answer
169 views

php5-fpm not responding

I've migrated to php5-fpm on nginx setup ~2 months ago. Everything was fine until a few days ago, when I noticed my php websites not responding (the browser would simply just wait for data and ...
0
votes
0answers
23 views

How many connection can my website have? [duplicate]

As the traffic increased my website hangs quite regularly. The page visit is now averaging 50k per day. The static page loads fine, but when the page has mysql request it takes too much time to ...
1
vote
1answer
55 views

Unable to connect through SSH tunnel

I'm trying to tunnel into a remote server for the purposes of debugging(so I could get a more specific error message rather than internal server error 500), and I was looking at the question: ...
0
votes
1answer
267 views

apr_socket_recv: Connection timed out (110)

I have nginx/php-fpm running but I am getting the following: apr_socket_recv: Connection timed out (110) This is a massive big box. 16 cores/24GB RAM What do I need to tune to increase the allowed ...
2
votes
3answers
225 views

Apache bottle neck

I have nginx as a front end proxy and apache with mod_fcgid. This box has 24GB RAM and 16 cores. I shouldn't be bottlenecking. There seems to be a bottleneck. Once it hits 7000 requests it hangs ...
0
votes
1answer
41 views

running .html as .php

How do I edit my .htaccess file using mod_fcgid to turn .html files to act as .php I tried: AddHandler fastcgi-script .html Did not work. I am using cpanel and using php 5.3 and apache 2.2.
0
votes
0answers
89 views

Slow ftp transfer using php over pptp in linux

We have a remote ftp server setup in a geographically different network accessable from our network with VPN (PPTP). The VPN connection is limited to 4Mbit/s. We are downloading a specific file every ...
0
votes
1answer
48 views

PHP script throwing syntax error after server move

I have just finished moving a WordPress site to a new server. Absolutely no changes have been made to the code, but when I try to view the site mod_fcgid: stderr: PHP Parse error: syntax error, ...
0
votes
1answer
98 views

upgrade php to 5.2 on centos 5

I'M triyng to upgrade php 5.1 to 5.2 on centos 5 following these directions. I enabled the centos-testing repo: But yum can't find any package to upgrade... rpm -qa |grep php ...
-4
votes
1answer
117 views

What services to start/install so php files are interpreted [closed]

I have a php file on my Ubuntu Linux system, and want to open the file in a web-browser (firefox), or to be more precise to make sure the php-file is processed correctly and the output shown in the ...

1 2 3 4 5 13