Hi all!
I'm trying to use some GD functions on a CD booted web server. Making php_info() i see that:
--with-gd=shared,/usr
But GD library is not installed on the system. So I dediced to download it, compile and install it in my usb stick.
Then i edited the php.ini this way:
extension_dir=/mnt/sda1/gd/lib
extension=libgd.so.2.0.0
I move this php.ini from my usb stick to /etc/php/apache/php.ini everytime i boot the machine, then i restart apache, but gd_info(); throws:
Fatal error: Call to undefined function: gd_info() in /mnt/sda1/www/index.php on line 2
The idea is to store httpd.conf (apache), my.cnf (mysql), php.ini (php), web files (*.php), mysql db_files, etc... into a usb_stick to turn any computer a full web server just with default knoppix CD and the usb stick.
The only thing i cant do and i need is to load gd library to use it in my php pages
Any idea or sugestion? Thanks to all
ludeens
P.D. Sorry about my english writting, im from spain![]()

Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 5120 64GB H330 2x 750w
$538.88
Dell PowerEdge R740xd Dual Intel Silver 4116 @2.1GHz 32GB HBA330 24Bay Server
$525.00
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50
Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99
Dell PowerEdge R640 1U 8SFF Server Barebones 2x Gold 6150 64GB 2x 750w
$499.88
Dell PowerEdge T620 2x E5-2620 v2 @ 2.20GHz, 64GB 2X600GB HDD DVDRW H310 NO OS
$449.99
Dell Poweredge R720xd 2x Xeon E5-2660 2.2GHz 16-Cores 64gb H710 26x Trays
$364.99
Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server
$349.99