Solved

cPanel + PHP Problem

Posted on 2011-02-25
4
408 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article discusses how to create an extensible mechanism for linked drop downs.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

762 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

20 Experts available now in Live!

Get 1:1 Help Now