The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
9 views

Show All Results From One Table Not Listed In The Other (Junction) Table By :id

I have 2 tables I'm interacting with. The first table: acl_permissions (is just a normal table). +-----------------------------------+ | acl_permissions | ...
0
votes
0answers
32 views

php-fpm and how it's related to php

I have a php-fpm setup with nginx and php 5.5.18... i have compiled the php from soruce with the following configuration './configure' '--disable-all' '--prefix=/opt/php/v5.5.18' '--enable-json' ...
0
votes
1answer
61 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
42 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
468 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
73 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
46 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
1answer
1k 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 ...
1
vote
0answers
21 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
0answers
10 views

Apache session length

The default apache session length is 1440 seconds (24 minutes) However, I have been considering making it much longer (6-24 hours) Is there anything wrong with that? Other than sessions taking up ...
0
votes
2answers
43 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
321 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
66 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
369 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
201 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
2k 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
37 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
627 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
1answer
107 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
529 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
1k 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. ...
8
votes
2answers
31k 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
317 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
135 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: ...
6
votes
0answers
703 views

Should we still set cgi.fix_pathinfo=0 when configuring nginx+php5-fpm? [closed]

Security breach was found in nginx+php5-fpm default configuration in 2010. A lot of nginx+php5-fpm configuration guides tell us to set cgi.fix_pathinfo=0 to be safe. Is it still actual for current ...
2
votes
3answers
2k 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
340 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
60 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
188 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
501 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
404 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
877 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
211 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
978 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
599 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
2k 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 ...
1
vote
1answer
797 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
161 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
2k 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 ...
0
votes
2answers
621 views

ubuntu 10.04 command “# type php” returns nothing

I have 2 LAMP servers with ubuntu 10.04... both with php5 successfully installed. on server1 i run the command # type php in terminal and the response is: "php is /usr/bin/php" however in server2 I ...
1
vote
0answers
833 views

How to update PHP on opensuse?

How can I update my PHP 5.2.14 to PHP 5.3 on my OpenSuSE 11.1 server using YaST or any other way?
1
vote
2answers
2k views

Unable to find php binary

PHP is running fine with apache on my server. I want to use it from command line but I am unable to find the binary: root@....:~# whereis php php: root@....:~# whereis php5 php5: /etc/php5 ...
0
votes
1answer
143 views

PHP5.2.3 for debian etch?

Is it possible to get PHP5.2.3 for debian etch?