Toon posts:

[Abyss Web server] geeft php pagina's niet weer

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik gebruik dus Abyss Web server, ingesteld en wel.

Maar als ik dus een php pagina open laat hij die inhoud zien en voert het niet uit.
Hoe kan dit nou ? Dit programmatje ondersteund wel php. Ik heb alle instellingen doorgespit maar ik kom er echt niet uit. En de handleiding van dat programmatje
staat helemaal niks over php.

Weet iemand wat ik fout zou kunnen gedaan hebben ?

  • Gerco
  • Registratie: Mei 2000
  • Laatst online: 04:29

Gerco

Professional Newbie

We hebben er misschien wat meer aan als je ook verteld hoe je instellingen dan staan. Verder heb je in SA meer kans op een antwoord, aangezien dit niets met PHP te maken heeft.

- "Als ik zou willen dat je het begreep, legde ik het wel beter uit!" | All number systems are base 10!


Verwijderd

Topicstarter
1. Abyss Web Server displays the source code of my CGI scripts instead of executing them. What's wrong?


Open the console, select Server Configuration, then press Advanced... and select CGI Parameters. Check if CGI Enabled is set to Yes. Check also that the CGI scripts are in one of the CGI Paths (or their sub-paths). To allow execution of CGI scripts located anywhere in your web site, add the / (slash) path to the CGI Paths.

dit heb ik dus gedaan maar hij doet nog hetzelfde

Verwijderd

cgi != php he kan ook perl zijn enz

  • Glimi
  • Registratie: Augustus 2000
  • Niet online

Glimi

Designer Drugs

(overleden)
Hmmz ik zie niet helemaal wat er P&W (zelf programmeren) aan dit vraagstuk is. Mij lijkt het eerder een probleem met een Softwarepakket. Dat is ook de reden dat ik dit topic naar SA move.

Bedenk wel dat daar andere policy's gelden. Kijk zelf na of je topic aan die policy's voldoet, en zo niet pas het dan zelf aan. :)

Verwijderd

Topicstarter
On Windows:


Download PHP for Windows from http://www.php.net/downloads.php and install it.
Open Abyss Web Server's console, select Server Configuration then press Advanced... and select CGI Parameters
Set CGI Processing Enabled to Yes.
Press Add... in the CGI Interpreters table.
In the Interpreter Path field, enter the path of the php.exe executable file. If you have installed PHP in C:\Program Files\PHP, enter C:\Program Files\PHP\php.exe.
Enter php in the Associated extensions and press OK.
Press Add... in the CGI Paths table.
Enter / in the CGI Path field and press OK.
Press Add... in the User CGI Environment Variables table.
Enter REDIRECT_STATUS (with no leading or trailing spaces) in the Name field and 200 in the Value field and press OK.
Press OK in the CGI Parameters dialog.
Select Server Parameters.
Press Add... in the Index Files table.
Enter index.php in the Index file field and press OK.
Press Restart to restart the server.

En toen deet ie het !! :)

Verwijderd

geweldig he, zo'n stap-voor-stap handleiding ;)
Pagina: 1