06-06-2005
PHP rpm problem
I did not know where to ask this problem so posting it here
The version of php used is 4.3.2.
1. If I say rpm -qa | grep php, I get mod_php4-4.2.2 and mod_php4-core-4.2.2
If I do php -v, I get 4.3.2. How could that be possible? I am sure the version which is being used is 4.3.2.
2. The second question is how different are the 2 versions? Could it pose many problems if I choose to revert to php 4.2.2?
Thanks
10 More Discussions You Might Find Interesting
1. Linux
I have my system setup different then the conventional setup:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdc2 2.0G 977M 936M 52% /
/dev/hdc1 97M 9.0M 83M 10% /boot
none 251M 0 251M 0% /dev/shm
So when I try... (2 Replies)
Discussion started by: jasonr
2 Replies
2. UNIX for Dummies Questions & Answers
Ok when i try to run the install the is what i get
How can i fix this can anyone help (8 Replies)
Discussion started by: Blackrose
8 Replies
3. Red Hat
I installed gnome-libs-1.4.1.2.90-34.2.src.rpm using rpm
# rpm -ivvh gnome-libs-1.4.1.2.90-34.2.src.rpm
D: ============== gnome-libs-1.4.1.2.90-34.2.src.rpm
D: Expected size: 3903306 = lead(96)+sigs(344)+pad(0)+data(3902866)
D: Actual size: 3903306
D: opening db environment... (3 Replies)
Discussion started by: fredao
3 Replies
4. AIX
I downloaded gcc-cplusplus-4.0.0-1.aix5.2.ppc.rpm from IBM AIX Toolbox Download Page - Alphabetical Listing
but:
-bash-3.00# rpm -ivh gcc-cplusplus-4.0.0-1.aix5.2.ppc.rpm
error: gcc-cplusplus-4.0.0-1.aix5.2.ppc.rpm cannot be installed
I can't understand wht kind of error is it... Can be... (1 Reply)
Discussion started by: untamed
1 Replies
5. UNIX for Advanced & Expert Users
Dear All,
I have messed up my server which was running rhel4U6 by removing the rpm package glibc-2.3.4-2.39 . kindly guide me how can i fix this problem . I have
tried to chroot /mnt/sysimage but it is not working.
Any idea's how to fix the problem
regrds (2 Replies)
Discussion started by: xander
2 Replies
6. UNIX for Dummies Questions & Answers
I'm trying to install mysql on a server, but I keep getting an error. Can anyone offer any help?
Below I've listed a bunch of info that you might find helpful.
Here are the commands I'm using.
$ ls
MySQL-client-community-5.1.35-0.rhel3.i386.rpm... (2 Replies)
Discussion started by: wsetchell
2 Replies
7. Shell Programming and Scripting
How to make RPM not write to RPM database if RPM fails to deploy?
IE I create an rpm spec file that contains the following
if
then
exit 1
fi
My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies
8. AIX
I am attempting to install an rpm of Apache from perzl.org on an AIX 6100-07-03-1207 server and it is failing. I think I have all of the dependencies installed. Can anyone help? Any help would be appreciated.
It fails with the following error:
# rpm -Uvh httpd-2.4.2-2.aix5.1.ppc.rpm ... (3 Replies)
Discussion started by: lbholde
3 Replies
9. Red Hat
When i try to install rpm with rpm -ivh ntp* it shows package is already install and when i query for same package it shows package is not installed ?How to resolve DSA signature error for rpm? How to choose rpm package except redhat version(el5) and architecture(i386) and site link for that? (5 Replies)
Discussion started by: amitbharad
5 Replies
10. Red Hat
Dear All,
My redhat version is:
# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
#
# uname -a
Linux cotapplication3.cot.com 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
#
I want to update my php from:
# php... (1 Reply)
Discussion started by: monojcool
1 Replies
LEARN ABOUT PHP
get_included_files
GET_INCLUDED_FILES(3) 1 GET_INCLUDED_FILES(3)
get_included_files - Returns an array with the names of included or required files
SYNOPSIS
array get_included_files (void )
DESCRIPTION
Gets the names of all files that have been included using include(3), include_once(3), require(3) or require_once(3).
RETURN VALUES
Returns an array of the names of all files.
The script originally called is considered an "included file," so it will be listed together with the files referenced by include(3) and
family.
Files that are included or required multiple times only show up once in the returned array.
EXAMPLES
Example #1
get_included_files(3) example
<?php
// This file is abc.php
include 'test1.php';
include_once 'test2.php';
require 'test3.php';
require_once 'test4.php';
$included_files = get_included_files();
foreach ($included_files as $filename) {
echo "$filename
";
}
?>
The above example will output:
abc.php
test1.php
test2.php
test3.php
test4.php
NOTES
Note
Files included using the auto_prepend_file configuration directive are not included in the returned array.
SEE ALSO
include(3), include_once(3), require(3), require_once(3), get_required_files(3).
PHP Documentation Group GET_INCLUDED_FILES(3)