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.

learn more… | top users | synonyms

0
votes
0answers
3 views

Need to Run PHP 5.5 on a specific directory

I have PHP 5.3 installed on Zend Server in my machine. I am using Windows 2008 server R2(64 bit). But i need to run PHP 5.5 on a separate directory to run a bdd tool called codeception. How it can be ...
-1
votes
0answers
11 views

Enable fileinfo module on php 5.3 [on hold]

I'm currently using a shared host, which has disabled fileinfo module during their php installation. Given the fact that I cannot reinstall php on the server, is there any way I can use fileinfo ...
-1
votes
0answers
21 views

webserver made http request repeatedly [closed]

here are what my php scripts, lets call it script1.php do (in order) executes a MySQL select query (query1) store that query1 string into a log executes a MySQL select query (query2) store that ...
0
votes
1answer
32 views

atomic deployments with Nginx and PHP FPM

I'm trying to get atomic deployments, I don't want to lose/drop any requests. I deploy the code using Capistrano, classic situation were you have a 'current' dir that is a symlink to the latest ...
1
vote
1answer
52 views

PHP 5.5 on Ubuntu with php-mcrypt: Unmet dependencies

I have an ubuntu server running with PHP 5.5 $ php -v PHP 5.5.3-1ubuntu2 (cli) (built: Oct 9 2013 14:49:12) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend ...
0
votes
1answer
24 views

How to test if a particular version of php executable is available on a server?

An automatic upgrade Bash script requires PHP executable 5.3+, how do I ensure that is the case in the upgrade script? I'd like the script to quit and generate some message into the log when php 5.3+ ...
0
votes
0answers
40 views

How can a bog-standard Wordpress install break PHP?

I'm trying to host a Wordpress site on the root of a standard Apache setup on Ubuntu 14.04. The main page of the site loads fine, but any other page causes a "no data received" message in the browser, ...
0
votes
1answer
25 views

Centos and PHP 5.4+

I am a web developer and I am looking to start my next (Rather huge) project using a PHP framework called Laravel, which requires at a minimum PHP 5.4. Currently, on my company's web server we run ...
0
votes
1answer
32 views

What is the name of this “security leak finder” application?

They said that there were some vulnerabilities, and then pointed these results: What is the name of this application?
-1
votes
1answer
59 views

How to upgrade a Forge provisioned Digitalocean server to php 5.6?

I'd like to upgrade the php-version from 5.5 to 5.6 on my digitalocean-boxes that I provisioned with Forge in the previous months. Can this be done simply by executing sudo apt-get upgrade php5?
0
votes
0answers
40 views

process /var/www/cgi-bin/cgi_wrapper/cgi_wrapper(53573) exit(lifetime expired), get unexpected signal 6

after a plesk update i see the following errors in my logfiles and cant find out what the issue is.. can someone help me? i use OS: CentOS 6.5 (Final) and Plesk version: 12.0.18 Update #14 , [Wed ...
0
votes
2answers
139 views

PHP stopped working after upgrading from 5.3 to 5.5 using PPA

I had PHP 5.3 working on an old server that my company uses. I have PHP 5.5 working on my AWS server. Both of the servers are Ubuntu. My application is working fine on my AWS server. But when I ...
1
vote
2answers
90 views

PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/apc.so'

I have updated my php from 5.3.3 to 5.4.31. I have a Debian 6 Squeeze. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/apc.so' - /usr/lib/php5/20100525/apc.so: ...
0
votes
1answer
62 views

Centos 6.5 — backported upgrades/php.ini directives included in php 5.3.3

PHP 5.3.3 is the latest version of PHP available with the official CentOS 6.5 repos. As most of you know, calling it version '5.3.3' is slightly deceptive because critical bug fixes are actually back ...
1
vote
1answer
69 views

ubuntu 12.04 apt-get purge php5 doesn't seem to remove php5

I recently made the mistake of upgrading to php5.5 without reading more up on it. It obviously broke my install of apache2.2. I'm in the process of trying to downgrade back to php5.3 or preferable ...
0
votes
1answer
42 views

Apache process seems to die every hour

Background: I have a very old site running on a very old VPS, a very old Apache and a very old PHP that I can't upgrade because it's a very old CentOS machine. It's an up-to-date WordPress site that ...
0
votes
0answers
52 views

