• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

301 Moved Permanently

keny

New Pleskian
Hi,

Just upgrade my server form debian 6 to 7 on a fresh install and reinstall plesk 11.5

Now one of my website keep giving me 301 Moved Permanently redirect on a curl even if i had CURLOPT_FOLLOWLOCATION => true

So this problem comme from plesk or php 5.4 ?

PS. curl try to load a page from my own domain

ex http://www.mydomain.com/test.php i have a redirect to tell me that the page is now there :http://www.mydomain.com/test.php !!

work with external domain

i am completly lost here
 
Ok i found the problem

i set this in the php.ini
open_basedir = none

But is it the right place to change it ?
/var/www/vhosts/system/domain.tld/etc
 
No. The file will be overwritten next time custom PHP settings are generated. You should put the configuration into either server-wide settings, custom configuration in Panel, or conf/php.ini, and then (in 1st and 3rd cases) you would need to call something like # plesk sbin httpdmng --reconfigure-all to update actual settings.
 
No. The file will be overwritten next time custom PHP settings are generated. You should put the configuration into either server-wide settings, custom configuration in Panel, or conf/php.ini, and then (in 1st and 3rd cases) you would need to call something like # plesk sbin httpdmng --reconfigure-all to update actual settings.


Thanks i was ignoring that we can manage php.ini in plesk !
 
Back
Top