Fresh install won't run |
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: PHP Code: <?php and what will you see when you navigate to http://myserver.local/ ? (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. 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
The only absolute knowledge attainable by man is that life is meaningless. (Tolstoi)
What if you navigate to http://myserver.local/index.php ?
What if you remove "public/.htaccess"? And did you see Apache error log?
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.
The only absolute knowledge attainable by man is that life is meaningless. (Tolstoi)
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: ;
The only absolute knowledge attainable by man is that life is meaningless. (Tolstoi)
What if you change the following for debugging?
Code: error_reporting = E_ALL
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 --------------------------------------------- ;
The only absolute knowledge attainable by man is that life is meaningless. (Tolstoi)
Do I need to restart apache2 after the changes. He can use the old ini.
Have you tried installing a new copy nearby?
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. (07-11-2024, 01:29 AM)kenjis Wrote: If you change php.ini, you must restart Apache if you are using mod_php. 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?
The only absolute knowledge attainable by man is that life is meaningless. (Tolstoi)
|
Welcome Guest, Not a member yet? Register Sign In |