Why am I getting 405 errors after swappinng domain names?

I had oldsubdomain.xxx.com. Everything was working fine. Windows 2008 R2 IIS 7.5 running php sites. Also had SSL running and used for all sites. So I needed to change to newsubdomain.xxx.com. ...
-3
votes
2answers
81 views

Junk characters is added to the end of php-files [closed]

I have problems with the latest version of phpmyadmin. It seems that "something" is adding junk characters at the end of the php-documents. I'm 110% sure that all files is in UTF8-format (without ...
1
vote
0answers
143 views

Strange requests with wrong server_name and port 25 in apache / php

If I try to telnet [myserver.mydomain.com] 25 I get Trying [ip number]... telnet: Unable to connect to remote host: Connection refused but still I get strange requests such as the following ...
0
votes
1answer
21 views

weird characters being appended to requests

I am running apache2 with php5, wordpress and getting this weird thing where symbols will append to the end of a jqeury request and then quotes on the other pictures. If I clear my cookies it fixes it ...
0
votes
1answer
57 views

Upgrading PHP 5.2 to PHP 5.3 on EC2

I am a HUGE novice with this, and I have spend a whole day and a night trying to fix this. I know this has been asked before, but I have tried everything in those answers as well as from all over the ...
0
votes
1answer
76 views

setting up snort 2.9.x with barnyard2

These how to guides on the interent are outdated also the software it is relying on is not up to date with PHP5.5. I have done some hacks with ACID and ADODB to make part sof the gui to work. I have ...
0
votes
1answer
66 views

Can't install php-mysql module

First time using php 5.5 and well I'm getting a lot of headaches. I can't install php-mysql, I get the following error: Error: Package: php-mysql-5.4.30-1.el6.remi.x86_64 (remi) Requires: ...
0
votes
2answers
207 views

Unable to install anything on my aws lamp ubuntu server

I am trying to install unzip and vsftpd on my lamp server on my aws instance, but attempting to install anything results in the following error: $ sudo apt-get install vsftpd Reading package lists... ...
0
votes
0answers
83 views

Memcached problems since upgrade from Ubuntu 12.04 to 14.04

I recently migrated to Ubuntu 14.04 with a Webprojekt (nginx,PHP5,MariaDB,memcached). All configs are exactly the same. But the cached sites sometimes don't load properly. I enabled the verbose mode ...
1
vote
0answers
153 views

Can't seem to install pdo-mysql extension on RHEL6 server

I'll try to be clear, I don't have a lot of server experience, but I'll tell you what I know: I'm trying to install Magento on a site, but I kept getting an error, after looking at the error logs, ...
0
votes
0answers
147 views

Siremis login say: can't open cmp file to write

I am installing siremis-4.1.0 on CentOS 6.5. I can configure Siremis. But when I pressed Siremis Launch button. My browser said: "can't open cmp file to write". My SELinux: # sestatus SELinux ...
1
vote
1answer
176 views

nginx 404 instead of 403 for empty directory

