The document provides instructions for adding the GD Graphics Library extension (gd.so) to PHP5 on Mac OS X Server 10.5.7 or greater. It outlines downloading and installing dependencies like libjpeg. It then guides the user through getting PHP files, configuring GD for their system, and verifying the installation. Key steps include using terminal commands to download, configure, make, and install libraries before restarting services.
Node.js 101 with Rami Sayar
Presented on September 18 2014 at
FITC's Web Unleashed Toronto 2014 Conference
More info at www.fitc.ca
OVERVIEW
Node.js is a runtime environment and library for running JavaScript applications outside the browser. Node.js is mostly used to run real-time server applications and shines through its performance using non-blocking I/O and asynchronous events. This talk will introduce you to Node.js by showcasing the environment and its two most popular libraries: express and socket.io.
TARGET AUDIENCE
Beginner web developers
ASSUMED AUDIENCE KNOWLEDGE
Working knowledge of JavaScript and HTML5.
OBJECTIVE
Learn how to build a chat engine using Node.js and WebSockets.
FIVE THINGS AUDIENCE MEMBERS WILL LEARN
Node.js environment and basics
Node Package Manager overview
Web Framework, express, basics
WebSockets and Socket.io basics
Building a chat engine using Node.js
Nginx 0.8.x + php 5.2.13 (fast cgi) setup web serverwruben
nginx [engine x] is a HTTP and reverse proxy server, as well as a mail proxy server written by Igor Sysoev. It has been running for more than five years on many heavily loaded Russian sites including Rambler (RamblerMedia.com).
Node.js 101 with Rami Sayar
Presented on September 18 2014 at
FITC's Web Unleashed Toronto 2014 Conference
More info at www.fitc.ca
OVERVIEW
Node.js is a runtime environment and library for running JavaScript applications outside the browser. Node.js is mostly used to run real-time server applications and shines through its performance using non-blocking I/O and asynchronous events. This talk will introduce you to Node.js by showcasing the environment and its two most popular libraries: express and socket.io.
TARGET AUDIENCE
Beginner web developers
ASSUMED AUDIENCE KNOWLEDGE
Working knowledge of JavaScript and HTML5.
OBJECTIVE
Learn how to build a chat engine using Node.js and WebSockets.
FIVE THINGS AUDIENCE MEMBERS WILL LEARN
Node.js environment and basics
Node Package Manager overview
Web Framework, express, basics
WebSockets and Socket.io basics
Building a chat engine using Node.js
Nginx 0.8.x + php 5.2.13 (fast cgi) setup web serverwruben
nginx [engine x] is a HTTP and reverse proxy server, as well as a mail proxy server written by Igor Sysoev. It has been running for more than five years on many heavily loaded Russian sites including Rambler (RamblerMedia.com).
Scalable Cloud-Native Masterless Puppet, with PuppetDB and Bolt, Craig Watson...Puppet
Building, managing and scaling a highly-available Puppet master in the cloud can be a painful and complex task. Masterless Puppet, together with PuppetDB and Bolt, can solve this pain in a horizontally-scaleable, cloud-native environment.
A soup to nuts presentation on using Composer and repository servers to manage and leverage shared code libraries for personal projects to the largest enterprise.
Php Dependency Management with Composer ZendCon 2016Clark Everetts
A deep-dive for beginners into Composer, the dependency manager for PHP. Learn how Composer helps you obtain the components your applications depend upon, installs them into your project, and controls their update to newer versions.
Scalable Cloud-Native Masterless Puppet, with PuppetDB and Bolt, Craig Watson...Puppet
Building, managing and scaling a highly-available Puppet master in the cloud can be a painful and complex task. Masterless Puppet, together with PuppetDB and Bolt, can solve this pain in a horizontally-scaleable, cloud-native environment.
A soup to nuts presentation on using Composer and repository servers to manage and leverage shared code libraries for personal projects to the largest enterprise.
Php Dependency Management with Composer ZendCon 2016Clark Everetts
A deep-dive for beginners into Composer, the dependency manager for PHP. Learn how Composer helps you obtain the components your applications depend upon, installs them into your project, and controls their update to newer versions.
Javascript : "Fullstack" le développement front, le développement back, les optimisations. Un framework nait tous les jours, ces planches présentent des solutions qui, fin 2015, sont adoptées et permettent la mise en place d'applications rapides, dynamiques, ergonomiques et simples.
LIGGGHTS is an Open Source Discrete Element Method Particle Simulation Software developed by Sandia National Labs. LIGGGHTS stands for LAMMPS Improved for General Granular and Granular Heat Transfer Simulations. The higher programming language C++ is used to write the code of LIGGGHTS, which can be run either in a single- or multi processor. In this document we will discuss about the LIGGGHTS installation for the Linux operating system Ubuntu 12.04 LTS, 13.04, 14.04 LTS and 16.04 LTS. In order to install LIGGGHTS we need few libraries, like libvtk5-dev, libeigen2-dev,
libopenmpi-dev, a C++ compiler, Open MPI, LPP and Paraview. In this article we will discuss the installation procedure of each one in details.
Centralized open source deployment to capture and deploy multi plate-form images and providing centralized authentication and authorization with OpenLDAP for verifyimg on client machine.
Hands on Docker - Launch your own LEMP or LAMP stack - SunshinePHPDana Luther
In this tutorial we will go over setting up a standard LEMP stack for development use and learn how to modify it to mimic your production/pre-production environments as closely as possible. We will go over how to switch from Nginx to Apache, upgrade PHP versions and introduce additional storage engines such as Redis to the equation. We'll also step through how to run both unit and acceptance suites using headless Selenium images in the stack. Leave here fully confident in knowing that whatever environment you get thrown into, you can replicate it and work in it comfortably.
Installing Installing IBM Rational Rhapsody Designer and Architect for MBSEFraser Chadburn
Detailed screen shots for installation of IBM Rational Rhapsody with Cygwin gcc compiler for executable Model-based Systems Engineering usage. Base instructions for preparing machines for training provided by www.mbsetraining.com.
In his public lecture, Christian Timmerer provides insights into the fascinating history of video streaming, starting from its humble beginnings before YouTube to the groundbreaking technologies that now dominate platforms like Netflix and ORF ON. Timmerer also presents provocative contributions of his own that have significantly influenced the industry. He concludes by looking at future challenges and invites the audience to join in a discussion.
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
GridMate - End to end testing is a critical piece to ensure quality and avoid...ThomasParaiso2
End to end testing is a critical piece to ensure quality and avoid regressions. In this session, we share our journey building an E2E testing pipeline for GridMate components (LWC and Aura) using Cypress, JSForce, FakerJS…
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofsAlex Pruden
This paper presents Reef, a system for generating publicly verifiable succinct non-interactive zero-knowledge proofs that a committed document matches or does not match a regular expression. We describe applications such as proving the strength of passwords, the provenance of email despite redactions, the validity of oblivious DNS queries, and the existence of mutations in DNA. Reef supports the Perl Compatible Regular Expression syntax, including wildcards, alternation, ranges, capture groups, Kleene star, negations, and lookarounds. Reef introduces a new type of automata, Skipping Alternating Finite Automata (SAFA), that skips irrelevant parts of a document when producing proofs without undermining soundness, and instantiates SAFA with a lookup argument. Our experimental evaluation confirms that Reef can generate proofs for documents with 32M characters; the proofs are small and cheap to verify (under a second).
Paper: https://eprint.iacr.org/2023/1886
How to Get CNIC Information System with Paksim Ga.pptxdanishmna97
Pakdata Cf is a groundbreaking system designed to streamline and facilitate access to CNIC information. This innovative platform leverages advanced technology to provide users with efficient and secure access to their CNIC details.
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...SOFTTECHHUB
The choice of an operating system plays a pivotal role in shaping our computing experience. For decades, Microsoft's Windows has dominated the market, offering a familiar and widely adopted platform for personal and professional use. However, as technological advancements continue to push the boundaries of innovation, alternative operating systems have emerged, challenging the status quo and offering users a fresh perspective on computing.
One such alternative that has garnered significant attention and acclaim is Nitrux Linux 3.5.0, a sleek, powerful, and user-friendly Linux distribution that promises to redefine the way we interact with our devices. With its focus on performance, security, and customization, Nitrux Linux presents a compelling case for those seeking to break free from the constraints of proprietary software and embrace the freedom and flexibility of open-source computing.
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!SOFTTECHHUB
As the digital landscape continually evolves, operating systems play a critical role in shaping user experiences and productivity. The launch of Nitrux Linux 3.5.0 marks a significant milestone, offering a robust alternative to traditional systems such as Windows 11. This article delves into the essence of Nitrux Linux 3.5.0, exploring its unique features, advantages, and how it stands as a compelling choice for both casual users and tech enthusiasts.
In the rapidly evolving landscape of technologies, XML continues to play a vital role in structuring, storing, and transporting data across diverse systems. The recent advancements in artificial intelligence (AI) present new methodologies for enhancing XML development workflows, introducing efficiency, automation, and intelligent capabilities. This presentation will outline the scope and perspective of utilizing AI in XML development. The potential benefits and the possible pitfalls will be highlighted, providing a balanced view of the subject.
We will explore the capabilities of AI in understanding XML markup languages and autonomously creating structured XML content. Additionally, we will examine the capacity of AI to enrich plain text with appropriate XML markup. Practical examples and methodological guidelines will be provided to elucidate how AI can be effectively prompted to interpret and generate accurate XML markup.
Further emphasis will be placed on the role of AI in developing XSLT, or schemas such as XSD and Schematron. We will address the techniques and strategies adopted to create prompts for generating code, explaining code, or refactoring the code, and the results achieved.
The discussion will extend to how AI can be used to transform XML content. In particular, the focus will be on the use of AI XPath extension functions in XSLT, Schematron, Schematron Quick Fixes, or for XML content refactoring.
The presentation aims to deliver a comprehensive overview of AI usage in XML development, providing attendees with the necessary knowledge to make informed decisions. Whether you’re at the early stages of adopting AI or considering integrating it in advanced XML development, this presentation will cover all levels of expertise.
By highlighting the potential advantages and challenges of integrating AI with XML development tools and languages, the presentation seeks to inspire thoughtful conversation around the future of XML development. We’ll not only delve into the technical aspects of AI-powered XML development but also discuss practical implications and possible future directions.
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
Essentials of Automations: The Art of Triggers and Actions in FME
Adding_GD2_to_PHP_on_OS_X_Server_10_5_Leopard
1. Adding the GD Graphics Library
extension (gd.so) to PHP5 on
Mac OS X Server 10.5.7 or greater
for 64- and 32-bit CPUs
1. - Introduction
2. - Requirements
3. - Getting and installing libjpeg
4. - Getting and installing the GD Graphics Library Ext.
5. - Caveats - READ this chapter!
----------------------------------------------------------------
DISCLAIMER: The author(s) claim(s) no responsibility for any
damage that may occur from the use of any information found here
or found on links followed from this document. The author(s)
will take credit for the good stuff though.
All items and/or companies mentioned on this and other pages are
or may be trademarks, registered trademarks, or service marks of
the respective companies or individuals.
----------------------------------------------------------------
2. 1. - Introduction
NOTE: With the introduction of Mac OS X Server 10.5 Leopard a
few things have changed with regards to included libraries and
PHP5. For example, the mysql client libraries are not present
anymore, so recompiling PHP exactly as intended by Apple is not
possible. It still is possible to update PHP5 when new versions
come out, but it will require a few workarounds. Given this
situation, we have decided to split the GD and PHP tutorials
into 10.4.x and 10.5.x versions. Furthermore, the 10.5 tutorial
on the GD Graphics Library is now available in two flavors. One,
universally applicable and one purely PHP centric, like the
current one.
The purpose of this document is to provide instructions on how
to add the GD Graphics Library Extension (gd.so) to PHP5 on OS X
10.5.7 or greater Server. Since there are certain differences,
it has separate instructions for 64- and 32-bit CPUs.
Unlike our other tutorial: "Installing GD Graphics Library on
Mac OS X Server 10.5.x", this will not install a universally
available library, but only what is required to use GD from
PHP5. On the bright side, you will not need to recompile PHP5
from scratch.
You will not find many explanations as to why something is done
one way or the other. There are plenty of tutorials on this
around on the internet. This document should just help you in
getting things done.
The GD Graphics Library depends on other libraries to be
installed first. These include: zlib, libpng, libjpeg et al.
Luckily, the Developer Tools for OS X Server 10.5 include
current versions for all but libjpeg.
This document will require you to use the command line. If you
do not feel comfortable with using the command line, you should
look for a ready made installer package or for somebody to
assist you.
This document is written for Mac OS X 10.5.7 or greater. It may
or may not work on earlier versions.
3. DISCLAIMER: Whatever you do based on this document, you do it at
your own risk! Just in case you haven't understood: Whatever you
do based on this document, you do it at your own risk!
This tutorial has been tested on a standard Mac OS X 10.5.7
Server installation. If you have already tinkered with your
system, be aware that things might differ. It is impossible for
me to foresee all changes that one might have applied to a
server.
This tutorial contains step-by-step instructions for the
terminal. Although you could just type them in line by line, it
is recommended you have a basic understanding of the terminal.
NOTE: Throughout this document you will see a few instructions that
differ between 32- and 64-bit CPUs. Leopard Server is built with
Universal Binaries, which contain 4 architectures (32- and 64-bit for
PPC and Intel). On a 64-bit system, Apache2 will try to load the 64-bit
image of libphp5.so, so it is important that Apache2 can find it. Thus,
we must compile PHP5 and/or all related modules as the same type of
Universal Binary. Well, you could also just build versions relevant to
your system, but I am not going to publish x variations ;-)
(This is a very simplified version of what really goes on, just so you
understand certain apparent redundancies).
4. 2. - Requirements
Before you get started, you need to make sure some basic
requirements are met:
- You have made a backup of your system.
- You have the latest version of Apple's Developer Tools
(XCode 3.1.2 or higher for 10.5) installed.
Dev Tools are available on your Server DVD and as a free
download from Apple's Developer Connection.
- X11 is installed (part of standard OS X Server install unless
you deselect it)
- X11 SDK is installed (available on your OS X Developer Tools
Disc or Image and part of the standard installation. This is
different from the X11 client that comes with OS X.)
- You do have a backup
- You are running 10.5.7 or greater
- You have not manually updated anything related to GD,
libpng, libjpeg and freetype so far (if you have, you must
know how to adapt these instructions to the changes you
made).
- Not a requirement, but it is recommended you subscribe to our
newsletter(s) or follow us on Twitter to be informed when
updated versions of this and other tutorials become
available:
http://osx.topicdesk.com/newsletter/
http://twitter.com/topicdesk/
5. 3. - Getting and installing libjpeg
This chapter will guide you through installing libjpeg. It is
required for GD to work.
So let's get going:
Make sure you are logged in as root.
Get and install the latest version of the libraries by issuing
the following commands (in oblique type). Issue them one after
the other making sure you do not miss any dots or slashes. Note
that the download URLs may change in the future. In that case
just replace the URLs in this document with the current one.
Lines wrapping without line spacing are a single command.
(First we create our environment)
mkdir -p /SourceCache
cd /SourceCache
(Now we get the jpeg library and unpack it.)
curl -O ftp://ftp.internat.freebsd.org/pub/FreeBSD/
distfiles/jpegsrc.v6b.tar.gz
tar xzpf jpegsrc.v6b.tar.gz
(Next we install libjpeg)
cd /SourceCache/jpeg-6b
cp /usr/share/libtool/config.sub .
cp /usr/share/libtool/config.guess .
6. NOTE: The following configure command is different for 32- and
64-bit CPUs
NOTE: Just in case you missed it: The following configure
command is different for 32- and 64-bit CPUs
For 32-bit use:
./configure --enable-shared
For 64-bit use:
MACOSX_DEPLOYMENT_TARGET=10.5 CFLAGS="-arch ppc -arch
ppc64 -arch i386 -arch x86_64 -g -Os -pipe -no-cpp-
precomp" CCFLAGS="-arch ppc -arch ppc64 -arch i386 -arch
x86_64 -g -Os -pipe" CXXFLAGS="-arch ppc -arch ppc64 -
arch i386 -arch x86_64 -g -Os -pipe" LDFLAGS="-arch ppc
-arch ppc64 -arch i386 -arch x86_64 -bind_at_load" ./
configure --enable-shared
make
mkdir -p /usr/local/include
mkdir -p /usr/local/bin
mkdir -p /usr/local/lib
mkdir -p /usr/local/man/man1
make install
7. 4. - Getting and installing the GD Graphics Library extension
(gd.so)
This chapter will guide you through getting and installing the
GD Graphics Library extension (gd.so).
So let's get going:
Make sure you are logged in as root.
Install the GD Graphics Library extension by issuing the
following commands (in oblique type). Issue them one after the
other making sure you do not miss any dots or slashes. Lines
wrapping without line spacing are a single command.
Note: For maximum compatibility, we will be downloading the
needed PHP files from Apple's Darwin Sources.
mkdir -p /SourceCache
cd /SourceCache
curl -O http://www.opensource.apple.com/source/
apache_mod_php/apache_mod_php-44.2/php-5.2.8.tar.bz2
tar xjf php-5.2.8.tar.bz2
cd /SourceCache/php-5.2.8/ext/gd
phpize
8. NOTE: The following configure command is different for 32- and
64-bit CPUs
NOTE: Just in case you missed it: The following configure
command is different for 32- and 64-bit CPUs
For 32-bit use:
./configure --with-zlib-dir=/usr --with-jpeg-dir=/usr/
local/lib --with-png-dir=/usr/X11R6 --with-freetype-
dir=/usr/X11R6 --with-xpm-dir=/usr/X11R6
For 64-bit use:
MACOSX_DEPLOYMENT_TARGET=10.5 CFLAGS="-arch ppc -arch
ppc64 -arch i386 -arch x86_64 -g -Os -pipe -no-cpp-
precomp" CCFLAGS="-arch ppc -arch ppc64 -arch i386 -arch
x86_64 -g -Os -pipe" CXXFLAGS="-arch ppc -arch ppc64 -
arch i386 -arch x86_64 -g -Os -pipe" LDFLAGS="-arch ppc
-arch ppc64 -arch i386 -arch x86_64 -bind_at_load" ./
configure --with-zlib-dir=/usr --with-jpeg-dir=/usr/
local/lib --with-png-dir=/usr/X11R6 --with-freetype-
dir=/usr/X11R6 --with-xpm-dir=/usr/X11R6
make
make install
9. The extension has now been built and installed. Next we need to
make sure PHP is aware of it. To this purpose we need to add an
instruction to /etc/php.ini. Apple's stock server installation
does not come with a php.ini file. If you have NOT added one
yourself, just issue the next command.
echo extension=gd.so > /etc/php.ini
If on the other hand you have already created your own /etc/
php.ini, make sure the following parameter is present and
uncommented. If it isn't, add it:
extension=gd.so
Also, if you already had your own php.ini, make sure the
extension_dir= setting is not overriding any defaults. If in doubt,
comment it out or point to the directory gd.so was installed into (usually
/usr/lib/php/extensions/no-debug-non-zts-20060613)
Now that everything is ready, we just restart our web server so
that the extension gets loaded.
apachectl graceful
You are now all set and should have the GD and supporting
libraries installed.
To verify this create a file called info.php with the following
contents:
<?php
phpinfo();
?>
When done, place it in an accessible directory of your web-
server and call it through your browser. Detailed version and
configuration information will be displayed. Among all the
information, you should see a section called "gd" which should
state "GD Support enabled"
10. 5. - Caveats
Not that many. The most important caveat is that if building one
library goes wrong, the rest of the succession will most likely
not work either.
If you have tried to install one of the libraries in the past,
you may have to remove and re-install them (unless you did
install them as described).
If you have modified any paths and or environment variables,
make sure you check them against above instructions.
That's all folks.
Hope this helps.
Have fun,
Alex
------------------------------
Doc. Version 1.1.9, 10.7.2009
Athanasios Alexandrides
Lugano, Switzerland
tutorials -at- topicdesk.com
------------------------------