It took a little messing around but I managed to get Synchronet Web Server to use php-cgi.exe 7.3.2 on Win7 X_86 (yes, I know php-fpm is faster) which has access to mysql 5.5.62 and works well with phpmyadmin 5.0.2 For me, I had to run php-cgi.exe as a server (ie start /b c:\php\php-cgi.exe -b 127.0.0.1:9000) and for phpmyadmin I had to use auth type config and supply the username/password in the config.inc.php file ... I will change this behavior later as well as get ssl to work properly.
http://alleycat.synchro.net:81/images/sbbs-php.jpg
Re: SBBS/PHP/MYSQL
By: Mortifis to All on Sat Mar 21 2020 12:22 pm
It took a little messing around but I managed to get Synchronet Web Server to use php-cgi.exe 7.3.2 on Win7 X_86 (yes, I know php-fpm is faster) which has access to mysql 5.5.62 and works well with phpmyadmin 5.0.2 For me, I had to run php-cgi.exe as a server (ie start /b c:\php\php-cgi.exe -b 127.0.0.1:9000) and for phpmyadmin I had to use auth type config and supply the username/password in the config.inc.php file ... I will change this behavior later as well as get ssl to work properly.
http://alleycat.synchro.net:81/images/sbbs-php.jpg
Cool. Care to create how-to page at wiki.synchro.net?
digital man
Yes, I can do that, likely this week; Thank you for the invite. I'll doit
for Windows 1st, then play around with Linux. One small issue I have is getting php-cgi to run as a background service, the 1st attempt at a *.vbs wasn't very stable. Any ideas?
It took a little messing around but I managed to get Synchronet WebServer to use php-cgi.exe 7.3.2 on Win7 X_86 (yes, I know php-fpm is faster) which has access
to mysql 5.5.62 and works well with phpmyadmin 5.0.2 For me, I had torun php-cgi.exe as a server (ie start /b c:\php\php-cgi.exe -b 127.0.0.1:9000) and for
phpmyadmin I had to use auth type config and supply the username/passwordin the config.inc.php file ... I will change this behavior later as well as get ssl to
work properly.
On linux I didnt need to do that, and I can probably test on Windows too. You needed a fairly recently build of Synchronet though, since Deuce fixed something that stopped php-cgi from working (as documented on the wiki).
Just an FYI, the fix that Deuce made only applies to the *nix builds ofsbbs and only affects sbbs when running non-daemonized.
There were no known or reported issues with the CGI support on theWindows build of sbbs.
Re: SBBS/PHP/MYSQL
By: Mortifis to All on Sat Mar 21 2020 12:22 pm
It took a little messing around but I managed to get Synchronet Web Server to use php-cgi.exe 7.3.2 on Win7 X_86 (yes, I know php-fpm is faster) which has access
to mysql 5.5.62 and works well with phpmyadmin 5.0.2 For me, I had to run php-cgi.exe as a server (ie start /b c:\php\php-cgi.exe -b 127.0.0.1:9000) and for
phpmyadmin I had to use auth type config and supply the username/password in the config.inc.php file ... I will change this behavior later as well as get ssl to
work properly.
You did?
On linux I didnt need to do that, and I can probably test on Windows too. You needed a fairly recently build of Synchronet though, since Deuce fixed something that stopped php-cgi from working (as documented on the wiki). ...deon
Re: SBBS/PHP/MYSQLtoo.
By: alterego to Mortifis on Sun Mar 22 2020 09:35 am
On linux I didnt need to do that, and I can probably test on Windows
sbbsYou needed a fairly recently build of Synchronet though, since Deuce fixed something that stopped php-cgi from working (as documented on the wiki).
Just an FYI, the fix that Deuce made only applies to the *nix builds of
and only affects sbbs when running non-daemonized.
There were no known or reported issues with the CGI support on the Windows build of sbbs.
digital man
It took a little messing around but I managed to get Synchronet Web Serverto
use php-cgi.exe 7.3.2 on Win7 X_86 (yes, I know php-fpm is faster) which has access to mysql 5.5.62 and works well with phpmyadmin 5.0.2 For me, I hadto
run php-cgi.exe as a server (ie start /b c:\php\php-cgi.exe -b127.0.0.1:9000)
and for phpmyadmin I had to use auth type config and supply the username/password in the config.inc.php file ... I will change this behavior later as well as get ssl to work properly.
http://alleycat.synchro.net:81/images/sbbs-php.jpg
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 412 |
Nodes: | 16 (2 / 14) |
Uptime: | 15:29:19 |
Calls: | 8,617 |
Calls today: | 3 |
Files: | 13,238 |
Messages: | 5,936,876 |