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).
phpThose CGIExtensions must include the '.' (.php,.pl,.py).
In reality they do, I copied that from another system that does not have
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: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 48:20:08 |
Calls: | 6,648 |
Files: | 12,198 |
Messages: | 5,329,987 |