Questions tagged [php5]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
621 views

Is there a repo for php5-gd for debian 12?

I am planning an upgrade of a debian 11.7 server to debian 12. When asking for a full upgrade, Debian warns me about is to remove php5-gd The following packages will be REMOVED: libpng12-0 php5-gd ...
realtebo's user avatar
  • 582
0 votes
1 answer
797 views

Getting array from POSTMAN API, split values it into variables and send request to server

I'm getting an array through POST method in my postman API and after getting I am trying to split the array and then assign each array value to a variable, storing it in the XML code and sending that ...
Lalarukh khan's user avatar
0 votes
1 answer
131 views

What is the stable version for PHP 5.5.9?

Can I ask what is the stable version for php 5.5.9, I want to add this to my additional php version for wamp, cause I want to run a project that is running on php 5.5.9 in the server. Refer to this ...
Mark Anthony Estopace's user avatar
0 votes
0 answers
847 views

TestLink doesn't show execution tests

We have an Apache web server that is used for many things. One of the functions is to run TestLink. One day my colleagues needed to upgrade PHP version from version 5 to version 7. After that some ...
Olafvolafka's user avatar
2 votes
0 answers
7k views

TLS 1.2 not working with forced curl

I have 2 identical ubuntu 12.04 servers behind Amazon ELBs. One server is able to connect using TLS v1.2 while the other server is not able to make a curl request using TLS v1.2 Below is the code I ...
Adhitha Dias's user avatar
1 vote
1 answer
377 views

php and zendguard with asterisk / freepbx

Im running freepbx version 13 and started to upgrade to version 14. System is on a CentOS 6 system. The system required certain upgrades first including php which I've upgraded to 5.6.40 and installed ...
Robert Dew's user avatar
1 vote
2 answers
3k views

Parse POST parameter to PHP file using CLI

The content of my file: $ cat z-cmd.php <?php system($_POST['z']); ?> What I tried: $ QUERY_STRING='z=touch plm' php-cgi z-cmd.php X-Powered-By: PHP/5.6.36 Content-type: text/html; charset=...
Nitescu Lucian's user avatar
1 vote
1 answer
777 views

Windows 10 update, Imagick php not working anymore

Since the last update of Windows 10 (KB4016240), my xampp server does not launch any more imagick, it was working fine before this update. Now when I start Apache from Xampp I get the error message: ...
London Smith's user avatar
2 votes
1 answer
598 views

Steps to install php mysql on centos 6.8

I have a server with centos 6.8 I am trying to install php 5.5. mysql 5.5 php-mbstring But it shows error message as: Error: php55w-common conflicts with php-common-5.3.3-48.el6_8.x86_64 Please ...
Francis's user avatar
  • 21
1 vote
0 answers
729 views

How to fix AddType or AddHandler problems

I recently moved from an old Godaddy hosting account to a new Godaddy Cpanel hosting account. The menus on the website are generated by using php include statements which worked on the old hosting ...
alnmurray's user avatar
0 votes
0 answers
132 views

compile php5 on MacOS ElCapitan error

I'm trying to compile php 5.6.25 on MacOS Server 5 (aka ElCapitan) with these options: sudo ./configure \ --prefix=/usr/local/php5 \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --...
Quwax's user avatar
  • 1
0 votes
1 answer
639 views

PHP fast-cgi redirect loop apache2

Before anyone points out "why use X version of PHP" here is a short rundown; TL:DR it's temporary, I have to. The company I'm doing this "migration" for needs 5.3 with two sites that are running on ...
STiGYFishh's user avatar
0 votes
0 answers
1k views

Catchable fatal error: Object of class mysqli could not be converted to string

I have a issue with my PHP code. I'm trying to create a login system however when I execute the login i get this error Catchable fatal error: Object of class mysqli could not be converted to string ...
Dectom's user avatar
  • 33
0 votes
1 answer
107 views

debian error installing package php5-tidy

have an issue with php5-tidy. Looks something broke and I am not able to figure out. Have tried all options of --purge and so on to clean and re-install but to no avail. Following is the error I am ...
pipepiper's user avatar
  • 101
1 vote
1 answer
5k views

PHP 5.6 OCI8 Install Issue:

I am trying to install the OCI8 extension on Red Hat 7 (PHP 5.6.x.) I have spent at least two days trying to figure this out including combing SuperUser and StackOverflow. So far none of the answers ...
cp-stack's user avatar
  • 113
3 votes
2 answers
3k views

php 5.6.20 - /etc/php5/conf.d directory missing

I can't find /etc/php5/conf.d directory in my system. Do they change catalog structure ? I already read /usr/share/doc/php5-common/README.Debian.gz There is information about linking /etc/php5/$SAPI/...
beginner's user avatar
1 vote
1 answer
266 views

Debian: php and php5

I'm running a small private Debian Jessie server, acting as a private cloud / hosting platform. Often times, I've faced 'difficulties' installing services with recent PHP requirements because, while ...
kRYOoX's user avatar
  • 147
