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

-3
votes
0answers
25 views

PHP zend_Operator.h compile error

I am trying to configure and compile PHP-5.5.19 and I keep getting compile errors to get a web server running on my Oracle M4000 running Solaris 10. I have apache2 running as well as MySQL. The ...
1
vote
1answer
24 views

Postfixadmin does not work after update “Cannot redeclare hex2bin”

I had recently updated my Debian wheezy (7.7) and forgot to check all systems after that. So, I can't really say what the versions were before I upgraded or at which point it broke. When I tried to ...
-2
votes
2answers
49 views

How do i install another version of PhP?

I would like to have installed WHMCS on my dedicated server. (I already have installed apache2) How do I install PhP 5.4 as WHMCS not support PhP 5.5? WHMCS System requirements: ...
0
votes
0answers
46 views

Mcrypt PHP extension fail on PHP 5.5 Amazon Linux

I'm installing laravel framework on my Amazon Linux Server, But once i compose and Laravel finish installing, laravel ask for Mcrypt PHP extension. then when i try to use command line to install ...
0
votes
1answer
65 views

how to create multiple sub domain in local host? [closed]

Using nginx and php I need to create multiple sub domain in local host. How i can make it happen? I am using ubuntu 12.04 andphp5 withnginx as webserver. i Have tried *.servername.com in my ...
0
votes
2answers
56 views

upgrading php 5.3.6 to 5.5 in ubuntu 12.04 LTS requires removing mysql?

I'm trying to upgrade php to latest version (5.5) my current php version is 5.3.6 bundled with ubuntu 12.04 LTS. The problem is I do not want to upgrade anything else just php but although I ...
0
votes
1answer
53 views

Can I compile PHP 5.2.17 on CentOS 6.5, then copy it to a similar server?

I have two CentOS 6.5 VMs/servers with Plesk 12 installed on both. On on of these servers, lets call it server 1, I have compiled PHP 5.2.17 - yes I know this is old etc. however two sites I host ...
1
vote
0answers
26 views

How to build PHP 5.5 with FastCGI?

I need to build my own PHP binary under Unix (because I need some SGBD option, that's an other problem). Currently my Apache server is linked to PHP throught CGI, but I read that it's not the ...
-5
votes
1answer
239 views

php5.6.2 installation with httpd24 ( apache version 2.4.10 ) on centos/rhel [closed]

using this repo : http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm for php installation , and for apache i am using amazon linux repo current ...
1
vote
1answer
56 views

Why was an older version of Nginx installed?

I installed Nginx and PHP5-FPM and have it all working, but I noticed that I have Nginx 1.2.1 installed and not the most recent stable version (1.6.x). I also noticed that PHP-FPM had PHP 5.4 and not ...
0
votes
1answer
97 views

Nginx virtual host servername, root

I installed nginx-1.6.2,2 on FreeBSD-9.2-RELEASE-p5 and here is my configuration: # tail -2 nginx.conf include _includes/*.conf; } # cat _includes/XXX.conf server { server_name XXX; root ...
0
votes
0answers
92 views

Creating /ping and /status pages on servers running PHP fastcgi (Not PHP FPM)

I have created /ping pages in the past for use with EC2 and ELB health checks with PHP FPM but not with Fastcgi. I have an autoscale setup which uses a semi pre-built Turnkey Linux PHP fcgi and nginx ...
1
vote
2answers
112 views

Nginx server block not working

Disclaimer: Just to clarify, I'm completely new to Linux, but I've configured everything via google searches and personal research. I've got a Debian Wheezy server with LEMP stack that I intend to ...
0
votes
0answers
42 views

file_get_contents extremely slow when executing on IIS 7

I just installed IIS with PHP on my Windows Server 2008 R2, and I've noticed when using PHP's file_get_contents() function, it loads extremely slow (7+ seconds). echo ...
1
vote
1answer
625 views

Upgrading to PHP 5.6 using Yum (REMI repo)

I would like to ask how to upgrade to PHP 5.6 on my CentOS machine using Yum + REMI repo. For example, I already use the REMI repo for everything. Now, after I change this line in ...
1
vote
0answers
25 views

Does OPcache work when PHP is running in CGI mode?

Does PHP 5.5s OPcache work with PHP running in CGI mode? Or does that even make sense, since it forks and kills PHP for each request?
0
votes
1answer
51 views

Pass PHP5-FPM errors back to error page script? [closed]

My nginx has an error_page setup that throws 500 errors to a PHP page. I wish to display/log any PHP errors that cause this error page to show. When I say display, I mean show in-browser depending on ...
0
votes
0answers
73 views

php-mysqli extension fails as compilation

When I am trying to build the latest php5-mysqli port I get the following errors back: cd /usr/ports/databases/php5-mysqli && make MAKE_JOBS_UNSAFE=yes install clean ...
0
votes
1answer
86 views

Trying to install php5-fpm on Ubuntu 14.04, getting error

I am trying to install php5-fpm on Ubuntu 14.04 but I get an error I've never gotten before. E: Package 'php5-fpm' has no installation candidate
1
vote
0answers
58 views

How can I stop IIS 7.5 adding it's own redirect HTML to one issued by PHP?

I have an IIS 7.5 server configured with PHP 5.4.5 running through FastCgi. PHP is configured to return gzip encoded data if the client supports it. My problem is when I issue a 303 See Other header ...
0
votes
1answer
33 views

Apache “No such file or directory” doesn't give me a file name

I'm using an Apache / Ubuntu config. After installing php-gd library, I am getting error messages in my /chroot/httpd/var/log/apache2/error.log file (/chroot/httpd/ being the "jail" in my chrooted ...
1
vote
2answers
23 views

fractions Display Error

I migrated my website to new server. However, i got the error with fractions Display. Here is the error: On the old server: I installed the same extensions for php. What am I missing? Thanks. ...
0
votes
0answers
102 views

OpenSUSE/apache2/ispconfig3: phpMyAdmin is downloading php files instead of executing

I am currently running OpenSUSE v12.2 x84_64 with Apache2 and ISPConfig3. I am also running php5. when trying to visit: http://localhost/phpMyAdmin My web-browser is downloading the *.php files ...
1
vote
1answer
189 views

Batch MySql script stopped with error “(104)Connection reset by peer”

On my site I start a script that executes a batch process that imports into the Mysql database a lot of products (texts and images). I'm monitoring the query process from Phpmyadmin>Status and I ...
0
votes
1answer
102 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
120 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
27 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
1answer
233 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
268 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
34 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
102 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
149 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
369 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
328 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
248 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
470 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
55 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
1answer
87 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
123 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
439 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
27 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
120 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
282 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
131 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
351 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
119 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
200 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
281 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
395 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
67 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 ...