RE: Fresh install won't run - kenjis - 07-10-2024
As far as I can see, there is nothing wrong with these settings in app/Config/App.php.
Then, if you replace the content of "public/index.php" as follows:
and what will you see when you navigate to http://myserver.local/ ?
RE: Fresh install won't run - bogus - 07-10-2024
(07-10-2024, 02:08 AM)kenjis Wrote: As far as I can see, there is nothing wrong with these settings in app/Config.php.
Then, if you replace the content of "public/index.php" as follows:
and what will you see when you navigate to http://myserver.local/ ?
a blank screen.
tried it without and with closing ?> php tag...
That was helpful.
I suppose now, that there is a problem with the php engine respectively with the php.ini.
Is there a link here describing how the php.ini has to look like, which modules need to be loaded etc?
A google query didn't give me any usable result.
Appreciate.
Gee
RE: Fresh install won't run - kenjis - 07-10-2024
What if you navigate to http://myserver.local/index.php ?
What if you remove "public/.htaccess"?
And did you see Apache error log?
RE: Fresh install won't run - bogus - 07-10-2024
In both cases the same result.
The Apache logs don't show anything suspicious.
Mostly 200 and the error log some unrelated messages from the mpm_prefork module, not even warnings....
But like I said above...
It seems now to me more like an php.ini related issue.
RE: Fresh install won't run - bogus - 07-10-2024
Here is my stripped off comments php.ini.
Please note the extensions part and the manually enabled extensions for CI.
The rest should be like after a fresh install.
Code: ;
; php.ini
;
; --- Language Options ------------------------------------------------------- ;
engine = On
short_open_tag = Off
precision = 14
output_buffering = 4096
zlib.output_compression = Off
implicit_flush = Off
unserialize_callback_func =
serialize_precision = -1
disable_functions =
disable_classes =
zend.enable_gc = On
zend.exception_ignore_args = On
zend.exception_string_param_max_len = 0
; --- Miscellaneous ---------------------------------------------------------- ;
expose_php = On
; --- Resource Limits -------------------------------------------------------- ;
max_execution_time = 30
max_input_time = 60
memory_limit = 128M
; --- Error handling and logging --------------------------------------------- ;
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = Off
display_startup_errors = Off
log_errors = On
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
; --- Data Handling ---------------------------------------------------------- ;
variables_order = "GPCS"
request_order = "GP"
register_argc_argv = Off
auto_globals_jit = On
post_max_size = 8M
auto_prepend_file
auto_append_file =
default_mimetype = "text/html"
default_charset = "UTF-8"
; --- Paths and Directories -------------------------------------------------- ;
doc_root =
user_dir =
extension_dir = "/usr/lib/php/modules/"
enable_dl = Off
; --- File Uploads ----------------------------------------------------------- ;
file_uploads = On
upload_max_filesize = 2M
max_file_uploads = 20
; --- Fopen wrappers --------------------------------------------------------- ;
allow_url_fopen = On
allow_url_include = Off
default_socket_timeout = 60
; --- Dynamic Extensions ----------------------------------------------------- ;
;extension=bcmath
;extension=bz2
;extension=calendar
extension=curl
;extension=dba
;extension=enchant
;extension=exif
;extension=ffi
;extension=ftp
extension=gd
;extension=gettext
;extension=gmp
;extension=iconv
extension=intl
;extension=ldap
;extension=mysqli
;extension=odbc
zend_extension=opcache
;extension=pdo_dblib
;extension=pdo_mysql
;extension=pdo_odbc
;extension=pdo_pgsql
;extension=pdo_sqlite
;extension=pgsql
;extension=pspell
;extension=shmop
;extension=snmp
;extension=soap
;extension=sockets
;extension=sodium
;extension=sqlite3
;extension=sysvmsg
;extension=sysvsem
;extension=sysvshm
;extension=tidy
;extension=xsl
extension=zip
; Manually added for C I installation
extension=/usr/lib/php/modules/imagick.so
extension=/usr/lib/php/modules/memcache.so
extension=/usr/lib/php/modules/memcached.so
zend_extension=/usr/lib/php/modules/xdebug.so
; --- Module Settings -------------------------------------------------------- ;
[CLI Server]
cli_server.color = On
[Date]
[filter]
[iconv]
[imap]
[intl]
[sqlite3]
[Pcre]
[Pdo]
[Pdo_mysql]
pdo_mysql.default_socket=
[Phar]
[mail function]
SMTP = localhost
smtp_port = 25
mail.add_x_header = Off
mail.mixed_lf_and_crlf = Off
[ODBC]
odbc.allow_persistent = On
odbc.check_persistent = On
odbc.max_persistent = -1
odbc.max_links = -1
odbc.defaultlrl = 4096
odbc.defaultbinmode = 1
[MySQLi]
mysqli.max_persistent = -1
mysqli.allow_persistent = On
mysqli.max_links = -1
mysqli.default_port = 3306
mysqli.default_socket =
mysqli.default_host =
mysqli.default_user =
mysqli.default_pw =
[mysqlnd]
mysqlnd.collect_statistics = On
mysqlnd.collect_memory_statistics = Off
[OCI8]
[PostgreSQL]
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0
[bcmath]
bcmath.scale = 0
[browscap]
[Session]
session.save_handler = files
session.use_strict_mode = 0
session.use_cookies = 1
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly =
session.cookie_samesite =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.referer_check =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.sid_length = 26
session.trans_sid_tags = "a=href,area=href,frame=src,form="
session.sid_bits_per_character = 5
[Assertion]
zend.assertions = -1
[COM]
[mbstring]
[gd]
[exif]
[Tidy]
tidy.clean_output = Off
[soap]
soap.wsdl_cache_enabled=1
soap.wsdl_cache_dir="/tmp"
soap.wsdl_cache_ttl=86400
soap.wsdl_cache_limit = 5
[sysvshm]
[ldap]
ldap.max_links = -1
[dba]
[opcache]
opcache.enable=1
[curl]
[openssl]
[ffi]
;;; END OF FILE ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
RE: Fresh install won't run - kenjis - 07-10-2024
What if you change the following for debugging?
Code: error_reporting = E_ALL
display_errors = On
display_startup_errors = On
RE: Fresh install won't run - bogus - 07-11-2024
hey...
first, thanks for trying to help me.
only few people are consistent with that.
I changed the php.ini like you can see in the following 'code' snippet.
First I inspected /var/log/httpd/error.log which didn't show any error messages related to
php (just a warning and a notice - see above) and then I touched a file in /etc/php/ called
error.log and linked php to it as you can see. Both bring no results in form of any error
messages when I call the index in question.
I rather look stupid than being it....
Since its an interpreter I don't need to recompile or restart any service something, that's correct yes?
Code: ; --- Error handling and logging --------------------------------------------- ;
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = On
display_startup_errors = On
log_errors = On
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
error_log = /etc/php/error.log
RE: Fresh install won't run - ozornick - 07-11-2024
Do I need to restart apache2 after the changes. He can use the old ini.
Have you tried installing a new copy nearby?
RE: Fresh install won't run - kenjis - 07-11-2024
If you change php.ini, you must restart Apache if you are using mod_php.
If you are using php-fpm (with Apache), you must restart php-fpm server.
RE: Fresh install won't run - bogus - 07-11-2024
(07-11-2024, 01:29 AM)kenjis Wrote: If you change php.ini, you must restart Apache if you are using mod_php.
If you are using php-fpm (with Apache), you must restart php-fpm server.
I did, nothing changed.
First I was worried that I didn't load the php module but it is compiled in today, isn't it?
|