First time trying BookStack. At first blush, I thought this is not a bookstack issue and must be apache issue, but now I do not think so. I could be wrong, and any help appreciated.
1) I have index.php (the bookstack one) and index1.php in my public folder. phpinfo() is coded into index1.php and the output of that is below. So fair to say php is active on apache? I am thinking yes
2) To ensure this is not an apache configuration issue, I swapped index1.php with index.php and it did load index.php when attempting to load the domain. So http://mysubdomain.domain.com did load the phpinfo(), but when I swap back the index.php from BookStack it does the 500 internal server error page
3) I do see apache access logs indicating a 500, and nothing on the apache error logs
4) /storage/logs/laravel.log has no new entries in it (last entry there is a few hours about mysql access issue that I since resolved). 5) APP_DEBUG=TRUE is set in .env file and php artisan config:clear done after this flag addition, but still nothing in laravel.log
6) I saw references to "folder permission issues" and I ensured all the folders are owned by the same user than is running httpd
7) PHP-FPM is what is installed
8) I do see all BookStack tables are created, so app initiation worked well it looks like - including the app accessing the local mysql
I cannot really figure out how to debug this further as nothing in laravel or apache logs. Any help?
===========
PHP Version 8.2.15
System Linux ip-.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 12 18:15:55 UTC 2024 x86_64
Build Date Jan 16 2024 12:19:32
Build System Linux
Build Provider Amazon Linux
Compiler gcc (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2)
Architecture x86_64
Server API FPM/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc
Loaded Configuration File /etc/php.ini
Scan this dir for additional .ini files /etc/php.d
Additional .ini files parsed /etc/php.d/10-opcache.ini, /etc/php.d/20-bz2.ini, /etc/php.d/20-calendar.ini, /etc/php.d/20-ctype.ini, /etc/php.d/20-curl.ini, /etc/php.d/20-dom.ini, /etc/php.d/20-exif.ini, /etc/php.d/20-fileinfo.ini, /etc/php.d/20-ftp.ini, /etc/php.d/20-gettext.ini, /etc/php.d/20-iconv.ini, /etc/php.d/20-intl.ini, /etc/php.d/20-mbstring.ini, /etc/php.d/20-mysqlnd.ini, /etc/php.d/20-pdo.ini, /etc/php.d/20-phar.ini, /etc/php.d/20-posix.ini, /etc/php.d/20-shmop.ini, /etc/php.d/20-simplexml.ini, /etc/php.d/20-sockets.ini, /etc/php.d/20-sodium.ini, /etc/php.d/20-sqlite3.ini, /etc/php.d/20-sysvmsg.ini, /etc/php.d/20-sysvsem.ini, /etc/php.d/20-sysvshm.ini, /etc/php.d/20-tokenizer.ini, /etc/php.d/20-xml.ini, /etc/php.d/20-xmlwriter.ini, /etc/php.d/20-xsl.ini, /etc/php.d/20-zip.ini, /etc/php.d/30-mysqli.ini, /etc/php.d/30-pdo_mysql.ini, /etc/php.d/30-pdo_sqlite.ini, /etc/php.d/30-xmlreader.ini
PHP API 20220829
PHP Extension 20220829
Zend Extension 420220829
Zend Extension Build API420220829,NTS
PHP Extension Build API20220829,NTS
Debug Build no
Thread Safety disabled
Zend Signal Handling enabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
Zend Max Execution Timers disabled
Exact BookStack Version
v24.05.01
Log Content
No response
Hosting Environment
Linux on AWS (additional info is in the phpinfo() I passed into the description)
Attempted Debugging
Searched GitHub Issues
Describe the Scenario
First time trying BookStack. At first blush, I thought this is not a bookstack issue and must be apache issue, but now I do not think so. I could be wrong, and any help appreciated.
1) I have index.php (the bookstack one) and index1.php in my public folder. phpinfo() is coded into index1.php and the output of that is below. So fair to say php is active on apache? I am thinking yes 2) To ensure this is not an apache configuration issue, I swapped index1.php with index.php and it did load index.php when attempting to load the domain. So http://mysubdomain.domain.com did load the phpinfo(), but when I swap back the index.php from BookStack it does the 500 internal server error page 3) I do see apache access logs indicating a 500, and nothing on the apache error logs 4) /storage/logs/laravel.log has no new entries in it (last entry there is a few hours about mysql access issue that I since resolved). 5) APP_DEBUG=TRUE is set in .env file and php artisan config:clear done after this flag addition, but still nothing in laravel.log 6) I saw references to "folder permission issues" and I ensured all the folders are owned by the same user than is running httpd 7) PHP-FPM is what is installed 8) I do see all BookStack tables are created, so app initiation worked well it looks like - including the app accessing the local mysql
I cannot really figure out how to debug this further as nothing in laravel or apache logs. Any help?
=========== PHP Version 8.2.15 System Linux ip-.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 12 18:15:55 UTC 2024 x86_64
Build Date Jan 16 2024 12:19:32
Build System Linux
Build Provider Amazon Linux
Compiler gcc (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2)
Architecture x86_64
Server API FPM/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc
Loaded Configuration File /etc/php.ini
Scan this dir for additional .ini files /etc/php.d
Additional .ini files parsed /etc/php.d/10-opcache.ini, /etc/php.d/20-bz2.ini, /etc/php.d/20-calendar.ini, /etc/php.d/20-ctype.ini, /etc/php.d/20-curl.ini, /etc/php.d/20-dom.ini, /etc/php.d/20-exif.ini, /etc/php.d/20-fileinfo.ini, /etc/php.d/20-ftp.ini, /etc/php.d/20-gettext.ini, /etc/php.d/20-iconv.ini, /etc/php.d/20-intl.ini, /etc/php.d/20-mbstring.ini, /etc/php.d/20-mysqlnd.ini, /etc/php.d/20-pdo.ini, /etc/php.d/20-phar.ini, /etc/php.d/20-posix.ini, /etc/php.d/20-shmop.ini, /etc/php.d/20-simplexml.ini, /etc/php.d/20-sockets.ini, /etc/php.d/20-sodium.ini, /etc/php.d/20-sqlite3.ini, /etc/php.d/20-sysvmsg.ini, /etc/php.d/20-sysvsem.ini, /etc/php.d/20-sysvshm.ini, /etc/php.d/20-tokenizer.ini, /etc/php.d/20-xml.ini, /etc/php.d/20-xmlwriter.ini, /etc/php.d/20-xsl.ini, /etc/php.d/20-zip.ini, /etc/php.d/30-mysqli.ini, /etc/php.d/30-pdo_mysql.ini, /etc/php.d/30-pdo_sqlite.ini, /etc/php.d/30-xmlreader.ini
PHP API 20220829
PHP Extension 20220829
Zend Extension 420220829
Zend Extension Build API420220829,NTS
PHP Extension Build API20220829,NTS
Debug Build no
Thread Safety disabled
Zend Signal Handling enabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
Zend Max Execution Timers disabled
Exact BookStack Version
v24.05.01
Log Content
No response
Hosting Environment
Linux on AWS (additional info is in the phpinfo() I passed into the description)