I'm working through the O''Reilly book on PHP and MySQL and trying to
load a php file but am getting the following error.
=============== ======
Warning: main(HTML/Template/IT.php): failed to open stream: No such
file or directory in c:\program
files\easyphp1-8\www\wda\sourc e-viewer\source.p hp on line 2
Fatal error: main(): Failed opening required 'HTML/Template/IT.php'
(include_path=' .;C:\PROGRA~1\E ASYPH~1\\php\pe ar\;C:\Program
Files\EasyPHP1-8\PDF PHP') in c:\program
files\easyphp1-8\www\wda\sourc e-viewer\source.p hp on line 2
=============== ======
FYI, when I execute "C:\Program Files\EasyPHP1-8\php\pear>pear .bat
install HTML_Template_I T", I get the following.
=============== =====
PHP Warning: Unknown(): Unable to load dynamic library './php_gd2.dll'
- The specified module could not be found.
in Unknown on line 0
Package 'HTML_Template_ IT' already installed, skipping
=============== =====
Any thoughts re what the problem might be?
TIA,
David 4 1885 da******@gmail. com wrote: I'm working through the O''Reilly book on PHP and MySQL and trying to load a php file but am getting the following error.
=============== ====== Warning: main(HTML/Template/IT.php): failed to open stream: No such file or directory in c:\program files\easyphp1-8\www\wda\sourc e-viewer\source.p hp on line 2
Fatal error: main(): Failed opening required 'HTML/Template/IT.php' (include_path=' .;C:\PROGRA~1\E ASYPH~1\\php\pe ar\;C:\Program Files\EasyPHP1-8\PDF PHP') in c:\program files\easyphp1-8\www\wda\sourc e-viewer\source.p hp on line 2 =============== ======
FYI, when I execute "C:\Program Files\EasyPHP1-8\php\pear>pear .bat install HTML_Template_I T", I get the following.
=============== ===== PHP Warning: Unknown(): Unable to load dynamic library './php_gd2.dll' - The specified module could not be found. in Unknown on line 0 Package 'HTML_Template_ IT' already installed, skipping =============== =====
Any thoughts re what the problem might be?
TIA, David
it is telling you that it does not like something on line 2 of IT.php -
(could be line 1 has a problem). There error goes on to say it cannot
find a file. make sure you have permissions set up correctly - all
files execute as the user that runs the web server - not you and it has
restrictions on what directories it can have access and IIRC, \Program
Files\... is not one of them.
I seem to be missing php_gd2.dll on my system. Is this something I can
download and install?
Thanks,
David
On 2006-04-08, da******@gmail. com <da******@gmail .com> wrote: I seem to be missing php_gd2.dll on my system. Is this something I can download and install?
Sometimes i wonder why people with windows use the installer, because i see only
recommendations to use the zip distribution (the php_gd2.dll is included
with the zip distribution. Probably it's in the pecl package too)
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be >
where would I download it from? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Arne Kösling |
last post by:
Hi !
I am new to Web Services. Therefore I ve set up a PHP Installation on Windows
(PHP 4.3.2 and Apache 1.3.29). I have tested PHP alone and then installed
PEAR. Now I am stuck there (Before that, I had many problems with the
PHP-dlls)
I've set up several SOAP Testscripts that I found on WebSites and in PHP-Books
to get a PHP Client and a PHP Server communicate over Web Services
(using PEAR::SOAP).
|
by: Robert |
last post by:
Iam running a server and PEAR is compiled with PHP. Before some days I have
upgraded PHP from 4.3.4 to 4.3.7 using Apache update from WHM (cPanel). This
went well but after that one client contacted me to tell me that he have
problems with showing some variables. The thing is that he told me that he is
using his own PEAR installation in his web hosting account !
This is part of the code which had a problem:
$ID_rubrike =$row; //THIS...
|
by: Jan Holland |
last post by:
I am trying to install pear on a shared server/host
following the instructions from:
<http://uk.builder.com/architecture/web/0,39026570,20283197,00.htm>
So I made a subdir on my site like:
http://www.urlname.urlextension/pear/
to install the pear into by running
go-pear.php fromthat subdir "pear"
|
by: junkmail |
last post by:
on a win 2k server
apparantly it is saying i dont have it. or it cant find it.
im using mySQL 4.1
php 4.3.x
apache 3.0.53
im new to php and am doing some tutorials, but when i run the sripts it
tells mea it can not run pear/soap, because it can not be found.the book im
learning form does not tell me how to install or configure this extension.
so now im looking for help.
|
by: Gonzalo |
last post by:
Just upgraded php (5.0.3) - compiled from source.
I'm trying to upgrade & install some Pear packages but get the following
error:
$ pear upgrade pear
downloading PEAR-1.3.5.tgz ...
Starting to download PEAR-1.3.5.tgz (108,423 bytes)
..........................done: 108,423 bytes
PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
| |
by: Alan Prescott |
last post by:
I'm running SuSE Linux 9.3, fully up to date
running # pear install db responds with ...
downloading DB-1.7.6.tgz ...
Starting to download DB-1.7.6.tgz (124,807 bytes)
.............................done: 124,807 bytes
requires package `PEAR' >= 1.0b1
DB: Dependencies failed
Googling around this ng I found someone with a similar problem who solved it
|
by: bwhitehd |
last post by:
I'm having a problem installing php. The compile seems to go fine, but
when it gets to the install step I get the following errors. Does
anyone have an idea of what might be the problem? We build our
applications under three different environments (Linux i686, Linux
x86_64, Solaris 8 Sparc). This is the first of the three on a RHEL 3
system using the current stable versions of the GNU toolchain in a
segregated environment. Basically...
|
by: IchBin |
last post by:
I remember having problems with pear when I first installed it but got
it running some time ago. This is on a windoze XP SP OS. I did not think
it was correct because it pointed to "C\php\pear\PEAR". I writing a pear
front-end GUI and I want to have it installed correctly.
It seemed to have some duplication of directories between the lower and
upper cased pear dir names. Should there be a "php\pear\PEAR"
subdirectory? I thought it should...
|
by: Dan Fulbright |
last post by:
I'm trying to install PHP 5.2.2 on Windows, but I keep getting errors
when running go-pear.bat:
mmap cache can't open phar://go-pear.phar/index.php
mmap cache can't open phar://go-pear.phar/PEAR/Start/CLI.php
mmap cache can't open phar://go-pear.phar/PEAR/Start.php
There are 20 of these lines. After continuing through the script, it
dies with this error:
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |