2
votes
1answer
53 views

Need advice on documenting LAMP web site

I need to document my web site. It is a music web site on Linux/Apache/MySQL/PHP on AWS. I need to document everything: architecture (5 servers), database (100+ tables), php classes, programming ...
0
votes
1answer
72 views

server out of memory - mysql processes?

I have inherited a system build in PHP (LAMP) and it keeps going offline due to running out of memory every week or so. There's 4gb of RAM available. I've asked my hosting provider twice to look in to ...
1
vote
1answer
490 views

Which PHP modules are required to install wordpress?

I have 5 wordpress sites. I use hostgator shared hosting for all of them. Now I have decided to switch on to a VPS. I got a unmanaged VPS and configuring it for wordpress. I am following this ...
0
votes
0answers
112 views

Uninstall Mongo DB completely

I followed the following steps to install MongoDb on my centos machine. http://andres.jaimes.net/876/setup-mongo-php-module-centos-6/ As mentioned at the end of the document, in the phpinfo() the ...
0
votes
1answer
100 views

LAMP stack everything seems to be working except sites are blank

I have a LAMP stack, Ubuntu 12.04.3 LTS PHP 5.3.10-1ubuntu3.8 with Suhosin-Patch (cli) (built: Sep 4 2013 20:05:42) Apache/2.2.22 (Ubuntu) MYSQL 5.5.32-0ubuntu0.12.04.1 (Ubuntu) Codeigniter 2.1.0 ...
-8
votes
1answer
88 views

LAMP Installation and security [closed]

I installed LAMP server on Ubuntu 13.04 using this tutorial word to word. It worked nicely. But I am hardly able to understand these steps : $ sudo usermod -a -G www-data your_user $ sudo chgrp -R ...
-6
votes
1answer
207 views

2GB RAM VPS with LAMP. How can i improve performance and loading times? [closed]

I recently upgraded my VPS(OpenVZ VT) to 2GB of RAM. Despite the configuration changes i make to the LAMP stack the websites loading times take up to 5-10 seconds to fully load. I use prefork with apc ...
0
votes
2answers
895 views

LAMP -> CPU usage of Apache processes too high

I have a LAMP system with CentOS 6.4, Apache 2.2.15, MySQL 5.5.32 and PHP 5.3.26 with APC 3.1.10 using a Drupal CMS (https) on a virtual machine with 4 CPUs and 6 GB RAM. My problem is the CPU usage ...
1
vote
2answers
327 views

No such file or directory

I'm building an EC2 LAMP server for the first time, and so far so good. Except I can't seem to get the require 'vendor/autoload.php'; working right I get this error message whenever I write that ...
0
votes
1answer
159 views

Apache2 many CLOSE_WAIT. LAMP. Locating the issue

I've got a LAMP setup running and I seem to have many CLOSE_WAIT connections for apache2 program when I netstat (several hundred). This eventually causes my apache to become unresponsive. Bellow is ...
0
votes
1answer
38 views

LAMP not working after php.ini change (even if resetted)

My LAMP machine on Ubuntu 12.04 was working fine, then I tried to modify the etc/php5/apache2/php.ini file opening nautilus through the terminal with sudo nautilus. I have edited this line: ...
0
votes
2answers
471 views

Apache doesn't parse PHP on VHOST while it works on default

I set up a Debian 6 VPS to host couple of small sites and it works beautifully for default one. Next i created new user and copy/paste default vhost file and enabled it with a2ensite and only ...
0
votes
0answers
47 views

php modules from older php version?

I am fairly new to php server administration, and I am performing a LAMP server migration. I installed php 5.3.3 using YUM on the new CentOS 6.3 server, but I copied the contents of php.ini and the ...
4
votes
2answers
3k views

What to do after hitting the dreaded 256 max connections Apache Limit

After scratching my head trying to figure out why my site was responding so slowly even though the server resources are fine, I finally checked the Apache status and found: 78 requests/sec - 0.7 ...
-1
votes
3answers
86 views

Looking for modules to increase Apache and PHP Performance [closed]

We are looking for modules that will increase performance for apache and php, we know that the fastcgi module will help our page load times, is there any other modules out there that will give us a ...
0
votes
1answer
61 views

PHP error reporting is not displaying

I've appended these in my php.ini and still can't get any php errors to display display_errors = on display_startup_errors = on error_reporting = E_ALL html_errors = on log_errors = on here's a ...
0
votes
1answer
275 views

php gnupg = unable to load warning

