Questions tagged [php5]

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.

865 questions
9
votes
2 answers

pecl install mongo - keeps compiling with wrong module API

Working with Ubuntu 12.04 here, nginx and php5-fpm I had mongo working well on php 5.3, then I added the ondrej/php5 ppa and updated to php5.4. It kept GD and CURL extensions, but not mongo. I re-added the line to the php.ini file, and nothing. Then…
kavisiegel
  • 349
  • 1
  • 3
  • 12
9
votes
2 answers

How can i enable byte range request?

How can i enable byte range request? While pod casting on itunes it gives an error message "There is a problem with your feed. Your episodes are hosted on a server which doesn’t support byte-range requests. Enable byte-range requests and try your…
praji
  • 191
  • 1
  • 1
  • 2
8
votes
5 answers

Nginx editing php.ini changes no reflecting

phpinfo says the file location is /etc/php5/fpm/php.ini. Additional .ini files parsed /etc/php5/fpm/conf.d/curl.ini, /etc/php5/fpm/conf.d/gd.ini, /etc/php5/fpm/conf.d/mcrypt.ini, /etc/php5/fpm/conf.d/mysql.ini, …
Case
  • 311
  • 1
  • 4
  • 14
8
votes
6 answers

Downgrade PHP 5.4 to 5.3 in Debian

I had to do a Debian dist-upgrade on my server... in the process, PHP got upgraded to 5.4. We use ioncube which only supports up to 5.3 atm, and I'm having some trouble finding how to downgrade to 5.3 from 5.4. Anyone know how?
Carnivoris
  • 187
  • 1
  • 1
  • 3
8
votes
2 answers

PHP5-FPM does not create unix socket directory within /var/run

I've set up my php5-fpm to bind to a unix domain socket within /var/run/php5-fpm. /etc/php5/fpm/pool.d/www.conf listen = /var/run/php5-fpm/$pool.sock The problem is that it will not automatically create the php5-fpm directory. When I reboot the…
igorw
  • 181
  • 1
  • 3
8
votes
3 answers

Nginx + Php5-fpm not rendering php files

I've spent hours figuring out how to install Nginx + Ruby Enterprise Edition + PHP5-fpm and MYSQL, finally it is all installed and all seems to have started fine. But for some reason php files are not being processed. .html files work fine, but when…
Emmanuel
  • 347
  • 1
  • 9
  • 20
7
votes
3 answers

Reconfiguring PHP 5.6 to run on MacOS 10.13 High Sierra

I need to get PHP 5.6 running on a Mac that had to be updated to 10.13. So I reinstalled 5.6, verified its location, and added it to httpd.conf: LoadModule php5_module libexec/apache2/libphp5.so ...and made sure the line for PHP 7 is still…
CaymanCarver
  • 171
  • 1
  • 1
  • 3
7
votes
4 answers

The requested PHP extension ext-mcrypt * is missing from your system

I have updated my php to version 5.4.13 etc and well in the terminal my version of php states this PHP 5.4.12 (cli) (built: Mar 16 2013 21:46:23) But running a composer install io get the following error. The requested PHP extension…
Simon Davies
  • 205
  • 1
  • 2
  • 9
7
votes
3 answers

PHP installation on IIS: ISAPI or CGI?

I'm running IIS6 on Windows Server 2k3, and currently have PHP installed as a ISAPI module. We're about to upgrade our environment to PHP 5.3.0, and this made me wonder whether I should stick with the ISAPI module or if there was a reason the CGI…
Jacob Hume
  • 173
  • 1
  • 1
  • 7
7
votes
1 answer

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, 134217728 is two orders of magnitude greater than 1540673.
David Cowden
  • 180
  • 5
7
votes
3 answers

too many 408 error codes in access log

Apache access log is showing too many 408 error codes,nearly 400 per day. x-x-x-x - - [25/Apr/2012:22:43:06 -0600] "-" 408 0 "-" "-" there are around 400 of these kind of request from different ip address. I don't know is this the reason for…
ananthan
  • 1,510
  • 1
  • 18
  • 28
7
votes
2 answers

Error When Installing PHP5 on IIS6

I am trying to install PHP on my Windows Server 2003 machine that is using IIS6. I followed this guide for installing it, including using the binaries of fastCGI. I think I did everything correctly, however, when I went to create my phpinfo(); page…
numone
  • 205
  • 1
  • 3
  • 6
7
votes
1 answer

How to configure PHPStorm to debug on IIS

I installed PHP 5 on IIS on a Windows 7 64 bit machine using the Web Platform Installer. I am using PHPStorm as my PHP IDE but cant find any documentation on how to get debugging to work. PHPStorm launches my PHP web application but breakpoints do…
rams
  • 247
  • 3
  • 10
7
votes
3 answers

Running phpmyadmin and suphp

I have a Debian Lenny web server. It is running apache2 with libapache2-mod-suphp. Unfortunately, suphp makes impossible to use phpmyadmin, as phpmyadmin is installed in /usr/share/phpmyadmin and owned by root, and suphp disables it's engine in this…
thor
  • 658
  • 1
  • 7
  • 18
6
votes
2 answers

Why is there no php.ini file when I install PHP in a docker container?

I'm using docker-compose to setup a minimal nginx + php-fpm application but for some reason there is no php.ini file on the docker container (I know because phpinfo() says Loaded Configuration File: (none)). Here's my docker-compose.yml file: web: …
skb
  • 93
  • 1
  • 2
  • 7
1
2
3
57 58