473,327 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

PEAR installaton problem

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\source-viewer\source.php on line 2

Fatal error: main(): Failed opening required 'HTML/Template/IT.php'
(include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\;C :\Program
Files\EasyPHP1-8\PDF PHP') in c:\program
files\easyphp1-8\www\wda\source-viewer\source.php on line 2
=====================

FYI, when I execute "C:\Program Files\EasyPHP1-8\php\pear>pear.bat
install HTML_Template_IT", 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

Apr 6 '06 #1
4 1860
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\source-viewer\source.php on line 2

Fatal error: main(): Failed opening required 'HTML/Template/IT.php'
(include_path='.;C:\PROGRA~1\EASYPH~1\\php\pear\;C :\Program
Files\EasyPHP1-8\PDF PHP') in c:\program
files\easyphp1-8\www\wda\source-viewer\source.php on line 2
=====================

FYI, when I execute "C:\Program Files\EasyPHP1-8\php\pear>pear.bat
install HTML_Template_IT", 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.

Apr 7 '06 #2
I seem to be missing php_gd2.dll on my system. Is this something I can
download and install?

Thanks,
David

Apr 8 '06 #3
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>
Apr 9 '06 #4
where would I download it from?

Apr 10 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
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...
0
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...
3
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:...
3
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...
2
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...
2
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)...
0
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...
1
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...
5
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.