End goal: use PHP GnuPG library in my Mediawiki extension I have installed gpgme with dependencies run pecl install gnupg = no errors added extension=gnupg.so to my php.ini : [root@dev-lamp01]# ...
2
votes
1answer
550 views

PHP errors not being displayed

I'm using PHP with Apache on Ubuntu 12.10. Errors are not being displayed to the browser for some reason and I can't figure it out. I have the following in my php.ini file: error_reporting = E_ALL ...
0
votes
1answer
396 views

AWS PHP Curl with SSL

I'm trying to install the Amazon Web Services PHP SDK on my Ubuntu LAMP server. Whenever I run the compatibly check everything but cURL comes back okay. The issue I'm having is that it's reporting I ...
4
votes
1answer
604 views

How to maintain PCI compliance on a LAMP server when repositories don't keep up with versions

We run Ubuntu Lucid 10.0.4 as the foundation of our LAMP environment. We are trying to become PCI compliant so that we can pass CC info through our server. We have run some third-party scans on our ...
0
votes
1answer
124 views

How to determine if PHP-to-Solr connection is slow?

Hi have a LAMP stack connecting to a Solr 3.6.1 server running on CentOS 6.3. While benchmarking my app, I noticed sudden spikes in the time taken for PHP to send a search query to Solr and getting ...
0
votes
1answer
91 views

Server appears to have lost ability to read PHP files with LAMP

I have LAMP installed on a PC that is running Ubuntu 11.10. LAMP was running fine but I had to restart the PC because Unity was messing up (as it often does) and the tool bar had disappeared. When ...
1
vote
1answer
222 views

Why is my concurrency capacity so low for my web app on a LAMP EC2 instance?

I come from a web developer background and have been humming along building my PHP app, using the CakePHP framework. The problem arose when I began the ab (Apache Bench) testing on the Amazon EC2 ...
3
votes
4answers
6k views

How to Automatically and Temporarily block an IP address making too many hits on the Server in a short timespan?

One of my LAMP servers was recently brought down by some kind of script bot looking for exploits. From the looks of it, it was making so many requests a second, that it overloaded the RAM on the ...
2
votes
1answer
262 views

High CPU usage resulting in server crash

running out of ideas to explore. First off - let me warn you - I'm a programmer, not a systech :) Here is the situation. Dedicated server (LAMP) running a fair amount of sites. mySQL server is on a ...
1
vote
2answers
1k views

High CPU usage resulting in server crash

running out of ideas to explore. First off - let me warn you - I'm a programmer, not a systech :) Here is the situation. Dedicated server (LAMP) running a fair amount of sites. mySQL server is on a ...
2
votes
1answer
178 views

.php files see Apache environment variables, .html files don't

Consider this environment: $ cat .htaccess AddType application/x-httpd-php .php .html SetEnv Foo Bar $ cat test.php <?php echo "Hello: "; echo $_SERVER['Foo']; echo $_ENV['Foo']; echo ...
1
vote
1answer
414 views

Parsing .html as PHP: how to check which method would be right?

The usual way of parsing .html files as PHP is to add either the first (PHP as an Apache module) or both (PHP as CGI) of the following lines to an .htaccess file: AddType application/x-httpd-php ...
-3
votes
1answer
154 views

LAMP server hosting multiple domains - how to ensure each domain's files and users locked to only that domain? [closed]

I have a LAMP server (Ubuntu) running PHP. I want to host multiple domains on it. My plan is to create different user for each domain because I want to make sure if one domain gets hacked, it wont ...
0
votes
1answer
397 views

LAMP server error Unable to initialize module

While doing a tail -f on my httpd error_log I got the following error on every request [Sun Jun 03 15:52:48 2012] [error] [client xxx.xxx.xxx.xxx] PHP Warning: PHP Startup: timezonedb: Unable to ...
2
votes
4answers
2k views

Need working guide to install latest Apache or Nginx, PHP & MySQL for production

Ok I'm told the best and easiest way to install Apache/Nginx, PHP, MySQL for production these days is to pull in the software using apt-get or similar package manager for your specific distro. The ...
4
votes
5answers
3k views

PHP broken after upgrading to php 5.4

on an ubuntu 12.04 i have upgraded to PHP 5.4 according to this tutorial http://www.upubuntu.com/2012/03/how-to-upgrade-install-php-540-under.html But when i call php5 -v i get PHP Warning: PHP ...
1
vote
1answer
609 views

Allow outgoing connections for cURL on LAMP stack

I've been trying to setup a LAMP stack to use as a web development server and it's proving to be very frustrating for a novice like myself. On a Fedora 16 machine, I've got Apache, MySQL, PHP, cURL, ...
1
vote
1answer
3k views

