Originally posted by glennrocksvb
View Post
string(4) "root" bool(false) bool(false)
![]() ![]() |
My Amazon Affiliate Link Fast vBulletin VPS Host: This site is hosted by IONOS |
![]() ![]() |
My Amazon Affiliate Link Fast vBulletin VPS Host: This site is hosted by IONOS |
<?php
$path = '/var/log/apache2/blockedregistrations';
clearstatcache(true, $path);
echo "Input path: $path<br />";
echo "realpath: " . realpath($path) . "<br />";
echo "file_exists: " . (file_exists($path) ? 'true' : 'false') . "<br />";
echo "is_dir: " . (is_dir($path) ? 'true' : 'false') . "<br />";
echo "is_writable: " . (is_writable($path) ? 'true' : 'false') . "<br />";
echo "Current user: " . exec('whoami') . "<br />";
echo "PHP SAPI: " . php_sapi_name() . "<br />";
echo "open_basedir: " . ini_get('open_basedir') . "<br />";![]() ![]() |
My Amazon Affiliate Link Fast vBulletin VPS Host: This site is hosted by IONOS |
sudo chown www-data:www-data /var/log/apache2/blockedregistrations sudo chmod 750 /var/log/apache2/blockedregistrations
sudo chown root:www-data /var/log/apache2/blockedregistrations sudo chmod 770 /var/log/apache2/blockedregistrations
![]() ![]() |
My Amazon Affiliate Link Fast vBulletin VPS Host: This site is hosted by IONOS |
sudo mkdir -p /var/www/data/blockedregistrations sudo chown -R www-data:www-data /var/www/data sudo chmod -R 750 /var/www/data
![]() ![]() |
My Amazon Affiliate Link Fast vBulletin VPS Host: This site is hosted by IONOS |
![]() ![]() |
My Amazon Affiliate Link Fast vBulletin VPS Host: This site is hosted by IONOS |
root@kfn1:/var/www/data/blockedregistrations# list total 12 drwxr-x--- 2 www-data www-data 4096 2025-09-23 18:12:07 . drwxr-x--- 3 www-data www-data 4096 2025-09-23 18:06:47 .. -rw-r--r-- 1 www-data www-data 222 2025-09-23 18:12:07 gmail_block_log.csv
root@kfn1:/var/www/data/blockedregistrations# cat gmail_block_log.csv Date,Email,Username,"IP Address",Useragent "2025-09-23 18:12:07",[email protected],justsomenewguy,66.41.172.97,"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:144.0) Gecko/20100101 Firefox/144.0"
![]() ![]() |
My Amazon Affiliate Link Fast vBulletin VPS Host: This site is hosted by IONOS |
![]() ![]() |
My Amazon Affiliate Link Fast vBulletin VPS Host: This site is hosted by IONOS |



Comment