php-windows Digest 2 Mar 2003 03:55:19 -0000 Issue 1613
Topics (messages 18795 through 18800):
Re: php.ini
18795 by: Sven Schnitzke
18798 by: Anthony Ritter
18799 by: Anthony Ritter
unlink?
18796 by: Paul Dymecki
Re: Include virtual?
18797 by: Christoph Grottolo
18800 by: Wayne
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi Tony,
in my config (WIN98SE, PHP4.4.0-dev dec 02 ISAPI mode, Apache
1.3.23) GD2 works fine. So it should be possible to get yours going.
What about my suggestions on the error logging and stuff? No
comments from PHP? Just silently passing away?
If it is so that sounds like rests of an old installation hanging around
(incompatible dlls, possibly not even GD/GD2 itself, multiple PHP.INI and
so on). Do you have any other extension working?
The dlls of PHP are NOT versioned like M$ COM Objects, so little differences
in the versioning might hang your system. Do you use the dlls that came
with your other PHP binaries or did you fetch them later?
And please take a look at the complaints of PHP at startup. Most likely
there are some.
Good luck
--
Sven
> -----Ursprüngliche Nachricht-----
> Von: Anthony Ritter [SMTP:[EMAIL PROTECTED]
> Gesendet am: Samstag, 1. März 2003 04:18
> An: [EMAIL PROTECTED]
> Betreff: [PHP-WIN] php.ini
>
> I run the following script:
>
> <?
> phpinfo();
> ?>
>
> // the page loads o.k. when the semi-colon remains as in:
> ;extension=php_gd2.dll
>
> but if I remove the semicolon as in:
>
> extension=php_gd2.dll
>
> the page won't load and the server hangs up.
> ..........................................
>
> \\ this is my php.ini file on MS Win 98/ PHP/ Apache
>
>
> ; Directory in which the loadable extensions (modules) reside.
> extension_dir = "C:\PHP\"
>
> ; Whether or not to enable the dl() function. The dl() function does NOT
> work
> ; properly in multithreaded servers, such as IIS or Zeus, and is
> automatically
> ; disabled on them.
> enable_dl = On
>
> extension=php_gd2.dll
> ...................................................
>
> Any advice on how I can install GD libraries greatly appreciated.
> Thank you.
> Tony Ritter
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Sven,
I've checked my php.ini files on my drive and all I've got is one.
The php_gd2.dll file is in:
C:/PHP/extensions
There was no default folder called extensions when I installed PHP so I made
a directory called extensions under PHP.
Everytime I take out the semicolon in the .ini file, the page won't load and
I've got to shut down Apache server manually.
If I put the semicolon back in, the page loads fine.
I don't have a clue. Somewhere between the .ini file and Apache something
is very screwed up.
TR
---
[This E-mail scanned for viruses by gonefishingguideservice.com]
--- End Message ---
--- Begin Message ---
P.S.
If you get a moment, maybe you could send me a .txt file of your php.ini
file along with you php_gd2.dll setup.
That way I could check line for line.
Many thanks,
TR
---
[This E-mail scanned for viruses by gonefishingguideservice.com]
--- End Message ---
--- Begin Message ---
Hello,
I was wondering if anyone knows how to delete a file from the
filesystem? I've been trying unlink but it doesn't seem to be working as
expected. Do spaces in the file path have to be compensated for or
something?
thx for any help,
Paul
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
--- End Message ---
--- Begin Message ---
[EMAIL PROTECTED] (Charles P. Killmer) wrote:
>Files from many different directories include the same template.php
>
>Also I am using IIS.
I think it's possible to set per dir values in IIS over the registry.
There was Daniel Beulshausen who knew much about that - but he's no
more involved with php development.
Maybe you find something in the php source code... or an old mailing
list entry in the archives... Shane Caraveo seems to know about, see
http://marc.theaimsgroup.com/?l=php-dev&m=102044630224903&w=2
Tell us if you find out something...
Christoph
--- End Message ---
--- Begin Message ---
depending on what u are using with your scripts [if the template.php doesnt
include other files etc]
include("Relative Path/To/template.php");
will work. [../ & ./ included]
HOWEVER:
if your template.php includes files [IE: Say banner-design.php]
You would be better off to do:
<?php
chdir("C:\Path\To\Template\Dir\");
include("template.php");
?>
chdir("Directory"); also excepts Relative paths [IE:
chdir("../Files/includes/);]
how that helps.
Wayne
"Charles P. Killmer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Files from many different directories include the same template.php
Also I am using IIS.
Charles
-----Original Message-----
From: Wayne [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 3:22 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Re: Include virtual?
if the file which you are including it from is located at:
e:\sites\website1\somefile.php
using either:
include("E:\Sites\Website1\template.php");
OR:
include("template.php");
will both work :)
"Charles P. Killmer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I think my original question has been lost.
Include("/template.php");
I want this to include the file located at
e:\sites\website1\template.php
Not
e:\template.php
Charles
-----Original Message-----
From: Wayne Pearsall [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 12:09 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Re: Include virtual?
yeh, it will work that way :)
[EMAIL PROTECTED] wrote:Not sure I understand this.
We all know you can do
include("path-relative-to-current-directory/filename");
We all also know you can do
include("/path-relative-to-root-of-server/filename");
The original question was, basically, can you do
include("path-relative-to-root-of-website/filename").
And if so, how?
Jill
-----Original Message-----
From: Wayne [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 6:43 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Re: Include virtual?
include("filedir/file.php");
this will work with full or virtual paths :)
================================
Get Free Visitors, Invest and Make *at least* 144% Return on Purchases
Guarenteed!:
http://www.1heluva.com/cgi-bin/join.cgi?refer=2028&trk=sig
Click For Real Money, Visitors, Prizes, and MORE!:
http://www.clickitycash.com/cgi-bin/join.cgi?refer=29055&trk=sig
---------------------------------
With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits
your needs
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---