You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
Run sudo chown -R www-data:www-data /var/www/html/icecoder
Run sudo chmod -R 755 /var/www/html/icecoder
PHP is working:
(base) balter@spectre:/var/www/html$ php --version
PHP 8.1.2 (cli) (built: Aug 8 2022 07:28:23) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Zend OPcache v8.1.2, Copyright (c), by Zend Technologies
5. Visit `localhost/icecoder`
6. See PHP error
7.
**Expected behavior**
It to "work" :)
**Browser & Server (please complete the following information):**
- Browser: Firefox
- Server: Apache
The text was updated successfully, but these errors were encountered:
If I cd into the icecoder directory and do php -S localhost:8080 then I can access at localhost:8080. However, I can't open files outside of the icecoder directory because the server (i.e. PHP) doesn't see the parent directory. If I start the PHP server in the parent directory, all I get at localhost:8080 is the default apache landing page.
I'd probably start with the ones at the bottom of this section (remember to keep session_start() tho - don't comment out that one). Could be a little trial & error till you identify the conflict that's happening.
Just remember to close down all browser windows between attempts, to get a fresh session and so fresh test between attempts to pinpoint the issue.
Hope this helps!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
I get this:
To Reproduce
/var/www/html/icecoder
sudo chown -R www-data:www-data /var/www/html/icecoder
sudo chmod -R 755 /var/www/html/icecoder
(base) balter@spectre:/var/www/html$ php --version
PHP 8.1.2 (cli) (built: Aug 8 2022 07:28:23) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Zend OPcache v8.1.2, Copyright (c), by Zend Technologies
The text was updated successfully, but these errors were encountered: