Re: apache 2 and php 5.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 16 Feb 2011, Paul A wrote:

> To: 'CentOS mailing list' <centos@xxxxxxxxxx>
> From: Paul A <razor@xxxxxxxxxxx>
> Subject: Re:  apache 2 and php 5.2
> 
> No there is only on php.ini on there located in 
> /etc/php.ini, this is so weird.

It is - very odd!

What's your file permissions for php.ini ?

Mine are:

-rw-r--r--  root  root    76376 Nov  1 11:55 php.ini

Try some of these commands to identify which php you have 
installed:

[root@karsites ~]# rpm -qv php
php-5.3.3-1.el5.remi

[root@karsites ~]# rpm -qf `which php`
file /usr/local/bin/php is not owned by any package

[root@karsites ~]# ls -l /usr/local/bin/php
lrwxrwxrwx 1 root root 12 Jan  1 15:25 /usr/local/bin/php -> /usr/bin/php

[root@karsites ~]# which php
/usr/local/bin/php

The symlink is my own doing for when I used to compile 
upstream php from source tar.gz

I tried to generate a php error in my /etc/php.ini but 
nothing happened.


Keith

-----------------------------------------------------------------
Websites:
http://www.karsites.net
http://www.php-debuggers.net
http://www.raised-from-the-dead.org.uk

All email addresses are challenge-response protected with
TMDA [http://tmda.net]
-----------------------------------------------------------------
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux