michaelhurleycaheragh Posted January 24, 2011 Share Posted January 24, 2011 Hi guys, Im developing a php application at the moment. Ive reached the stage where I’d like to create some graphs based on the data in the database. From my research I notice that jpgraph is 1 of the recommended tools. I’ve tried to install this program but imp getting the following error when I try to configure php.ini "access denied". Does anyone know what the error means?? My other question is whether I am installing jpgraph correctly. I’m using xampp and place the jpgraph folder in the htdocs folder in xampp. Is this correct? Thanks for any help guys. Quote Link to comment https://forums.phpfreaks.com/topic/225565-jpgraph-installation/ Share on other sites More sharing options...
gristoi Posted January 24, 2011 Share Posted January 24, 2011 sounds like a permissions issue on the folder. you need to make sure that the folder has the correct read write permissions set Quote Link to comment https://forums.phpfreaks.com/topic/225565-jpgraph-installation/#findComment-1164735 Share on other sites More sharing options...
michaelhurleycaheragh Posted January 24, 2011 Author Share Posted January 24, 2011 Thanks gristoi: u were right, it was a permissions issue. I thought i had turned the write permission on but wen i checked again due to ur advice i noticed that that was not enabled. Thanks for fixing that issue! Really appreciate it. My second question (as outlined in orginal post) is how to correctly install JPGraph with xampp????? Quote Link to comment https://forums.phpfreaks.com/topic/225565-jpgraph-installation/#findComment-1164781 Share on other sites More sharing options...
trq Posted January 25, 2011 Share Posted January 25, 2011 Considering jpGraph is a simple PHP library. it doesn't need installing as such. Just put it in a directory somewhere and then include the necessary files into your own code. The best place to put jpGraph is probably somewhere on your php include_path. You can see what your include_path is by either checking your php.ini file, or by executing a script containing.... <?php echo get_include_path(); ?> Quote Link to comment https://forums.phpfreaks.com/topic/225565-jpgraph-installation/#findComment-1164789 Share on other sites More sharing options...
michaelhurleycaheragh Posted January 25, 2011 Author Share Posted January 25, 2011 Thanks for the comment. i did what you said and i found that the php include_path is.;\xampp\php\PEAR. Therefore, i put my jpgraph into the PEAR folder.The resulting path was .;\xampp\php\PEAR\jpgraph . is this correct???? i included this path in my php.ini file also. Therefore i think i have done all i need to do to install jpgraph. Sorry for all the questions but im new to php.Thansk for any help Quote Link to comment https://forums.phpfreaks.com/topic/225565-jpgraph-installation/#findComment-1165017 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.