Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
45 views

I have 2 domains: domainA.com & domainb.com hosted on same server, same user; with paths: /var/hostdata/username/public_html/domain_a/ & /var/hostdata/username/public_html/domain_b/ Now in ...
0 votes
1 answer
94 views

My php.ini file updated the first time, but won't update anymore. I have an IONOS cloud server running PHP 8.2.2 under Plesk. The php.ini file is at /opt/plesk/php/8.2/etc/php.ini. I went into nano ...
-1 votes
1 answer
99 views

My configuration prevents users to browse the file system thanks to limitations set up in php-fpm (How to disable open_basedir and allow_url_fopen in PHP) I have recently discovered a hacked site with ...
0 votes
1 answer
434 views

I had to do a Wordpress installation on a customer's Windows server. That was only possible via FTP because he doesn't have a Plesk. The installation worked, but if I want to install plugins like &...
0 votes
0 answers
56 views

I'm facing an issue with PHP's open_basedir directive with relation to a composer package that I don't have control over, and use of a Google Font. The package I'm using is matthiasmullie/minify, ...
oucil's user avatar
  • 4,664
0 votes
1 answer
3k views

a friend of mine is running a WordPress site and suddenly started getting this error on administrative pages. Warning: file_exists(): open_basedir restriction in effect. File(core/post-comments) is ...
0 votes
2 answers
67 views

I've created a working plugin and now I've created a second one. I would like to acces a file that's in the plugin 2 directory, from within the plugin 1 directory. I've tried it by using the below ...
-1 votes
1 answer
162 views

I have a php (php-fpm) script script1.php running in /var/www/html/folder1/script1.php, protected with open_basedir "/var/www/html/folder1". From that script, I call a 2nd script script2.php ...
0 votes
1 answer
3k views

I'm trying to run this code: $img = new Imagick('ttt.jpg'); $quality = $img->getImageCompressionQuality(); echo $quality; I have two websites which have this code and they are running on plesk. ...
user avatar
0 votes
1 answer
861 views

I try to execute: var_dump(ini_set("open_basedir",ini_get("open_basedir"))); with PHP and get false. Apache 2. PHP Version: 5.3.28, it should change it from script, how i read at ...
0 votes
1 answer
3k views

after changing the value of open_basedir in php.ini in this path /usr/local/php73/lib/php.ini to /home/admin/:/tmp/:/var/tmp/:/opt/alt/php73/usr/share/pear/:/dev/urandom:/usr/local/php73/lib/:/usr/...
1 vote
1 answer
1k views

I'm already using open_basedir to restrict a VirtualHost to a certain directory: <VirtualHost *:80> ServerName test.example.com DocumentRoot /sites/test/www php_admin_value "...
0 votes
1 answer
837 views

I'm trying to change a text file located inside the /etc/nginx directory via php. I'm using fopen() to do this, however, I cannot access any directory outside my websites root folder. For example, I ...
0 votes
0 answers
374 views

On my Synology (linux) server I have set-up three Apache2.4 / PHP web environment with the roots being: /volume1/web /volume1/webDevZone /volume1/webTstZone I would like to have a mechanism where I ...
0 votes
0 answers
79 views

I run a server for several websites, driven by ISPConfig. There are (for now) 4 php versions installed : 5.6, 7.0, 7.2, 7.3. I would like to maximize the security and I arrived at the open_basedir ...

15 30 50 per page
1
2 3 4 5
...
10

AltStyle によって変換されたページ (->オリジナル) /