Solved

cPanel + PHP Problem

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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
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 look for a specific file type in a local or remote server directory using PHP.

830 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