0
votes
0answers
4 views

How to configure simpleSAMLphp as an OpenID consumer?

We are using simpleSAMLphp for single-sign-on and would like to authenticate users via several remote OpenID providers. What are the specific attributes necessary, in the authsources.php openid ...
0
votes
1answer
21 views

Pass PHP5-FPM errors back to error page script?

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
21 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 ...
-1
votes
0answers
6 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 ...
0
votes
1answer
26 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
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?
0
votes
2answers
189 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
117 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
23 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
0answers
61 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
1answer
212 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 : ...
3
votes
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, ...
0
votes
1answer
383 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 ...
2
votes
1answer
844 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
52 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 ...
0
votes
0answers
126 views

How to install gearman on Ubuntu12.04 and php54?

I am trying to install gearman on my Ubuntu12.04 machine. I have upgraded php to version 5.4 via the ppa php5-oldstable. I downloaded the source of gearmand-1.1.12 and compiled it and installed it ...
2
votes
1answer
693 views

Unable to install php5.5 apcu module on Debian 6.0 server

Since APC is not supported by PHP 5.5 as an OP code cache I read that I can still use APC for user data which sounds good for me. It's called APCu and it should be compatible with the old APC. ...
2
votes
1answer
346 views

Session variables not persistent in PHP5/Apache2/Ubuntu12

I have a website that uses session variables (in PHP) to know if the visitor is entering the website or not. If he's new, then I redirect him to the detected language. But if he's not new, you let him ...
0
votes
0answers
146 views

Running two different PHP fast-cgi instances on windows with OPCache enabled

I'm trying to run two different php 5.5 instances on Windows (one with XDebug, one without, same php executable, different php.ini files) over fast-cgi in Apache 2.4, ideally both with opcache ...
0
votes
1answer
613 views

Updating php5-mysql for MySQL 5.6 under Debian 7

