Questions tagged [php5]

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

PHP 5.6 on MacOS 10.13 High Sierra - suddenly stops working - libcrypto issue

I had configured my Mac Pro running 10.13.6 (High Sierra) with the Server.app to use php5.6 (installed with Homebrew) and it was running fine some years now and then, suddenly, (probably after a power ...
0
votes
0answers
19 views

Add php7 support on existent Windows installation Apache2.4 and php5.6

I have a Windows server running Apache 2.4 and PHP 5.6 and I'm like to add PHP 7 to have two version on same server. PHP 7 must be run on specific alias. Here my error End of script output before ...
0
votes
1answer
41 views

Apache 2.2.15 possible security risk?

I have an old server that is running a webshop in production. It is running CentOS / Apache 2.2.15 and PHP 5.3 (Build 22 Mar 2017). Are there any security risks associated with this setup? I have ...
0
votes
0answers
102 views

Checking php configuration

One of our ticketing systems uses php as the application and it is being hosted with httpd. Recently, it has been reported that the httpd service has been intermittently going up and down. From ...
0
votes
1answer
794 views

Why returns apache a http 500 but does not log any errors?

On a 12 year old (web) server is still 1 old (custom) PHP application hosted. We want to shutdown this server and remove it from the rack. Unfortunately we still need the application, is not actively ...
0
votes
1answer
51 views

nginx + php 5.6 serving empty pages, can't find error log

I have accidentally hosed a VPS which was hosting a website using nginx and PHP 5.6, and I'm attempting to recreate things on a new server running Ubuntu 18.04 (previous one was 12.04 - upgrade failed ...
0
votes
0answers
363 views

PHP Warning: PHP Startup: imagick: Unable to initialize module

I am getting following error when installed with lib imagick, but able to see the imagick module. Could you please check and help to resolve the issue without uninstalling the imagick module. Thank ...
1
vote
0answers
29 views

install php5 but keep php7

I have upgraded, built a new one, my server (Ubuntu 18.04.6) which is running PHP Version 7.2. I would like to install PHP5 and keep PHP7 and have the option to switch back and forth. Have a site that ...
-1
votes
2answers
542 views

crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash function [closed]

I'm getting the following password error. I have PHP 7.2 variant(to php version 5.5 does not appear to me this problem ), the following code : function make_key($length) { $valid_chars = '...
2
votes
1answer
113 views

How to compile PHP 5.3 and PHP 5.4 release x64 with Visual Studio 2008 SP1? [closed]

I have successfully compiled Apache x64 then I use PHP 5.3.29 and 5.4.45 release x86 on it and get error that DLL files are not a valid Win32 application. I installed Visual Studio 2008 SP1, Visual C++...
0
votes
0answers
403 views

PHP FPM Very slow after some 20-30 minutes works after reload/restart (on high traffic website)

PHP is running very slow like loads forever. Below is the www.conf file values ; The number of child processes to be created when pm is set to 'static' and the ; maximum number of child processes ...
0
votes
1answer
205 views

Issue with configuring php-fpm mod proxy on centos 6

I'm configuring PHP_FPM on a Centos 6 distribution. I'm using php 5.4.45 and apache 2.2.15 and the "mod_proxy.so" to call the socket. But with the following Vhost and php-fpm configuration I still get ...
0
votes
1answer
511 views

Windows Server 2008 R2 + Apache 2.4 - Constant crashing with Faulting module name: ntdll.dll

Windows Server 2008 R2 Datacenter Edition 64 bit Using AWS EC2 m1.xlarge instance 15GB RAM , 4 vCPUs Intel Xeon Problem: crashing every 10 secs / every minute / sometimes 1 hour / randomly WINNT ...
0
votes
2answers
596 views

web server keep yelling pdftk not found

The original error message is sh: 1: pdftk: not found That obviously leads to this. This is not the first time i encounter this issue, and I am sure that it's not the pdftk or php-pdftk. Here is ...
-2
votes
1answer
9k views

How to install php 5 on Debian 10? [closed]

I need advice how to install php5 on this os. There is only php7 package available, but for my system php5 is required.
1
vote
0answers
316 views

php-fpm using more memory than mod_php

I recently moved a PHP5 application from Apache 2.4 + mod_php to Apache 2.4 + php-fpm. Apache is configured to proxy all *.php requests to php-fpm over Unix Domain Sockets. The application required ...
0
votes
0answers
1k views

SQLSRV PDO driver on PHP 5.6 with Docker

I am trying to move a legacy application (CakePHP 2.5.5) running on PHP 5.6 to a Docker container but I can't get the PDO driver for Microsoft SQL Server to work. I have been searching around for ...
0
votes
3answers
1k views

PHP is stopping a web-based script after 60 seconds

I'm working in a Bitnami installation of Apache2 and PHP (5.6) and we have trouble with a script that's taking longer than 60 seconds to complete. This script in question is failing after 60 seconds, ...
1
vote
0answers
270 views

Error “undefined symbol: mysqlnd_connect”

I am building a VM to develop an existing PHP 5.6 application using Vagrant 2.1.2. My VM operating system is Ubuntu/Bionic64. This app requires the mysqli extension with mysqlnd, among other packages ...
0
votes
1answer
429 views

PHP 5.6 with Debian 9 -> mysql connection

I created an debian 9 machine with ISPConfig - standard stuff (after this tut: https://www.howtoforge.com/tutorial/perfect-server-debian-9-stretch-apache-bind-dovecot-ispconfig-3-1/ ). Comes with PHP ...
0
votes
1answer
2k views

Unable to enable mpm-event in httpd | centos 7

I am kind of new to mpm and all so please don't mind. I have a web server running 8 websites (php based) on it. And my RAM usage goes over 90 % and the swap usage goes over 80 %. And when i check ...
-1
votes
2answers
781 views

PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/xsl.so'

I'm getting an error whenever PHP (5.6) is starting from the command line (and crons) : PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/xsl.so' - libexslt.so.0: ...
0
votes
1answer
671 views

Laravel Forge: Unable to create AWS EC2 instance in London Region

When I try to create a server on Laravel Forge for AWS in the London region I get the following error message: Whoops! There were some problems with your input. The server provider was unable ...
0
votes
1answer
1k views

Ubuntu 16.04 - Purge php completely but still shows PHP 5.4.15 (cli)

I want to purge PHP completely from my Ubuntu 16.04. I have did all the stuff to remove PHP which as below, sudo apt-get purge "php*" sudo apt-get purge "^php.*" sudo apt-get purge "^php*" sudo apt-...
-1
votes
1answer
1k views

Using htaccess change the website default index file from root folder to sub folder, site other pages should still work from root folder

Using htaccess how to change the PHP website default home page ie index.php file from root folder ie "html" to sub folder(say it 'subfolder') but site should still work as before ie the home page will ...
0
votes
1answer
366 views

WAMP Stack/Silverstripe, High TTFB but fast PHP execution? Where can I look for answers?

My production server is Windows Server 2012 R2, Apache 2.4, PHP 5.6, and MariaDB (unsure of version, probably irrelevant). I have a customized site running on Silverstripe 3.5. Lately, I'm getting ...
-1
votes
1answer
147 views

Will apt-get upgrade modify symlinks? For example libphp7 symlinked instead of libphp5 under /etc/alternatives

I performed sudo apt-get upgrade. $ sudo apt-get upgrade After the upgrade, I noticed some php 5.7 files and folders in the etc directory For example: I saw /usr/bin/php7.1 and /etc/php/7.0, 7.1, 7....
0
votes
1answer
1k views

Difference between php5_module vs mod_php5

I am using remi's php repositories to use php5.6 in parallel with php 7, and so my apache config file /etc/httpd/conf.modules.d/10-php56-php.conf is like so: <IfModule prefork.c> LoadModule ...
0
votes
2answers
542 views

Why is Phplist responding with 500 Internal Server Error?

I just did a fresh install of phplist, but when I attempt to access it in my browser, I get an empty page with status code: "500 Internal Server Error" I'm running CentOS 7 and Phplist is being ...
0
votes
2answers
2k views

Apache 2.4 with PHP-FPM 5.6 on Centos 6

I'm trying to get PHP working over FPM on Centos. On the FPM side, /etc/php-fpm.d/www.conf is pretty much the default values. I'm left it using a TCP port as follows (I may want to change to a file ...
0
votes
0answers
84 views

Wordpress and PHP Version Upgrade issue

I am running PHP Version 5.6 on my Ubuntu 14.04 Server. /home/ubuntu# php -v PHP 5.6.36-1+ubuntu14.04.1+deb.sury.org+1 (cli) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) ...
0
votes
0answers
585 views

Can't handle PHP sessions in more than 1 apache virtual host

I have 2 cloned instances in AWS with Ubuntu 16, Apache 2.4 and PHP 5.6. I configured each with 2 virtual hosts (plus the default) with the same configuration (different names obviously): Define ...
1
vote
1answer
746 views

core_output_filter: flushing because of FLUSH bucket - why am I seeing this in Apache error log?

Does anyone know why do I keep seeing core_output_filter: flushing because of FLUSH bucket in my Apache 2.4.7 (Ubuntu) error log and what does it mean? I haven't noticed any problems so far, but it ...
0
votes
3answers
482 views

unable to execute php files in google cloud service

Here is my site link and when i try to login then in network the response i get is the whole login.php code instead of the response after executing the php file. My app.yaml file is correct i have ...
-1
votes
1answer
2k views

Apache Timeout directive correct but requests never timeout (not working)

I am having trouble getting Timeout directive to work, I have reproduced the issue in the below instructions and official Docker container. The server is using the standard MPM prefork model with ...
0
votes
1answer
1k views

sendmail stripping From: address for apache www-data@localhost sent PHP mail()

I am setting up a Science Fair in a Box server that uses apache2, PHP5, and sendmail (although we've uninstalled sendmail and installed postfix with no change in problem ) to send participants their ...
2
votes
1answer
574 views

Am I missing a step in imagick php installation on Docker?

I have the following in a Dockerfile for a container running PHP5.x: RUN apt-get install -y php5-imagick libmagickwand-dev libmagickcore-dev RUN pecl install imagick RUN echo "extension=`php -i | ...
1
vote
1answer
187 views

Bad response when try install opcache

I have problem for install zendopcache I try 1 time and other and always have the same result i don´t know what it´s bad because this can install with php 5.6 , thanks and also i delete and clean yum ...
0
votes
1answer
693 views

SSL Version and Open SSL version are different in ubuntu 14.04 with php version 5.6 [closed]

I see the different versions on running this terminal echo '<?php phpinfo(); ?>' | php 2>&1 |grep -i ssl Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv2, tls, ...
3
votes
1answer
2k views

Getting HTTP/2 Working on Apache 2.4.29 on Debian 8

I am trying to update my apache2 (Apache/2.4.29 (Debian 8)) server to support http2 but after enabling http2 with following code, it does not work because of mpm_prefork does not support http2 <...
0
votes
3answers
762 views

RHEL 7.4 PHP Multi-versions

I have an RHEL 7.4 Server that currently hosting few web apps, one of these apps requires PHP Version <= v5.6 I'm going to add a new app that requires PHP version>=v7 Can I combine both these ...
0
votes
0answers
179 views

PHP.ini override isues on CentOS 7 / PHP 5.6

I wanted to increase my servers upload_max_filesize, so I downloaded the PHP.ini file from /etc/ made the change locally and then uploaded the file via FTP. During the upload the FileZilla mentioned ...
1
vote
1answer
120 views

PHP 5.6 on Ubuntu 16.04 keeping official PHP 7.x

I added the Ondrej repository ( http://ppa.launchpad.net/ondrej/php/ubuntu/ ) on a Ubuntu Xenial virtual machine, to add PHP 5.6. It works flawlessy. I noticed that this repository includes updates ...
0
votes
1answer
327 views

How to configure nginx to serve one site from two different document root and using different php depending on URL

I'm trying to configure nginx to use two different document root depending on url, so if some one connects to www.example.com will get site from /portal/public_html but if client connect to www....
0
votes
1answer
856 views

Apache X-Forward-For on https

I have a load balancing IP in front of 2 apache servers On the backend servers I'm using Apache 2.4 with mod_remoteip enabled to retrieve the real client IP which is working so long as the request is ...
4
votes
0answers
2k views

Hostname provided via SNI and HTTP are different (AH02031 and AH02032 ) Error

I am using Apache 2.2 webserver on ubuntu Aws instance. My website goes down with below errors on error log, [ssl:error] [pid 46283] AH02032: Hostname provided via SNI and hostname provided via ...
7
votes
3answers
11k views

Reconfiguring PHP 5.6 to run on MacOS 10.13 High Sierra

I need to get PHP 5.6 running on a Mac that had to be updated to 10.13. So I reinstalled 5.6, verified its location, and added it to httpd.conf: LoadModule php5_module libexec/apache2/libphp5.so ......
0
votes
2answers
142 views

How many users can my server take? [duplicate]

I was told to switch to nginx or at least to mpm_worker. But really, how can I estimate if my server is not really overloaded even with mpm_prefork? My system is: GCP 1 CPU + 3,75GB Debian 8 Apache ...
3
votes
2answers
6k views

server reached pm.max_children setting (280), consider raising it

PHP-FPM process getting crashed in every few days due to reached pm.max_children, I have to manually start it to make the site up. Server Configuration: Total Memory: 7986M CPU: 2 Core 1 PHP ...
0
votes
0answers
273 views

Why my apache server keep on stopping?

My apache server keep on stopping. If i restart it will work for 5-6 hours again it goes to down. These are system and apache configuration details. Apache : 2.4 version PHP : 5.6.30 System ...

1
2 3 4 5
18