How to install mysqlnd for php 5.3.3 on Centos 6.2

I have just down graded my PHP-installation from 5.3.9 to 5.3.3. This in order to be able to use yum/EPEL instead of compiling everything myself. Appearently, mysqlnd-support isn't available in ...
0
votes
3answers
1k views

Apache 2.4 and PHP 5.4 getting connection reset errors in the browser

In the weekend I upgraded my development web server to Apache 2.4 and PHP 5.4. In my web application which was previously working great on Apache 2.2 and PHP 5.3 it now starts getting these messages ...
1
vote
3answers
827 views

Apache error log: Unable to create ~/.gnome2 directory: Permission denied

I'm seeing a few of these messages in the Apache error log (/var/log/httpd/error_log) at the rate of about one per half hour, often in small batches: (process:23210): libgnomevfs-WARNING **: Unable ...
0
votes
2answers
355 views

Apache rejecting connections (for high number of connections from the same ip)

I'm doing some load test over a LAMP server, but for very high load (high number of connections) tests the it stats to refuse the connections. What I must do for allow all the incoming connections ...
0
votes
1answer
144 views

Script to search out outdated/insecure OSS LAMP applications on web server

Some time ago I ran across a script that reported outdated/insecure versions of Joomla, Drupal, WordPress, OS Commerce, etc on a server. It did this by traversing the file system and looking for ...
2
votes
2answers
278 views

How to run rails and LAMP simultaneously on ubuntu?

I just set up a virtual machine running Ubuntu Server, with a LAMP stack and OpenSSH installed. What now would be the best way to enable that server to run both rails and PHP applications? Would it ...
1
vote
0answers
354 views

Can I run Zend Server along with already-installed LAMP Stack?

I already have Apache2+MySQL+PHP installed and am using it on Ubuntu Linux. I would like to test out the Zend Framework installation bundled with Zend Server, since the server is supposed to be ...
1
vote
1answer
1k views

Outgoing mail from linux not being delivered

I can't seem to send mail through my php scripts or through the linux console on my Centos 5.5 LAMP server, when the email is addressed to go to a domain that is hosted by my box. I think it is ...
-1
votes
2answers
140 views

What configurations need to be set for a LAMP server for heavy traffic? [closed]

I was contracted to make a groupon-clone website for my client. It was done in PHP with MYSQL and I plan to host it on an Amazon EC2 server. My client warned me that he will be email blasting to about ...
-1
votes
2answers
3k views

How to see PHP error stack trace/dump?

Currently my web application can print error when host on my local machine. When I host it on Amazon EC2 server. The error page is empty/blank. I want to see the error stack trace when run on EC2, ...
0
votes
3answers
62 views

Yum update on LAMP

When I do a yum check-update on my server I get packages like php which I haven't dared to update. I'm wondering whether it would be safe to update these on my production server (I do have a backup ...
0
votes
1answer
95 views

Replicating Linux production environment locally on Mac

I have a remote CentOS server and i want to recreate, as close to possible, this environment locally on a Mac currently acting as a fileserver to our office to provide a development environment that ...
0
votes
0answers
195 views

PHP potential issues with compiling 5.3.8 extensions against RHEL 6 / CentOS 6 PHP 5.3.3 package

I'm working on getting a Red Hat 6 LAMP server going and while the PHP that comes with it has many extensions we use, it doesn't have all of them. To solve this, I was thinking about either ...
3
votes
4answers
4k views

.htaccess RewriteCond for REMOTE_ADDR while behind Load Balancer?

I have a web server behind a load-balancer. I need to add a conditional redirect to my .htaccess in order to display a maintenance page whenever we take the site offline for maintenance. This part is ...
-3
votes
2answers
102 views

Is it enough just to install LAMP? [closed]

I use yum to install LAMP on Centos, like this: yum install httpd mysql mysql-server php php-mysql chkconfig --levels 235 httpd on chkconfig --levels 235 mysqld on service httpd start service ...
0
votes
1answer
765 views

/var/www/ downloads php files instead of viewing them in browser [duplicate]

Possible Duplicate: My php homepage downloads index.php instead of being processed on Gandi.net hi im a newbie with servers so thats why i come here with my prob hoping you can help me. so ...
0
votes
1answer
178 views

whats next? After setting up CentOS 6 x64, I need to set up a web user I can SSH/sFTP in with

I just finished doing a LAMP install on a CentOS 6 x64 install. I have had LAMP server before this one, and I would always ssh into the server as root but i'm trying to make a production environment ...