php.ini

Fixed and closed topics
User avatar
wbartels
netjukebox developer
Posts: 872
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: php.ini

Post by wbartels »

newbeat wrote:Dear Willem,
I dont know, which distro has such versions, but i think, u can get all versions, what u need for all linux distros (like package, or u can self compile own version - typical for php)
But i think, that u can make ur Linux adventures much easily, if u look for xampp.
Xampp is full executable progie without touching of registry or hardisc (like live CD).Look here for xampp http://www.apachefriends.org/de/xampp-linux.html , and if u need old versions of php,apache or mysql, take old xampp version.
U need only download xampp for linux, tar xvfz xampp-linux-1.4.16.tar.gz -C /opt, edit in apache folder httpd.conf for new rootdocument = netjukebox, and /opt/lampp/lampp start.
I must tell, that i have big troubles with php,mysql,sqlite3,lighttpd on my harddic, but i have never troubles with xampp.
Thanks for the sugestion.
I will try it out.
User avatar
wbartels
netjukebox developer
Posts: 872
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

Thanks again newbeat,

I have Apache, MySQL and PHP (xampp 1.4.9a) running on Fedora 4.
To get conection to the MySQL server I had to changed 127.0.0.1 to localhost in the "include/config.inc.php" file.
(I will change that to in the next netjukebox version)
For the rest "netjukebox 3.76 develop" was running without any problems.
I only get an error when trying to view a PDF cover,
I supose that is because of the missing PDF libary.

Image

So far this is looking good :D
User avatar
wbartels
netjukebox developer
Posts: 872
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Post by wbartels »

PDF support is also working.
Download the free package from: http://www.pdflib.com/products/pdflib/d ... nux.tar.gz
or look for the right package in: http://www.pdflib.com/products/pdflib/download/

And add the extension to the php.ini:
extension="libpdf_php.so"

The bad thing from the free version is that you get http://WWW.PDFLIB.COM with big letters in the PDF file. :(
newbeat

php.ini

Post by newbeat »

http://www.pdflib.com/products/pdflib/d ... 0.2.tar.gz

here is free version of pdflib (- PDFlib Lite = Open-source edition for basic PDF generation, free for personal use.)

I hope, that it works well in ur 3.76 NJB.
Locked