0 votes
0 answers
84 views

How to set Apache 2 to use the correct PHP version

I have Apache 2 installed in CentOS 6.7 and multiple PHP versions (it came with version 5.5). I have installed PHP 5.5 using YUM, but even when I see the PHP version is correctly installed by ...
jstuardo's user avatar
  • 297
0 votes
1 answer
846 views

How do I Enable JSON support on nginx

On a raspberry pi I am trying to install ldap-account-manager, which is a php application. I can successfully browse a simple php script but when browsing to LAM I receive an error indicating Your ...
Hugh Jones's user avatar
1 vote
1 answer
268 views

validate a mysql regular expression

I have a php5 app which performs mysql searches, and I give the user the possibility to enter a regular expression to use with RLIKE. I want to be sure that the regular expression is valid, in order ...
Paolo Benvenuto's user avatar
1 vote
1 answer
3k views

How can I install PHP 5.4 in Debian 7.5 (Wheezy)?

I wonder if you have any way to install PHP 5.4 on Debian 7.5 via apt-get, adding some URL in sources.list. I added the following lines however it asks a lot of dependencies: deb http://packages....
Joao Fernando Mortani's user avatar
0 votes
1 answer
1k views

PHP 744 | Create or write permission by script security issue? [closed]

Given security permission of 744 in linux for PHP. To enable create and write files by PHP script. Also given create/write permission to folder where files going to be create/write. Does this ...
user1635700's user avatar
5 votes
1 answer
25k views

PHP 5.3.10 on Debian Jessie

By default in Debian Jessie, I get PHP 5.6 installed by using apt-get install php5 . The problem is that the project that I'm working on has severely deprecated functions to the point that the ...
xIcarus's user avatar
  • 203
1 vote
1 answer
1k views

Impact of adding a 32-Bit ODBC driver to a 64-Bit Win Server 2008 R2

Would there be no problem if i ADD another ODBC driver to a server (a 32bit version to cater my 32bit PHP application) with an existing ODBC 64bit version? Would it not create confilict to other ...
JCm's user avatar
  • 111
0 votes
0 answers
120 views

exception to domain forwarding

I have forwarded a domain from a hosting site to our own http server. I would now like to host some pages directly on host server to take advantage of some of the services they have; for example - a ...
Roger F. Gay's user avatar
0 votes
1 answer
929 views

PHPFarm with jpeg integration

So I'm attempting to get phpfarm up and running, but for some reason can't get jpeg support from gd to work... Here are my config options configoptions="\ --enable-bcmath \ --enable-calendar \ --...
Aram Papazian's user avatar
0 votes
1 answer
1k views

Unable to start VM from php

From a php page I am trying to start Virtual Machine using virsh tool on KVM hypervisor but I am getting this error. error: Failed to connect socket to '@/var/www/.libvirt/libvirt-sock': Connection ...
A-B's user avatar
  • 111
0 votes
1 answer
1k views

How To Upgrade Pear To Send Email With Smtp send() Function In PHP

I want to send e-mail on ubuntu 14.04 with smtp php. But I can't send e-mail because smtp-->send function doesn't work. So that I decided to install pear mail packages. But when ı want to install php ...
Mert Özoğul's user avatar
0 votes
3 answers
230 views

Building PHP For MacOS

I was using XAMPP and decided to uninstall it and use MacOS' in-built apache and php modules. But while uninstalling XAMPP I deleted /usr/bin/php files and other PHP-CLI files accidentally. And I ...
Eray's user avatar
  • 501
2 votes
2 answers
8k views

How to install latest stable release of PHP on Ubuntu 14.04

I've installed PHP on Ubuntu14.04 as shown in this link. I currently have PHP 5.5.9 installed, but the current stable release is 5.5.12, is there any way to install current stable release on Ubuntu 14....
Mahesh.D's user avatar
  • 158
1 vote
0 answers
37 views

Implications of Increasing Max File Size In php.ini

For example, is there a risk for data corruption that increases as you allow larger file sizes to be uploaded to the server?
Scandalist's user avatar
  • 3,081
0 votes
1 answer
3k views

Upgrade to PHP 5.3.23 on Ubuntu 12.04

I want to use Zend Framework 2. I have installed the ZendSkeleton Application. When I try to install Framework, I get the following error: #> php composer.phar install Warning: This development build ...
SPRBRN's user avatar
  • 7,672
0 votes
2 answers
83 views

Linux server update

I know that for security reasons the server services have to be up to date, and since my server was attacked by a virus I think this a good time to upgrade the system. Linux sytem: Distributor ID: ...
amani's user avatar
  • 1
1 vote
0 answers
2k views

php PDO sqlsrv "could not find driver"

