Questions tagged [php]

PHP is a general-purpose scripting language that is especially suited for Web development. The online manual is an excellent resource for the language syntax and has an extensive list of the built-in and extension functions. Most extensions can be found in PECL.

PHP is an open-source general-purpose scripting language that is suited and popular for server-side Web Development. There is an excellent online manual and a wiki. The online manual is a complete reference for syntax, built in functions, and extensions. There are lots of extensions for PHP that most of them can be find in PECL.

If you want to post a question in PHP, check the error log or if errors are enabled, enter them from output of your script if any.

7887 questions
2
votes
2 answers

Lighttpd and PHP generates error "No input file specified" after server.document-root is moved

I would like to use Lighttpd and PHP to provide a lightweight standalone web server on Windows. I downloaded all the latest builds yesterday and after an hour everything was working fine. Today, I changed server.document-root from server_root +…
Larry
  • 235
  • 1
  • 3
  • 10
2
votes
3 answers

Memcached Debuging/Server Logs Monitor the Memcached Servers?

I have chat engine which is based on the Memcached variables, putting them into arrays and reading them in other end via jquery, which works fine 95% of the times, however when the server load is high memcached (presume its the memcached) the crash…
mahen3d
  • 4,342
  • 14
  • 36
  • 57
2
votes
2 answers

Send Emails via Google Apps Gmail Services Outage?

I built and administer large web application which uses the PHPMailer library to send emails via a Google Apps Gmail account. I have received a support request stating that an individual was not receiving a password reclamation email that he had…
Oliver Spryn
  • 172
  • 3
  • 13
2
votes
1 answer

MySQL: 5000 core users, 2GB Table Heavy Write / Read: How to Prevent Crashing

This is a controversial issue for sure, since many might want to recommend the simple things right away, like: Split up the tables! Split up the read/write into master/slave configurations! Amp up the server ram! And so forth .... let me explain the…
James Stone
  • 121
  • 1
2
votes
1 answer

Apache : with Googlebot connections, a single process takes all server memory

Following https://serverfault.com/questions/418735/unbelievable-issue-a-single-apache-process-takes-4-gb-of-memory I post as a new question because I was able to identify the fact that it happens when the client connecting is Googlebot. By "it", I…
db_ch
  • 648
  • 5
  • 14
  • 21
2
votes
2 answers

Apache2: Server reached MaxClients setting, consider raising the MaxClients setting

I'm encountering issues on a dedicated Ubuntu 12.04 LTS (Apache/2.2.22), PHP 5.3 with APC. Every few hours I see this happen: [Fri Aug 17 15:36:51 2012] [error] server reached MaxClients setting, consider raising the MaxClients setting This causes…
Ian
  • 335
  • 1
  • 3
  • 19
2
votes
2 answers

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 seperate box. Last couple weeks, performance has…
Ryan
  • 53
  • 1
  • 5
2
votes
5 answers

Update to recent stable php in Ubuntu 12.04

We run an Ubuntu 12.04 server where php 5.3.10 is installed by default. I thought Ubuntu did only apply bugfixes in their updates, so micros like 5.3.x should pass through. Apparently, our version isn't updated, but we are stuck with a critical bug…
Jurian Sluiman
  • 291
  • 1
  • 6
  • 17
2
votes
1 answer

Optimising PHPMyAdmin configuration for massive databases and many tables

Developers require database access to a significant number of databases, each with 220+ tables, and currently they are provided this using phpMyAdmin 2.11.9.5. Initial load is very slow, puts some load on the database cluster beneath, and runs lots…
Andy
  • 5,230
  • 1
  • 24
  • 34
2
votes
3 answers

PHP unlink() deleting file user has no permission to

A bit of a long shot here but thought I'd see if anyone had a fix for this: I am having an issue whereby the PHP function unlink() is being able to successfully delete a file even though explicit deny NTFS permissions have been applied to the file…
2
votes
1 answer

nginx - serving static files, invoking PHP instead

I'm having a problem migrating a website from Apache to nginx. Most of the things work fine, I just have a very specific problem with some static files here. In the docroot of the server, a phpBB is installed, and the .css files from the theme are…
jhoffrichter
  • 121
  • 1
  • 6
2
votes
1 answer

.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 $ cat test.html
dotancohen
  • 2,590
  • 2
  • 25
  • 39
2
votes
1 answer

Trying to install phpmyadmin on centos - mysqli missing

Here is the error I get when trying to open my phpmyadmin directory: phpMyAdmin - Error The mysqli extension is missing. Please check your PHP configuration. I have done the steps in the following…
funerr
  • 121
  • 1
  • 1
  • 6
2
votes
2 answers

Wordpress crashing, Apache restart fixes it temporarily

I have a weird issue with Wordpress which I can't figure out how to solve. About a month ago I switched servers and carried my Wordpress files and databases from the old to the new. At the time, I had the old version of Wordpress, the one previous…
pek
  • 257
  • 5
  • 17
2
votes
3 answers

Can you have multiple PHP 5.x versions with cPanel 11.3x?

I've been Googling around for a while on this one but I haven't found a good answer yet! Is it possible to set up cPanel 11.3x so that it can run different versions of PHP 5.x (e.g. 5.2, 5.3 and later on 5.4) for each of the configured apache vhosts…
BeesonBison
  • 177
  • 7
1 2 3
99
100