The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
42 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 ...
1
vote
1answer
60 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
36 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
79 views

osTicket installation issues

I tried to install osTicket on Debian 8 32-bit, but php5-imap, imap and php5enmod didn't install, and that affected the functioning of this application. I need help resolving this issue. When I tried ...
0
votes
0answers
13 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
118 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 ...
0
votes
0answers
37 views

PHP error logging in Plesk 12

Where can I set the error_log filepath for PHP under Plesk 12.5? Plesk displays a default php.ini right within Plesk, but I'd like to set the pathname of the error log file for a specific domain ...
0
votes
1answer
22 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 ...
0
votes
1answer
232 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
123 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 ...
2
votes
1answer
9k 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
264 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
44 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
561 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
306 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
107 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 ...
1
vote
0answers
67 views

Apache only serving directory listings on Windows 7

I have just installed Apache 2.4.9 x64 as a service on Windows 7, and PHP 5.5.12 x64, and configured Apache for this PHP. The Apache service starts fine, and plain http:/localhost serves the Apache ...
2
votes
2answers
7k 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
26 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
2k 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
63 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
579 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
377 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
1k 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
316 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 ...
1
vote
1answer
4k 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
43 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
1k 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
488 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
1k 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
2k 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
57k 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
547 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
202 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
3k 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
436 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
66 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
336 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
39 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 ...
5
votes
1answer
713 views

Making Apache use compiled PHP instead of bundled package on Debian

My ultimate goal is to install OwnCloud on my Debian box, a 64-bit squeeze. My setup is pretty simple. I have installed OpenPanel which in turn installs all of the required LAMP modules via APT-GET. ...
0
votes
1answer
601 views

Enable XSLT with Webmin on Ubuntu server

I am trying to install/enable XSLT for PHP on my webserver. I'm quite sure that it was running before I made an update, but now it does not work anymore. I have an Ubuntu webserver with Webmin ...
0
votes
1answer
1k views

Hiding .php extensions?

I'm having trouble hiding .php extensions on my site. for example: I want http://mysite.net/view_category.php?id=4 to show as http://mysite.net/view_category?id=4 I'm sure it's to do with the ....
2
votes
0answers
274 views

iconv error for PHP 5.3 when compiling

I get this error: -lm -lxml2 -lz -liconv -lm -lxslt -lxml2 -lz -licucore -lm -o sapi/cgi/php-cgi Undefined symbols for architecture x86_64: "_libiconv_open", referenced from: _convert in ...
2
votes
1answer
1k views

100 % cpu usage debian 32 bit due to apache processes

So there is a VPS with openvz virtualization, with debian 6.0 32 bit The problem is appearing approx. 1 week ago. The automatic security monitoring system is shutting down the vps that i'm running ...
0
votes
1answer
842 views

Questions about setting up PHP-ODBC driver for remote SQL-Server-2008 connection on CentOS-6

I have CentOS 6 and PHP 5.3.3 VPS at GoDaddy. I have to interact with remote SQL Server 2008. I've seen many tutorials and quite lost here, so: There is a way to simply yum install it ? If not, what ...
0
votes
1answer
4k views

Apache Startup doesn't work with PHP 5.3 in Debian Lenny

Today I updated PHP 5.2 to 5.3 but then Apache Startup doesn't work. Apache says: Starting web server: apache2apache2: Syntax error on line 205 of /etc/apache2/apache2.conf: Syntax error on ...
2
votes
1answer
1k views

How to execute home directory shell script file in php

How to execute /home/scripts/test.sh file in php Previously i have placed 'test.sh' file in the /usr/bin and calling in my php file like this exec('test.sh ' . escapeshellarg($testString)); But ...
0
votes
1answer
202 views

How is this even possible? PHP Memory Error — allowed memory size bytes exhausted.

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1540673 bytes) in /home/appdev/glicious/Nutrition.php on line 41 If you haven't noticed, 1540673 is two orders of ...
1
vote
1answer
3k views

PHP files are downloaded instead of getting interpreted

I'm encountring some difficulties with my Apache2/PHP5. All was well-configured and working, but after reinstalling apache2, the PHP files are displayed without being interpreted. I tried many ...