php pear


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting php pear
# 1  
Old 08-10-2004
php pear

I have just upgrade my version of pear to the latest version but when issue pear list
I get the following error messages

<br />
<b>Fatal error</b>: Call to undefined function: getoptions() in <b>/usr/bin/pear</b> on line <b>34</b><br />

what am i doing wrong? can you help please.

Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. What is on Your Mind?

Saturday May 4th the Forums Will Briefly Break Testing PHP 5.6 to PHP 7.0

On Saturday May 4th the forums will briefly break when I switch our Apache PHP 5.6 module to PHP 7.0. Previously, I had two sites set up for testing the migration, but for many reasons, the second site has additional issues unrelated to PHP 7.0 so it is hard to debug on a different site and... (3 Replies)
Discussion started by: Neo
3 Replies

2. Red Hat

Update php 4.3 RPM to php 5.3.3 php

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

3. UNIX for Advanced & Expert Users

Running multiple php scripts into one php only, cron mail alert problem...

hi, while separated they produce the usual mail alert and i can see the output... if i write into the php script: <?php system('php -f /var/www/vhosts/domain.com/httpdocs/folder/script1.php'); system('php -f /var/www/vhosts/domain.com/httpdocs/folder/script2.php'); system('php -f... (0 Replies)
Discussion started by: 7stars
0 Replies
Login or Register to Ask a Question
DIRECTORYITERATOR.GETCTIME(3)						 1					     DIRECTORYITERATOR.GETCTIME(3)

DirectoryIterator::getCTime - Get inode change time of the current DirectoryIterator item

SYNOPSIS
public int DirectoryIterator::getCTime (void ) DESCRIPTION
Get the inode change time for the current DirectoryIterator item. PARAMETERS
This function has no parameters. RETURN VALUES
Returns the last change time of the file, as a Unix timestamp. EXAMPLES
Example #1 DirectoryIterator.getCTime(3) example This example displays the file name and last change time of the files in the directory containing the script. <?php $iterator = new DirectoryIterator(dirname(__FILE__)); foreach ($iterator as $fileinfo) { if ($fileinfo->isFile()) { echo $fileinfo->getFilename() . " changed at " . $fileinfo->getCTime() . " "; } } ?> The above example will output something similar to: apple.jpg changed at 1240398312 banana.jpg changed at 1238605440 index.php changed at 1240398935 pear.jpg changed at 1237423740 SEE ALSO
DirectoryIterator::getATime, DirectoryIterator::getMTime, filectime(3). PHP Documentation Group DIRECTORYITERATOR.GETCTIME(3)