Forum Moderators: coopster
Windows 98, PWS running, displaying *.asp works fine. I downloaded and installed the 1 MB Windows installer version of PHP. (Also downloaded and installed MySQL, and managed to start MySQL and run a query or two.)
Wrote the tutorial's test.php file, and placed it in c:\Inetpub\wwwroot. PWS is definitely running, but when I try to display [localhost...] in Internet Explorer, it gives a "Page cannot be displayed" error. This is with Read/Execute/Scripts checked.
If only Read and Scripts are checked, then I get the 403 Access Forbidden Error. Does this error come from PWS or from PHP?
How do I know that PHP is actually running, or that it's configured to start at bootup time? (Seeing that the Windows installer file did all the installation, and nothing was done by myself?)
Should I give up on PWS and install Apache on my Win98 box? Have noticed on the Web that others have had similar problems.
How do I know that PHP is actually running, or that it's configured to start at bootup time? (Seeing that the Windows installer file did all the installation, and nothing was done by myself?)
with pws php.exe runs as cgi, that means it does not have to run when your system starts. php.exe is executed each time a .php file is requested on your webserver (pws).
you can check your valid configuration by double-clicking on an existing .php file. if php.exe starts and starts executing the file then you did fine.
i think for you as you're just starting with php, pws might do the job for the first 2 weeks, so you can later on try to install apache if you learned more about webserver and what they do (and can do).
There's no one near me that would understand how it feels when something works, so I'll have to tell you guys about it.
My PHP installation was done via the Windows self-installer. Anyway, my Internet cries for help indicated "follow the install.txt", so I did the part which tells you to create new keys in the Registry:
phpfile - shell - open - command - path to php, etc
and it works.
Gee, wow, now I can get on with testing my PHP scripts.
Thanks a stack for the help. How did we ever live without the Net?