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
1answer
25 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

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
53 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
20 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
94 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
0answers
17 views

apache2.4 error with php5.6.32 on widows server 2012

in my server windows 2012 i'm using bitnami to host my php application, but my apache server is crashing and restarting and in apache2 log just before the the restarting i have this message : ...
0
votes
1answer
210 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
195 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
4k 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
227 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
32 views

>2gb files get truncated at download by firefox but not w3m (apache/php)

On drupal7 I got private gz files bigger then 2GB which are uploaded with resumable uploads drupal module and they md5sum checks. When downloading with firefox or safari they get truncated to exactly ...
0
votes
0answers
751 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
528 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
196 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
354 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
1k 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
551 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
502 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
778 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-...
-2
votes
1answer
736 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
247 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
77 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
891 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
356 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
441 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
532 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
357 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
790 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
503 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 | ...
0
votes
1answer
175 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
613 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
657 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
151 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
272 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
754 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 ...
3
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
10k 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
108 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 ...
2
votes
2answers
4k 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
220 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 ...
0
votes
1answer
715 views

Suppressing PHP errors with Nginx and php-fpm

Try as I may, I can't suppress error messages from PHP (using php-fpm) being displayed. Relevant files; /etc/php5/fpm/php.ini:display_errors = Off /etc/php5/fpm/pool.d/www.conf:php_flag[...
2
votes
1answer
859 views

Install PHP-Mysql without mariadb-libs

I'm trying to install PHP on my server, running Centos 7.3; I've installed php 5.4, and have MySQL Server 5.6.28 running there too. When I'm trying to install php-mysql, it's trying to install ...
0
votes
1answer
1k views

nginx - cURL retrieves PHP files but accessing via web browser gives source code

I'm having some trouble with nginx. I setup nginx on a Raspberry Pi B+ (Raspbian Jessie) and PHP with FastCGI. When I try using cURL to retrieve pages, it returns the PHP-generated HTML. nginx server ...
0
votes
1answer
603 views

How to setup common php session across multiple servers using redis

We have one main domain and 4 sub domains running different instances and using same remote mysql database server. Some domains using PHP 5.6 and some using 5.5. we want to have our domains sharing ...
0
votes
1answer
599 views

HTTP Post randomly cut (begins with PhpMyAdmin mysterious error)

This is the strangest error I have ever seen. I have a problem with PhpMyAdmin. When I tried to export the database, I got an HTML file with an error message instead an SQL file. The message is: SET ...
0
votes
1answer
86 views

RHSCL - php55-tidy extension not available via RHSCL

Alright, so my high level question essentially is that the php55 tidy extension is not available via RHSCL? I've already setup a new instance of httpd24 & php55 everything on this server is ...

1
2 3 4 5
18