php.ini problems

Started on the old forum in May 2014 · view the original in the archive · old links redirect here

6 replies · 236 views · started 12 years ago · 1 min read

4 participants
pmbguy Senior · 344 posts #1

greetings all, ok, a mate got a server for a cheap package (cheap meaning you gotta set it up yourself) n this has been done thanks to guides from google, etc...

Now comes the fun partwhich is actually getting sites to run, n they're not running... I'm presuming it has something to do with the php.ini file,but try as i might,(not really knowing what i'm doing) through the PHP Configuration Editor in the WHM panel, so far I got error 500,n disabled error messages,but the php doesn't seem to be running at all... Anyone got any ideas?

something else Fellow · 2,296 posts #5

Create a new page eg: error.php and run it to view your errors:

<?php
$page = isset($_GET['page']) ? $_GET['page'] : 'index.php';
error_reporting (E_ALL);
ini_set ('display_errors', true);
include($page);
?>

Make sure you make this file not work after you have finished with it - as its a security threat

sanju9890 Newbie · 1 posts #6

If you running "suphp" it should be a permission issue. you can fix by find /home//public_html -type d -exec chmod 755 {} ; find /home//public_html -name '.php' -o -name '.php[345]' -o -name '*.phtml'| xargs chmod -v 644 Also you can try other php handlers as a fast and simple solution.

giant_hacker Junior · 11 posts #7

You have not describe what problem ur facing actually !

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close