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![]()

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90
Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11
$62.50
LOT OF 3 Micron 16GB 2Rx8 PC4-3200AA DDR4 ECC Server Memory
$255.00
TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98
USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09
128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK
$799.00
Lot of 15 16GB Samsung M393A2K43DB2-CTD7Q DDR4 PC4-2666V RDIMM Server Memory RAM
$1199.00
USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot
$3.75
5 in 1 Memory Card Reader USB 3.0 OTG Adapter SD Card Reader For iPhone/iPad LOT
$9.99
Microsoft Windows 11 Home 64-Bit USB Flash Drive + Key Retail Box - Original
$39.88