Solved

cPanel + PHP Problem

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

803 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