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.
Questions tagged [php5]
865 questions
-1
votes
2 answers
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
1 answer
How to install php 5 on Debian 10?
I need advice how to install php5 on this os. There is only php7 package available, but for my system php5 is required.

Kostya R
- 1
- 1
- 1
- 1
-2
votes
1 answer
Why PHP is not installing in my Ubuntu server and how can I install it now?
Everytime when I try to install php using this command, it shows me "E: Package 'php5-mcrypt' has no installation candidate".
Here is the command below what I used for installing php-
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt

Bangladesh 71
- 101
- 1
-2
votes
1 answer
How can I optimize my web server to run MyBB faster?
I am running a web server with MyBB and Pingdom says it takes 629ms to load my site's index. I was wondering if there is a way to lower this. This is the information I have about page generation time:
MyBB Debug Information
Page Generation
Page…

Cuban
- 1
- 3
-2
votes
1 answer
Apache Extended Logs of php files
I am using apache and I want to log each php or any script file with its location which runs for more than 30 seconds or so. I tried to find solutions extensively, but no luck has come true. Is this possible in apache using any native or any…

Hashmi
- 143
- 10
-2
votes
3 answers
Upgrade php version on centos 6.5
On the current stack i hv
centos 6.5 (64 bit) , PHP 5.3 available.
I'm a linux new bee & need to perform php upgrade to PHP 5.5.
Tried following but that returned error:
wget…

echoashu
- 115
- 1
- 7
-2
votes
2 answers
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: http://docs.whmcs.com/System_Requirements
I use ubuntu 14.04 & apache2

Andreas1803
- 1
- 1
-2
votes
2 answers
php 5.4 not working after upgrade from 5.3 to 5.4 on centos 6.5
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 have been processed normally.
In…

Alex004
- 107
- 3
-2
votes
1 answer
how to make already compiled php5 shared module to static in apache 2.2
I have compiled apache 2.2 with php5 and after uncommenting loadmodule line for php in apache conf file the php started but as a shared module so is there any way to compile it as static ?
-2
votes
1 answer
Installing PHP 5.4 on Samsung Chromebook 3 which runs chroot Ubuntu Crouton
I am trying to install PHP 5.4 on a Samsung chromebook 3 running crouton.c (Crouton link: https://github.com/dnschneid/crouton)
I am following the instructions for the upgrade from…

ysfiqbl
- 101
- 2
-2
votes
1 answer
Apache2+PHP fopen() permisson
Intro:
I am sorry to be asking for help when there's loads of that on the internet, however I'm not Linux savvy.
Problem:
I've installed apache2 and PHP5 under debian, and uses of PHP fopen() function produce typical:
Warning:…

Bob
- 81
- 1
- 6
-2
votes
1 answer
Crunchbang asks for URIs to get build dependencies for php5
I'm trying to install PHP5, by compiling it myself.
I'm doing this on Crunchbang Linux, version 11. Specifically, the version using the 3.2 kernel. Crunchbang 11 is based on Debian. This is a 64-bit Virtual machine, running on a 64-bit Win7…

Koen027
- 165
- 1
- 1
- 6
-2
votes
2 answers
Need help updating PHP 5.2 to 5.3 (on Debian Lenny)
I need to update 5.2 to 5.3 in one of our servers urgently. My unix skills are limited so please be as specific as possible.
Is there any way to do this easily with apt-get upgrade ?

ooops
- 191
- 1
- 3
- 12
-2
votes
2 answers
Have Apache Parse PHP in .html Files on Ubuntu
I installed Apache and PHP by:
sudo apt-get install apache2
sudo apt-get install php5
Then I created a .htaccess file in /var/www with:
AddHandler application/x-httpd-php5 .html
It parses PHP in .php files just fine, but any PHP in .html files it…

Cass
- 1
- 1
-3
votes
1 answer
Prevent php script from overriding php.ini
How can I prevent php scripts from overriding max_execution_time value ?
Someone found a way to inject malicious code on a server through wordpress... We are in the process of patching the vulnerability. That php code defines…

Phlocon
- 1
- 2