I'me trying to use the in built web server on my iMac for testing my websites. PHP is not running for some reason. I've checked my httpd.conf file and the following line:
LoadModule php5_module libexec/apache2/libphp5.so
is uncommented.
Hi,
I use PHP 5.2 with the following extensions and fcgid as handler but PHP consume very high CPU resources
PHP 5.2.17 (cgi-fcgi) (built: May 3 2012 13:56:23)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
with the ionCube PHP Loader v4.0.12,
I'm getting Fatal error: Call to undefined function glob() when trying to do stuff on my php server. However the output of php -v is
[root@dca-l-p-web9 ~]# php -v
PHP 5.3.16 (cli) (built: Aug 23 2012 12:26:45)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
I cant find the php-fpm config file on my server.
I tried to make an php-fpm.conf file in /etc/php.d/ folder, but it doesn't get included.
Its not in these locations either: /etc/php-fpm.conf file or /etc/php-fpm.d
Output of php -v
-bash-3.2# php -v
PHP 5.4.10 (cli) (built: Dec 19 2012 11:25:26)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
Hey all. I've installed gentoo on a brand new machine and I've encountered an issue I've never seen before.
I have a vps, running directadmin with apache 2 and php 5. It all worked fine, until today, since i discovered that PHP scripts are executed under apache:apache, and not under file's owner uid.
Background info
I'm currently running CentOS (or Red Hat?).
uname -a gives (I edited out my domain name)
Linux XXXXXXXXX.com 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/issue gives
CentOS release 6.2 (Final)
Kernel \r on an \m
and `cat /proc/version' gives
Linux version 2.6.32-71.29.1.el6.x86_64 (mockbuild@c6b5.bsys.dev.centos.org)
I am getting this error on my proof of concept Linux box. Can anyone help this noob out? From the looks of it, Zend is the issue.
What are the clear benefits of using Zend Server PHP stack against an *AMP(for example LAMP) stack?
Or Vice versa? What are the benefits of using a *AMP(for example LAMP) over zend server?
Additional information: I recently Acquired my own VPS(which has ubuntu 12.04.2 preinstalled), which allows me to build my own web server from the ground up.