Solved

cPanel + PHP Problem

Posted on 2011-02-25
4
409 Views
Last Modified: 2012-06-27
I changed the upload limit in cPanel INI configuration and clicked Update. This has stopped PHP from running on the domain. But, the same installation works fine on the sub-domain (same server).

The website just shows a blank white page, until I changed this setting it was working fine.

Where should I look?
0
Comment
Question by:numberkruncher
  • 3
4 Comments
 
LVL 11

Expert Comment

by:mattibutt
ID: 34982208
What is your hosting provider if you don't jave control over your server then its something needs to fixed by your web hosting company also check the apache error log for specific error if this is caused by your web server or its the issue with your web app in the process of reducing the file upload size was there another setting listed there
0
 
LVL 13

Author Comment

by:numberkruncher
ID: 34982357
I have fully control over the server and the hosting company are not being very helpful.

Reducing the upload size again did not resolve the problem. cPanel seems to have corrupted something upon hitting "Update".

I checked error_log under the domain in question. What file should I open for apache error log?

Thanks
0
 
LVL 13

Accepted Solution

by:
numberkruncher earned 0 total points
ID: 34984982
I have finally managed to resolve the issue.

I managed to fix this by rebuilding apache via the update feature under the cPanel UI. This improved matters, but for some reason the MySQLi module for PHP was not installed correctly. So I was forced to revert back to the MySQL database driver in the PHP scripts.
0
 
LVL 13

Author Closing Comment

by:numberkruncher
ID: 35015608
Managed to solve problem.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to use md5 hashing 3 28
Php pie charts 3 26
Calculating number of days between two dates 7 32
How do I remove all except the numbers?  PHP  Regex 3 10
These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article discusses four methods for overlaying images in a container on a web page
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now