I have the following config for my nginx server: server { listen 80 default_server; server_name example.com www.example.com; root /var/www/example.com/web; index index.php ...
0
votes
2answers
47 views

How to restrict access to root to daemon user?

I have Apache 2.4 with PHP 5.5.14 installed on latest Debian. According to Apache security tips&tricks I've set my httpd.conf to this: <Directory /> AllowOverride none Require all ...
0
votes
1answer
43 views

PHP in apache2 doesn't write to database

I decided to reword and improve previous question which I closed, because it got pretty bad score and got burried because of that. So, I installed few days ago an Ubuntu 14.04 on my VPS (had 12.04 ...
0
votes
1answer
277 views

Wordpress site has repeated PHP out of memory error despite increasing PHP memory limit and confirming no RLimitMEM

Nearly every 4 minutes, I'm seeing the following out of memory error in the php error log: 01-Jul-2014 21:50:03 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to ...
0
votes
0answers
57 views

install ImageMagic library to php

When i try to sudo pecl install imagick i get this message: Can't find PHP headers in /usr/include/php The php-devel package is required for use of this command. ERROR: `phpize' failed And sudo ...
0
votes
0answers
162 views

APCu - NO HIT and / or MISS. What am I missing?

I just installed php-pecl-apcu: # yum info php-pecl-apcu Loaded plugins: amazon-id, priorities, rhui-lb 4 packages excluded due to repository priority protections Installed Packages Name : ...
0
votes
1answer
703 views

Getting “The page you are looking for is temporarily unavailable. Please try again later”

I have a vps running Ubuntu+LEMP+Varnish. Everything was fine untill I updated the server software. Now I am getting "The page you are looking for is temporarily unavailable. Please try again later" ...
0
votes
0answers
22 views

Set up svn for an existing project

I have an existing project "abc" with the path /home/abc. I want to set up a subversion repository in Ubuntu for this project. I have already installed subversion with the help the article "Create ...
0
votes
0answers
12 views

how to deal with php5-fpm variable appended with REDIRECT_

we are using php5-fpm on a debian wheezy (php5.4), since we used fpm (with libmodfastcgi), all variable added to any .htaccess is prepended with REDIRECT_ . is there any tips to avoid that ? thanks ...
0
votes
1answer
626 views

Using Ubuntu 12.04 + Apache 2.4 + Php 5.5 : WebDav Possible

I had ubuntu 12.04 LTS + Apache 2.4 + PHP 5.4 installed via ondrej packages. I upgraded to PHP 5.5, and it seems now impossible to launch webdav extension for apache. The apache mod webdav can't be ...
0
votes
2answers
200 views

Install php53 on CentOS 5.10 without httpd dependency

I would like to install php53 on CentOS 5.10 64-bit without the httpd dependency. The reason being the production server has a custom compiled binary of a newer version of httpd. Is installing php53 ...
1
vote
1answer
2k 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, ...
1
vote
1answer
189 views

Apache missing php module

I installed httpd v2.2.15 and php v5.5.13 via yum. I first noticed the problem when I tried to access my site and it displayed the PHP code. Then I discovered that there is no php module in ...
0
votes
0answers
297 views

Either, nginx+php-fpm bad config or nginx+php-fpm cannot handle high query?

I have wordpress installed in my server configured(hopefully with nginx+php-fpm+mariaDB). I am trying to import using wordpress importer a 1.5MB xml file. Everytime I try to upload it using the ...
0
votes
1answer
67 views

installed libapache2-mod_fastcgi on debian 7 - no php5-fcgi file

So I install Apache2 worker with libapache2-mod-fastcgi (non-free) on my Debian server. I found this snippet from the web, however, I don't have anything in my /usr/lib/cgi-bin/ folder. So how is my ...
0
votes
1answer
367 views

Apache 2.4 with PHP 5.5, LDAP in PHP not working

I'm working with a server running Debian 7.4 and it's currently running PHP 5.5.12 and Apache 2.2.22. I'm attempting to upgrade to Apache 2.4.9 so that I can enable Perfect Forward Secrecy. I ...
0
votes
1answer
368 views

Error compiling PHP 5.5.9 on CentOS 6.5 during make command

Here is the error message: cc: internal compiler error: Killed (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See ...
0
votes
1answer
313 views

Failed upgrade of PHP on Ubunutu 12.04, error: Sub-process /usr/bin/dpkg returned an error code (1)

I just tried to upgrade my version of PHP on Ubuntu 12.04 and now I have messed it up. First I did this: sudo add-apt-repository ppa:ondrej/php5-oldstable Then I did this: sudo apt-get update ...
1
vote
0answers
89 views

SuexecUserGroup not working in Apache 2.4

I have upgraded my PHP from version 5.3 to 5.4 via yum which requires upgrading Apache from version 2.2 to 2.4. After doing configuration, it turns out that the userid and groupid is still using the ...
2
votes
1answer
686 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
51 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
2answers
229 views

Php file are not parsed by fastcgi in nginx

I m new to nginx my server block is server { listen 25552; server_name *.example.com; root /usr/share/myPackage; rewrite ^/$ /index.php permanent; location ~ ...
-2
votes
2answers
377 views

php 5.4 not working after upgrade from 5.3 to 5.4 on centos 6.5 [closed]

Before the update php 5.3.3 worked fine, now the apache offers to download php sites instead of processing them. What I did: I used the REMI repo to get php 5.4 for centos 6.5. I think that all steps ...