Skip to main content

Weird things with PHP in new subdomains, after importing WHM settings, and cPanel account to CentOS7 from 6

Comments

8 comments

  • keat63
    Did you copy the same PHP config, and install the same modules
    0
  • jasoncollege24
    Unless I misunderstood the documentation, the cpconftool was supposed to handle that for me. I tried to get help/advice before in February of this year about moving my server to an updated OS, (elsewhere on the forums), and was told that it was as easy as installing the OS, installing cpanel, and restoring the backup. your question tells me that answer may have been wrong.
    0
  • cPRex Jurassic Moderator
    I think your statement of "used the cpanel configuration tool to backup the whm config" needs some additional clarification. Can you let me know exactly what you did there? If you're using the tool as outlined here:
    0
  • jasoncollege24
    Actually, I followed the instructions
    0
  • cPRex Jurassic Moderator
    If the PHP is giving a white page, I would expect either an error message to be logged or a memory limit being reached. Is there nothing logged in the main /etc/apache/logs/error_log file when you visit the site that is showing a blank page?
    0
  • jasoncollege24
    uhh... weirdness... after several hours, the situation appears to have resolved itself. I can now upload my custom PHP software, or copy the existing site to the new location, and it functions as originally expected, with no unusual errors. Could this have been a DNS propagation issue, somehow caused by the reimaging? FWIW my nameservers are handled by the server itself, instead of being elsewhere on the internet. (eg NS1, and NS2 are using my server's own IP addresses, instead of using any external nameservers. This has served me well in the past.)
    0
  • cPRex Jurassic Moderator
    It's hard for us to say without physically seeing the issue. It's possible that there was code in the site that was causing a problem with DNS, but I'm glad things are working how you expect now.
    0
  • jasoncollege24
    Doubt it was something in my code, because that never changed. I'll just chalk it up to DNS propagation, and hope that's the case. lol Thanks for all the help, and please consider this resolved.
    0

Please sign in to leave a comment.