Forum Moderators: coopster
I've been working on a website, using PHP and MySQL, and I'd like to use an interactive event calendar driven from my database. From what I understand, PEAR has a Calendar (and Date) class that could help.
I'm on a GoDaddy shared server with PHP 5.x and PEAR installed already (I uploaded a script to check for PEAR). However, I'm having trouble installing additional packages (and even seeing what packages I have installed). Most of the package install help I've come across (on GoDaddy, pear.php.net, and from google searches) seems to center on using the command line interface.
I am not really familiar with command line operations. Most of my software experience involves using my text editor to upload files to my shared server via ftp. It looks like I have a copy of PEAR (and the packages) on my local machine as well, but I'm not sure how to incorporate these folders. For example, I tried to copy the PEAR "Date" folder into my web directory, but when I uploaded a script that needed to use it, I got the "No such file or directory" error.
I've tried the php website (as well as other forums), but I'm still having difficulties.
[pear.php.net...]
Can anyone help me with the install? Also, is there a script I can upload to see what packages I have installed?
Thanks!
perhaps the easiest thing to do would be to upload your entire pear folder to your site (including the modules you want to use) and then reference the included Pear files with an absolute path.
e.g. if you wanted to use Cache_Lite
include ($_SERVER['DOCUMENT_ROOT'] . '/pear/Cache/Lite.php');
however, pear installs per command line are easy. in the long term, it may be worth the time spent learning basic ssh and shell comments to access your server using putty or similar.
good luck