After a lot of troubles installing MySQL 5.6 for Debian 7 (with ISPConfig) (FYI, I followed this tutorial : http://xmodulo.com/2013/12/upgrade-mysql-server-debian-ubuntu.html) my PHPMyAdmin shows me ...
2
votes
1answer
3k views

nginx / php-fpm error logging

I'm trying to figure out where the PHP errors are going in my setup. I'm running nginx as the reverse proxy to PHP-FPM, but I'm not seeing the various E_NOTICE or E_WARNING messages my app is ...
1
vote
1answer
74 views

PHP MAIL() dsn status

Is there a way to get the dsn status of an email set with postfix, with php mail function or any other library ? . I could parse the log for the id and dsn status, but that won't be quite good for the ...
0
votes
0answers
78 views

nginx + “filename part could not be saved, because the source file could not be read” error?

I am delivering ~ 100-300mb files using the following php code from my nginx setup : header("Pragma: public"); // required header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, ...
1
vote
0answers
1k views

“Cannot allocate memory” Using composer to install composer using fork from laravel git

Whenever I try to install a new laravel project, I receive the following error: PHP Fatal error: Uncaught exception 'ErrorException' with message 'proc_open(): fork failed - Cannot allocate memory' ...
1
vote
4answers
184 views

.php file blank - .php5 files works

I have a problem with a server of mine. I've installed virtualmin/webin on it for administration and I have 1 domain on it. DNS management is external. On this domain I only have an html "Under ...
0
votes
0answers
43 views

apache performance improvements and maxclients

I know this has been asked a few (thousand) times around the internet but I was hoping someone whose in the know might be able to comment on my particular setup. I have a web server hosting one site ...
0
votes
1answer
319 views

PHP loosing connection to MariaDB server each 3 hours

I found my PHP 5.4.20 (from remi repo) on CentOS 6.4 64-bit is loosing connection to my MariaDB 10.0.4 server each 3 hours. I use mysqlclient18 5.5.28 from atomic repo as mysql library. MariaDB ...
0
votes
1answer
419 views

php-fpm unable to restart because of another FPM instance

/etc/init.d/php-fpm restart Stopping php-fpm: [FAILED] Starting php-fpm: [10-Oct-2013 21:24:37] ERROR: An another FPM instance seems to already listen on ...
0
votes
1answer
462 views

PHP thinks date.timezone isn't set

For some reason, even though I've uncommented the line in php.ini and properly set the value to date.timezone = America/New_York, php refuses to acknowledge it. When I open up phpinfo.php it says ...
0
votes
1answer
32 views

Under What Conditions May PHP Server Variables Be Disabled

As per the question: "Under What Conditions May PHP Server Variables Be Disabled". Basically on Shared Hosting I am using I can choose to run my website in 'Apache' or 'CGI' mode. When running in ...
0
votes
2answers
445 views

Apache restart needed after php code change

When I change php code of an application I need to restart apache to make the new code effective. $ sudo apachectl -l Compiled in modules: core.c mod_log_config.c mod_logio.c itk.c ...
1
vote
0answers
163 views

Trying to compile phpredis on a mac using phpize54

I installed php 5.4 using mac port. I then git cloned the phpredis repository ( https://github.com/nicolasff/phpredis ). Then, I execute these commands: phpize54 ./configure make && make ...
-1
votes
1answer
348 views

Ubuntu 12.04 upgrade php 5.4 missing php5-ffmpeg [closed]

I updated php to version 5.4, through the repository ppa:ondrej/php5, but now I can not install the package php5-ffmpeg because it gives me this error: php5-ffmpeg: Depends: phpapi-20090626 also if I ...
1
vote
3answers
346 views

Best way to have both php 5.2 and php 5.3 at the same time in Ubuntu

I am using Ubuntu 12.04. I need (this is not an option) to have both php 5.2 and php 5.3 installed. I think I need to compile 5.2 from source and keep it in /usr/local or make checkinstall. Is there ...
0
votes
1answer
447 views

Phpize: cannot find build files [closed]

I'm getting the following error when trying phpize for Thrift: # phpize Cannot find build files at '/usr/local/lib/php/build'. Please check your PHP installation. I have installed php5-dev. I've ...
3
votes
2answers
913 views

Ubuntu install php5-ffmpeg

When I try to install php5-ffmpeg: apt-get install php5-ffmpeg I get an error: The following packages have unmet dependencies: php5-ffmpeg : Depends: phpapi-20090626+lfs As I understand my ...
0
votes
1answer
3k views

safe_mode problems after upgrade from PHP 5.3 to 5.4 with Plesk 11

I just updated my server (running with Plesk 11) from PHP 5.3 to 5.4 via the dotdeb sources. Everything was fine except a few things. I had to disable all safe_modes in several vhosts. Plesk has the ...
0
votes
1answer
144 views

PHP-FPM Loading Wrong Configuration File

Value of CLI running php --ini Configuration File (php.ini) Path: /usr/local/lib Loaded Configuration File: /usr/local/lib/php.ini Value of phpinfo from my nginx/php-fpm web server page: ...
0
votes
1answer
475 views

suphp error Directory / is not owned by admin

I'm trying to run a test phpinfo page from: /home/admin/testdomain.com But it displays such error: Internal Server Error Directory / is not owned by admin suPHP 0.7.1 My /etc/suphp.conf is like ...
0
votes
2answers
355 views

Cannot install php-intl on CentOS

When I run: yum install php-intl I get this error: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.as29550.net * epel: ftp.nluug.nl * extras: ...
0
votes
2answers
2k 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 ...
0
votes
2answers
242 views

What might be causing this intermittent PHP stalling event?

I wish I could be more specific about this issue and I am really asking for suggestions on where to look next. We are running a PHP web app that is integrated with WordPress and that is serving a ...
0
votes
1answer
114 views

Downgrade php5-cgi using APT on Debian

I have lighttpd install with PHP5.4 installed I need to downgrade it to 5.3.2 (possibly older/newer) but I can't install it I tried this apt-get install php5-cgi=5.3.2 but it says "E: Version ...
0
votes
1answer
1k views

White screen of death with PHP-FPM, no error logged

This is a tale of two different php files. File 1 source: <?php $null->test(); File 1 output: Fatal error: Call to a member function test() on a non-object in ...
0
votes
1answer
101 views

Static file request timeouts unless requested with Internet Explorer headers

We recently had some maintenance done on our development server; we don't know what that consisted of as we do not maintain our servers. Since then we've been experiencing a rash of HTTP requests that ...
1
vote
0answers
467 views

Some (but not all) cron jobs stopped running. Restarting cron fixed it, but what caused it?

I'm running Ubuntu Server 10.04 with a crontab which runs every minute, with a lot of jobs in the file. Each job is a PHP script to be executed. Earlier today, it seems that some (but not all) of the ...
-1
votes
1answer
135 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
1answer
65 views

Switching b/w versions of PHP on a NginX + PHP-FPM Setup

On Apache you could easily configure it through an htaccess file: <IfModule mod_fcgid.c> Action php-fcgi /fcgi-bin/phpcgi-starter-5.3 </IfModule> <IfModule mod_fcgid.c> Action ...
1
vote
2answers
1k views

Install php 5.3.10 in ubuntu 12.04

I have been trying to downgrade the php version from php 5.4 to php 5.3. I tried removing php5, purging php5 and then reinstalling using "apt-get install php5=5.3.6-13ubuntu3.6", but it did not help, ...
0
votes
1answer
321 views

php script killed after 30 seconds and throwing Internal Server Error

I use php_fpm_event on my server and after 30 seconds of execution the process is being killed and I see Internal Server Error. However I've set much larger values: [admin] listen = 127.0.0.1:57797 ...