Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

2x server same PHP code but only working on one

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
kuchenmann
Posts: 2
Joined: 2024-02-09 07:49

2x server same PHP code but only working on one

#1 Post by kuchenmann »

I've two Debian12 servers.
on is on an older physical server HP Prolian N40L and the second virtual on ProxMox.
It's the same Debian12 bookworm and PHP 8.2.7 on both and the same small test.php.
Tested just a simple form with 2 text-fields which are displayed on same page after clicking on submit, but it only works on the virtual server.
On the physical server I see parts of the PHP code, even before clicking submit.
Any suggestions?
Thanks.
compare
compare

kuchenmann
Posts: 2
Joined: 2024-02-09 07:49

Re: 2x server same PHP code but only working on one

#2 Post by kuchenmann »

After I purged libapache2-mod-php and installed it again, it WORKS!
Thanks

User avatar
fabien
Forum Helper
Forum Helper
Posts: 564
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 57 times
Been thanked: 130 times

Re: 2x server same PHP code but only working on one

#3 Post by fabien »

Hello @kuchenmann, welcome to the forums!

Thank you for updating your topic. I'm happy you found a solution. Could you please mark your topic as [SOLVED] so other users know. To do this, change the title of your first post, e.g.

[SOLVED] 2x server same PHP code but only working on one

Post Reply