Questions tagged [php5]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
0answers
7 views

Customized CRM Development [closed]

I have a customized CRM development project. I would like to have a suggestion that which would be the best platform to work on this project? It needs to be well developed, well drafted and totally ...
0
votes
0answers
58 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 ...
0
votes
0answers
1k 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 ...
0
votes
0answers
145 views

Downgrade php7.0 to php5.6 on GCP

May anyone help me with downgrade php7.0 to php5.6 on GCP? I tried to remove php7.0 with sudo aptitude purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "` and install php5.6 with sudo add-...
1
vote
1answer
190 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 ...
0
votes
1answer
274 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=...
1
vote
1answer
410 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: ...
2
votes
1answer
565 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 ...
1
vote
0answers
616 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 ...
0
votes
0answers
116 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 \ --...
0
votes
1answer
502 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 ...
0
votes
0answers
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 ...
0
votes
1answer
100 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 ...
1
vote
1answer
4k 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 ...
3
votes
2answers
2k 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/...
1
vote
1answer
241 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 ...
0
votes
0answers
52 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 ...
0
votes
1answer
655 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 ...
1
vote
1answer
238 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 ...
1
vote
1answer
2k 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....
0
votes
1answer
753 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 ...
5
votes
1answer
23k 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 ...
1
vote
1answer
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 ...
0
votes
0answers
79 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 ...
0
votes
1answer
908 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 \ --...
0
votes
1answer
843 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 ...
0
votes
1answer
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 ...
0
votes
3answers
180 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 ...
2
votes
2answers
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....
1
vote
0answers
34 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?
0
votes
1answer
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 ...
0
votes
2answers
81 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: ...
1
vote
0answers
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 - ...
0
votes
1answer
2k 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 ...
0
votes
1answer
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 ...
0
votes
1answer
342 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....
1
vote
1answer
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 ...
0
votes
1answer
78 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 ...
1
vote
0answers
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: ...
0
votes
2answers
2k 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 ...
0
votes
1answer
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 ...
0
votes
2answers
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. ...
9
votes
2answers
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 ...
0
votes
2answers
707 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
0
votes
1answer
274 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: ...
2
votes
3answers
4k 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 ...
2
votes
1answer
705 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 ...
2
votes
0answers
73 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'. ...
2
votes
0answers
488 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 ...
0
votes
1answer
45 views

What's preventing my php on Leopard (10.5) from running?

I have an old mini running a vanilla Leopard install that I use to host low-volume sites as I learn web dev. I have successfully set up virtual hosts and they are running static placeholder sites. In ...