Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

cPanel + PHP Problem

Posted on 2011-02-25
4
Medium Priority
?
416 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
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…
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.
Suggested Courses

773 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