Problems with running php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
potatohead
Forum Newbie
Posts: 5
Joined: Tue Apr 01, 2003 11:16 am

Problems with running php

Post by potatohead »



i was unable to get php to run on pws on win98. its pws v4.0 and i installed php according to the readme, using several of the options - failing completely, then i downloaded the installer, and it still doesnt work. i have a german sys, so the error message is in german. the server seems to understand that php is something different, but it cant find a library (which has been mapped in the registry, i checked).

Code: Select all

Ein der für die Ausführung dieser Anwendung notwendige Bibliothekdateien kann nicht gefunden werden.
Translation:

Code: Select all

A library file, necessary for running this application, could not be found.
thanx for any help,

Tom
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

often it is php4ts.dll that cannot be found
install.txt wrote: You need to ensure that the dlls which php uses can be found. The precise dlls involved depend on which web server you use and whether you want to run php as a cgi or as a server module. php4ts.dll is always used.
potatohead
Forum Newbie
Posts: 5
Joined: Tue Apr 01, 2003 11:16 am

Post by potatohead »

volka wrote:often it is php4ts.dll that cannot be found
install.txt wrote: You need to ensure that the dlls which php uses can be found. The precise dlls involved depend on which web server you use and whether you want to run php as a cgi or as a server module. php4ts.dll is always used.
the file's there, but do i need to define another path to make it available? and yes, i can run php as a cgi, it doesnt do anything, but it runs.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

aye, the text of install.txt continues with
To make sure that the dlls can be found, you can either copy them to the system directory (e.g. winnt/system32 or windows/system) ...
c:\windows\system applies to win98.
potatohead
Forum Newbie
Posts: 5
Joined: Tue Apr 01, 2003 11:16 am

Post by potatohead »

volka wrote:aye, the text of install.txt continues with
To make sure that the dlls can be found, you can either copy them to the system directory (e.g. winnt/system32 or windows/system) ...
c:\windows\system applies to win98.
doh! :roll:

either i have to get glasses, or actually read the readme file... :wink:


<span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span>: das verdammte pws will es einfach nicht schlucken, es heist, eine "Eine DLL-Initialisierungsroutine ist fehlgeschlagen". wassisn jetzt los? 8O
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Lots of people seem to have prob's with PWS and PHP - you may want to consider using Apache as your web server - much less painful.

Mac
potatohead
Forum Newbie
Posts: 5
Joined: Tue Apr 01, 2003 11:16 am

Post by potatohead »

twigletmac wrote:Lots of people seem to have prob's with PWS and PHP - you may want to consider using Apache as your web server - much less painful.

Mac
sigh...alright then. :roll:
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

easyphp.org - apache/mysql/php in one easy to install bundle

Think you might have to remove PWS first though - both try to use same port or something.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

McGruff wrote:Think you might have to remove PWS first though - both try to use same port or something.
Or you could just turn PWS off...

Mac
potatohead
Forum Newbie
Posts: 5
Joined: Tue Apr 01, 2003 11:16 am

Post by potatohead »

twigletmac wrote:
McGruff wrote:Think you might have to remove PWS first though - both try to use same port or something.
Or you could just turn PWS off...

Mac
thanx for the tip, but im smart enough to figure that out myself... :roll:
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

potatohead wrote:
twigletmac wrote:
McGruff wrote:Think you might have to remove PWS first though - both try to use same port or something.
Or you could just turn PWS off...

Mac
thanx for the tip, but im smart enough to figure that out myself... :roll:
I wasn't trying to insult your intelligence, just thought I'd point out that nobody has to uninstall PWS to install Apache - it's a fairly common misconception.

Mac
Post Reply