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 do it 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 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.
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 of sbbs 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.
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/MYSQL
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 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 of sbbs 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 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
Sysop: | Chris Crash |
---|---|
Location: | Huntington Beach, CA. |
Users: | 601 |
Nodes: | 8 (0 / 8) |
Uptime: | 05:20:30 |
Calls: | 10,807 |
Calls today: | 1 |
Files: | 5 |
Messages: | 484,206 |