Instead of a *.php script displaying it pops up a download dialogue, I haven't made any changes to any .ini files.
CGIExtensions=.cgi, php, pl, py
Re: PHP
By: Mortifis to All on Sun Feb 17 2019 23:10:33
Instead of a *.php script displaying it pops up a download dialogue, I haven't made any changes to any .ini files.
I'm not sure what's up with the missing periods here or if they're a problem:
CGIExtensions=.cgi, php, pl, py
Maybe run through these instructions and make sure your setup aligns with them:
http://wiki.synchro.net/howto:php
Something recently php-cgi messed up on me and I can't figure out whaty is amiss.
Instead of a *.php script displaying it pops up a download dialogue, I haven't made any changes to any .ini files.
sbbs.ini:
[Web] Web (HTTP) Server
AutoStart=true
Interface=0.0.0.0,::
Port=81
TLSInterface=0.0.0.0,::
TLSPort=443
MaxClients=150
RootDirectory=../web/root
ErrorDirectory=error
IndexFileNames=index.php,index.html,index.ssjs,index.xjs
CGIDirectory=../web/root/cgi
CGIExtensions=.cgi, php, pl, py
Re: PHP
By: Mortifis to All on Sun Feb 17 2019 11:10 pm
Something recently php-cgi messed up on me and I can't figure out whaty is amiss.
Instead of a *.php script displaying it pops up a download dialogue, I haven't made any changes to any .ini files.
sbbs.ini:
[Web] Web (HTTP) Server
AutoStart=true
Interface=0.0.0.0,::
Port=81
TLSInterface=0.0.0.0,::
TLSPort=443
MaxClients=150
RootDirectory=../web/root
ErrorDirectory=error
IndexFileNames=index.php,index.html,index.ssjs,index.xjs
CGIDirectory=../web/root/cgi
CGIExtensions=.cgi, php, pl, py
Those CGIExtensions must include the '.' (.php,.pl,.py).
Those CGIExtensions must include the '.' (.php,.pl,.py).
In reality they do, I copied that from another system that does not have php installed on it and I hand typed them in after I pasted it to the message.
I figured out what the problem was ...
Re: Re: PHP
By: Mortifis to Digital Man on Mon Feb 18 2019 03:15 am
Those CGIExtensions must include the '.' (.php,.pl,.py).
In reality they do, I copied that from another system that does not have php installed on it and I hand typed them in after I pasted it to the message.
I figured out what the problem was ...
... and what was it?
CGIExtensions=.cgi, php, pl, py
Those CGIExtensions must include the '.' (.php,.pl,.py).
In reality they do, I copied that from another system that does not have php installed on it and I hand typed them in after I pasted it to the message. I figured out what the problem was ...
| Sysop: | Winzlo |
|---|---|
| Location: | Minnesota, USA |
| Users: | 11 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 495937:26:00 |
| Calls: | 82 |
| Files: | 1,070 |
| D/L today: |
27 files (11,920K bytes) |
| Messages: | 286,956 |