[CentOS] Installing a PHP class

2009-11-17 Thread Joseph L. Casale
Guys, Web/php stuff is outta my area to say the least. I need to setup a php class called Advanced Graphing Class. It has php, font and js files that need to be made available. How and where do I set this up to be available to any virtual host that uses it? A link to where this is documented

Re: [CentOS] Installing a PHP class

2009-11-17 Thread m . roth
Guys, Web/php stuff is outta my area to say the least. I need to setup a php class called Advanced Graphing Class. It has php, font and js files that need to be made available. How and where do I set this up to be available to any virtual host that uses it? A link to where this is

Re: [CentOS] Installing a PHP class

2009-11-17 Thread Eero Volotinen
Joseph L. Casale wrote: Guys, Web/php stuff is outta my area to say the least. I need to setup a php class called Advanced Graphing Class. It has php, font and js files that need to be made available. How and where do I set this up to be available to any virtual host that uses it? A

Re: [CentOS] Installing a PHP class

2009-11-17 Thread Eero Volotinen
m.r...@5-cent.us wrote: Guys, Web/php stuff is outta my area to say the least. I need to setup a php class called Advanced Graphing Class. It has php, font and js files that need to be made available. How and where do I set this up to be available to any virtual host that uses it? A link

Re: [CentOS] Installing a PHP class

2009-11-17 Thread m . roth
m.r...@5-cent.us wrote: I didn't write, j did: Guys, Web/php stuff is outta my area to say the least. I need to setup a php class called Advanced Graphing Class. It has php, font and js files that need to be made available. How and where do I set this up to be available to any virtual host

Re: [CentOS] Installing a PHP class

2009-11-17 Thread Drew
Hi Joseph, Do you mean the graph() class by Zack Bloom?. All that's really needed is to extract the zip to it's own subdirectory in your code and use a couple of php include/require statements to pull in the files containing the class. -- Drew Nothing in life is to be feared. It is only to be

Re: [CentOS] Installing a PHP class

2009-11-17 Thread Joseph L. Casale
Err.. software without installation documentation :/. Anyway, looks like you only need to drop files to php lib directory (look from php.ini) and then follow example.. Well that was my first try, so I tried to lookup if that lib path was recursive anyway, is it important that all files be in one

Re: [CentOS] Installing a PHP class

2009-11-17 Thread m . roth
Err.. software without installation documentation :/. Anyway, looks like you only need to drop files to php lib directory (look from php.ini) and then follow example.. Well that was my first try, so I tried to lookup if that lib path was recursive anyway, is it important that all files be in

Re: [CentOS] Installing a PHP class

2009-11-17 Thread Drew
Well that was my first try, so I tried to lookup if that lib path was recursive anyway, is it important that all files be in one directory in this path? That won't work because, assuming we're talking about the same class (see my prev email), the files need to be put somewhere in your

Re: [CentOS] Installing a PHP class

2009-11-17 Thread Joseph L. Casale
That won't work because, assuming we're talking about the same class (see my prev email), the files need to be put somewhere in your website's directory structure so they can be pulled in by the calling script. I do something similar, without classes, on a website I've written. I'll have a

Re: [CentOS] Installing a PHP class

2009-11-17 Thread Joseph L. Casale
This doesn't work, all the files are in the root of a test site. The png doesn't seem to be delivered to the browser, logs are empty. What am I missing? Arghh, wrong log file:) It looks like it wants to write in the root of the virtual hosts dir, so apache needs write access? Any php gurus know

Re: [CentOS] Installing a PHP class

2009-11-17 Thread Kai Schaetzl
Joseph L. Casale wrote on Tue, 17 Nov 2009 18:48:05 +: Arghh, wrong log file:) It looks like it wants to write in the root of the virtual hosts dir, so apache needs write access? Any php gurus know how to force it to write those rendered images somewhere else? Maybe here: