• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue I can't enable Smart static files

HoracioS

Regular Pleskian
Server operating system version
Ubuntu 22.04.3 LTS
Plesk version and microupdate number
18.0.56 #3
Because running 'plesk bin apache --listen-on-localhost true' breaks PHP '$_SERVER["SERVER_ADDR"]', I moved a site to NGINX.
Here is where the issue with NGINX begins. The 'Smart static files processing' loses the accent mark no matter how I mark and save it. Is there an error somewhere? It's a new installation of Plesk on ARM.
I am attaching the screenshots.

Best regards,
Horacio


Screenshot 2023-11-03 at 2.28.08 PM.pngScreenshot 2023-11-03 at 2.28.41 PM.pngScreenshot 2023-11-03 at 2.29.31 PM.png
 
Hello!

It's quite strange, on my 18.0.56#3 Ubuntu 22 aarch64 box disabling proxy mode doesn't affect Smart static files processing. However, smart static files processing is only matters when the site runs in nginx + apache mode (Proxy mode on), so if you plan to stick on nginx, you can ignore this checkbox.

Meanwhile, Plesk 18.0.56#3 include fix for $_SERVER["SERVER_ADDR"] for php-fpm on modern versions Apache.
 
Meanwhile, Plesk 18.0.56#3 include fix for $_SERVER["SERVER_ADDR"] for php-fpm on modern versions Apache.
Yes, but a website that needs to view the public IP address in PHP '$_SERVER["SERVER_ADDR"]' returns 127.0.0.1 instead of the public IP address if it's running on Apache, which is why it requires NGINX.
 
Yes, but a website that needs to view the public IP address in PHP '$_SERVER["SERVER_ADDR"]' returns 127.0.0.1 instead of the public IP address if it's running on Apache, which is why it requires NGINX.
Yes, that's exactly this issue issue addressed in 18.0.56#3. However, you need to use php-fpm served by Apache and may be need to rebuild apache configs after applying the fix via plesk repair web domain.tld
 
Back
Top