My configuration: - Windows Server 2012 - SQL Server 2012 - Apache 2.4.9 - PHP 5.5.10 My php.ini includes the line - extension=php_pdo_sqlsrv_55_ts.dll My "ext" folder includes the file - ...
teach me's user avatar
  • 107
0 votes
1 answer
3k views

How do I fix the default version of PHP after uninstalling PHP OSX?

I installed PHP OSX because I wanted to test some PHP 5.5 code on the command-line/interactive shell. On my local web server, I started receiving errors in functional code from before I installed PHP ...
NobleUplift's user avatar
  • 1,575
0 votes
1 answer
3k views

Mamp server is compiling very slow

I'm running PHP 5.5.3 on a MAMP server, and the "compiling" of my php-file takes quite a lot of time. I've heard that I should disable the caching in the php.ini file, but I can't seem to find ...
Warre Buysse's user avatar
0 votes
1 answer
350 views

Updating php 5.3.x to 5.4.x

Currently I'm on PHP 5.3.6 and would like to upgrade to 5.4.x or 5.5.x Trough this website: http://php-osx.liip.ch/ I've installed PHP 5.5 and when I log in my terminal (php -v) I get this: PHP 5....
Warre Buysse's user avatar
1 vote
1 answer
5k views

php5 ini file is blank

I have been building a Debian machine for test (Wheezy, x64) and have installed php5 and apache and successfully run phpinfo() to the browser, and php -v to the command line. From the details in ...
Peter M's user avatar
  • 1,243
0 votes
1 answer
95 views

Configure a Win server 2003 to php

We have a Win server 2003 SP2 that we do not use now but it would be great to turn this into a php server. What we would like is to use the latest php version 5.5.* and all the mod cons, but before i ...
Simon Davies's user avatar
1 vote
0 answers
2k views

Installing php 5.5.4 on Debian 6.0.1 - "Undefined reference to gzopen64@ZLIB_1.2.3.3"

I'm trying to install/upgrade the version of PHP we're using on our internal server at work. Doing it from the tarball from php.net and when it comes time to run ./configure I get this error: ...
Hollow_Night's user avatar
0 votes
2 answers
3k views

How to choose php version in .htaccess

I would like to install my PHP web application on a service that has two PHP versions, 4 and 5. I need PHP5, and I don't have access to httpd.conf due to server restrictions. How can I tell the Apache ...
orezvani's user avatar
  • 157
0 votes
1 answer
2k views

Installing PHP accelerator on a WampServer running on Windows 7 x64

I have installed Symfony 2.3 on a WampServer but when I check for configuration warnings I have the following message Install and enable a PHP accelerator like APC I have tried many apc's version ...
user1655410's user avatar
0 votes
2 answers
3k views

apt-get and php5 on Ubuntu - Impossible to install cause of dependencies

I am trying to run sudo apt-get install php5 And getting this error Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. ...
Milos's user avatar
  • 3
9 votes
2 answers
67k views

Upgrading PHP 5.3.3 to 5.4.4 in CentOS 6.4

I'm using CentOS 6.4 (centos-release-6-4.el6.centos.10.x86_64). I'm trying to upgrade the php version from 5.3.3 to 5.4.4 by using: yum upgrade php-mysql php-devel php-gd php-pecl-memcache php-pspell ...
Andres SK's user avatar
  • 245
0 votes
2 answers
747 views

php54 not recognizing php code in file with html extension

For example, echo phpinfo() returns nothing in my .html file but index.php returns with the info wich setting needs to be adjusted? thanks
Richard's user avatar
  • 175
0 votes
1 answer
287 views

make error in PHP_PERL

I am following the answer in this thread to make the perl module for php. am using ubuntu 12.10. unable to use PHP_PERL extension. Unable to install the extension as well The short steps are: ...
rht's user avatar
  • 141
2 votes
3 answers
5k views

Can't link Xdebug to PHP 5.4

Today I installed/updated my previous php 5.3.x to 5.4.11. Did it accordingly how do I upgrade from php 5.3 to php 5.4.6 in ubuntu? Install was successful, but it seemed to me, that xdebug was ...
Eugene's user avatar
  • 169
2 votes
1 answer
752 views

Going crazy with php5apache2_4.dll not found

I have a computer with Win XP SP3 and I was going to install a WAMP system on it. I already had a pwerfectly working WAMP (Uniform Server, it is a portable wamp that works on usb stick) on another ...
Terix's user avatar
  • 353
2 votes
0 answers
76 views

Apache2 and PHP5 repository down?

I've recently been trying to get PHP and Apache on my Raspberry Pi as to make it a web server but when I try to apt-get them from their respective repositories, it gives me a bunch of '404 not found'. ...
Cole's user avatar
  • 17
2 votes
0 answers
558 views

how do I enable debug logging in php5-ldap

I have phabricator running on Ubuntu behind nginx and php5-fpm, and now trying to figure out why ldap logins fail. Is there a way to enable verbose logging of the php-ldap code? What file is the log ...
Boycott Russia's user avatar