# Http 500

**URL:** https://forum.infinityfree.com/t/http-500/83262
**Category:** Hosting Support
**Created:** [September 25, 2023, 11:58am UTC](https://forum.infinityfree.com/t/http-500/83262 "2023-09-25T11:58:54Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![t00000](https://forum.infinityfree.com/letter_avatar/t00000/32/5_5575768a8748004e209b776fc1b2916d.png) [@t00000](https://forum.infinityfree.com/u/t00000)
#### Post date: [September 25, 2023, 11:58am UTC](https://forum.infinityfree.com/t/http-500/83262/1 "2023-09-25T11:58:54Z")

</div>

![image](https://forum-cdn.infinityfree.net/original/3X/8/3/83333ea960195adc138e82f160d9057715cfeea4.png)  
I’m having the same issue on Opera. The same thing shows when I turn on “Display Errors” in Alter PHP Config. On Firefox, it’s just a blank page.

I use Site.pro to build the webpage, so I’m not sure where to check the “script suppressing or capturing error messages from PHP.”

I tried to rename .htaccess file but the same thing shows. What else can I check?

---

<div class="post-metadata">

### Author: ![t00000](https://forum.infinityfree.com/letter_avatar/t00000/32/5_5575768a8748004e209b776fc1b2916d.png) [@t00000](https://forum.infinityfree.com/u/t00000)
#### Post date: [September 25, 2023, 11:59am UTC](https://forum.infinityfree.com/t/http-500/83262/2 "2023-09-25T11:59:28Z")

</div>

Domain checker shows this:

 ![image](https://forum-cdn.infinityfree.net/original/3X/6/0/60155bf29c79271dddf8d8ff8f83e88e32300cd8.png)

---

<div class="post-metadata">

### Author: ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)
#### Post date: [September 25, 2023, 1:02pm UTC](https://forum.infinityfree.com/t/http-500/83262/3 "2023-09-25T13:02:25Z")

</div>

> [@t00000](#):
>
> What else can I check?

What is the hosting volume the hosting account is on?  
This is what I notice

> [@20000 forum users - Awesome Special Event!](https://forum.infinityfree.com/t/20000-forum-users-awesome-special-event/75660/1902):
>
> Currently seeing 500 error on these volumes
> 
> `vol9_4, vol9_3, vol6_4`

---

<div class="post-metadata">

### Author: ![t00000](https://forum.infinityfree.com/letter_avatar/t00000/32/5_5575768a8748004e209b776fc1b2916d.png) [@t00000](https://forum.infinityfree.com/u/t00000)
#### Post date: [September 26, 2023, 2:48am UTC](https://forum.infinityfree.com/t/http-500/83262/4 "2023-09-26T02:48:26Z")

</div>

mine is on vol5\_3  
 ![image](https://forum-cdn.infinityfree.net/original/3X/7/d/7dc279e089179f03b1f4bca503b99f9c3845d784.png)

---

<div class="post-metadata">

### Author: ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)
#### Post date: [September 26, 2023, 5:35am UTC](https://forum.infinityfree.com/t/http-500/83262/5 "2023-09-26T05:35:43Z")

</div>

So I assume a simple html file will load with no issue.

When you put in a php file with below code,

```auto
<?php

// Show all information, defaults to INFO_ALL
phpinfo();

?>

```

500 error will show. Can I confirm that?

---

<div class="post-metadata">

### Author: ![VV.E.O](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/vv.e.o/32/41013_2.png) [@VV.E.O](https://forum.infinityfree.com/u/VV.E.O)
#### Post date: [September 26, 2023, 7:31am UTC](https://forum.infinityfree.com/t/http-500/83262/6 "2023-09-26T07:31:26Z")

</div>

500 error exists in vol6\_4 since Sep21.

phpinfo get error:

**Fatal error** : Uncaught Error: Call to undefined function phpinfo() in /home/vol6\_4/epizy.com/epiz\_31674447/htdocs/test.php:4 Stack trace: #0 {main} thrown in **/home/vol6\_4/epizy.com/epiz\_31674447/htdocs/test.php** on line **4**

---

<div class="post-metadata">

### Author: ![t00000](https://forum.infinityfree.com/letter_avatar/t00000/32/5_5575768a8748004e209b776fc1b2916d.png) [@t00000](https://forum.infinityfree.com/u/t00000)
#### Post date: [September 26, 2023, 7:57am UTC](https://forum.infinityfree.com/t/http-500/83262/7 "2023-09-26T07:57:19Z")

</div>

Not exactly sure how to do it since I’m using site.pro to build the page and publish from there. I tried replacing the index.php in the sitepro folder but it is still showing the same code 500  
 ![image](https://forum-cdn.infinityfree.net/original/3X/e/4/e46d458e07d5f7bb8f8a48ac413cc8a1ca99a183.png)

---

<div class="post-metadata">

### Author: ![t00000](https://forum.infinityfree.com/letter_avatar/t00000/32/5_5575768a8748004e209b776fc1b2916d.png) [@t00000](https://forum.infinityfree.com/u/t00000)
#### Post date: [September 26, 2023, 8:00am UTC](https://forum.infinityfree.com/t/http-500/83262/8 "2023-09-26T08:00:35Z")

</div>

FWIW, I also tried this index.php but same error  
 ![image](https://forum-cdn.infinityfree.net/original/3X/8/4/84e2fed04fbc34f44173281858ca70c855fa1dc5.png)

---

<div class="post-metadata">

### Author: ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)
#### Post date: [September 26, 2023, 3:14pm UTC](https://forum.infinityfree.com/t/http-500/83262/9 "2023-09-26T15:14:21Z")

</div>

Are you able to run this code on your index.php?

```auto
<!DOCTYPE html>
<html>
<body>

<h1>My first PHP page</h1>

<?php
echo "Hello World!";
?>

</body>
</html>

```

---

<div class="post-metadata">

### Author: ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)
#### Post date: [September 26, 2023, 6:43pm UTC](https://forum.infinityfree.com/t/http-500/83262/10 "2023-09-26T18:43:10Z")

</div>

A post was merged into an existing topic: [Another one with HTTP 500 codes](https://forum.infinityfree.com/t/another-one-with-http-500-codes/83327/2)

---

<div class="post-metadata">

### Author: ![t00000](https://forum.infinityfree.com/letter_avatar/t00000/32/5_5575768a8748004e209b776fc1b2916d.png) [@t00000](https://forum.infinityfree.com/u/t00000)
#### Post date: [September 27, 2023, 3:13am UTC](https://forum.infinityfree.com/t/http-500/83262/11 "2023-09-27T03:13:41Z")

</div>

> [@KangJL](#):
>
> ```auto
> <!DOCTYPE html>
> <html>
> <body>
> 
> <h1>My first PHP page</h1>
> 
> <?php
> echo "Hello World!";
> ?>
> 
> </body>
> </html>
> 
> ```

ah… it loads.  
 ![image](https://forum-cdn.infinityfree.net/original/3X/8/4/8452fe9aafd91f01d9afc14c282603dd601077d4.png)  
but what should i see for the php echo? nothing else is showing

---

<div class="post-metadata">

### Author: ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)
#### Post date: [September 27, 2023, 3:17am UTC](https://forum.infinityfree.com/t/http-500/83262/12 "2023-09-27T03:17:13Z")

</div>

Great! At least we know PHP is working

---

<div class="post-metadata">

### Author: ![t00000](https://forum.infinityfree.com/letter_avatar/t00000/32/5_5575768a8748004e209b776fc1b2916d.png) [@t00000](https://forum.infinityfree.com/u/t00000)
#### Post date: [September 27, 2023, 3:19am UTC](https://forum.infinityfree.com/t/http-500/83262/13 "2023-09-27T03:19:18Z")

</div>

what do you mean php is working? i’m only seeing the html codes running?

---

<div class="post-metadata">

### Author: ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)
#### Post date: [September 27, 2023, 3:21am UTC](https://forum.infinityfree.com/t/http-500/83262/14 "2023-09-27T03:21:30Z")

</div>

Read the code again  
I guess you need this now

> [@Http error 500](https://forum.infinityfree.com/t/http-error-500/49352/1):
>
> When trying to access your website, you may see a page which returns the status code “500”. In Google Chrome, you’ll see a page with the error code HTTP ERROR 500. There are typically two reasons which can cause this error: The PHP code has crashed. The .htaccess file contains invalid rules. Here are some things you can try to debug and fix this. Fixing crashing PHP code A HTTP ERROR 500 simply tells you that the PHP code has crashed, but gives no information as to why it has crashed. Gett…

---

<div class="post-metadata">

### Author: ![t00000](https://forum.infinityfree.com/letter_avatar/t00000/32/5_5575768a8748004e209b776fc1b2916d.png) [@t00000](https://forum.infinityfree.com/u/t00000)
#### Post date: [September 27, 2023, 3:25am UTC](https://forum.infinityfree.com/t/http-500/83262/15 "2023-09-27T03:25:00Z")

</div>

this was what i tried before posting (see OP).  
sorry, i only see

# My first PHP page
 running.  
what should i see for this:

\<?php echo "Hello World!"; ?\>

I did not see any “Hello World!”

---

<div class="post-metadata">

### Author: ![t00000](https://forum.infinityfree.com/letter_avatar/t00000/32/5_5575768a8748004e209b776fc1b2916d.png) [@t00000](https://forum.infinityfree.com/u/t00000)
#### Post date: [September 27, 2023, 3:44am UTC](https://forum.infinityfree.com/t/http-500/83262/16 "2023-09-27T03:44:25Z")

</div>

Ok, so I tried the index.php file again from earlier, but this time with the line echo “Hello World!” added

 ![image](https://forum-cdn.infinityfree.net/original/3X/d/8/d8d58b124329faf5bc5c6a61a5f33d9ea6e0a6eb.png)

---

<div class="post-metadata">

### Author: ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)
#### Post date: [September 27, 2023, 3:51am UTC](https://forum.infinityfree.com/t/http-500/83262/17 "2023-09-27T03:51:29Z")

</div>

My bad.

Can you run this instead?

```auto
<?php
echo "Hello World!";
?>

```

Save this file as index3.php and see if “Hello World” loads

---

<div class="post-metadata">

### Author: ![t00000](https://forum.infinityfree.com/letter_avatar/t00000/32/5_5575768a8748004e209b776fc1b2916d.png) [@t00000](https://forum.infinityfree.com/u/t00000)
#### Post date: [September 27, 2023, 7:21am UTC](https://forum.infinityfree.com/t/http-500/83262/18 "2023-09-27T07:21:34Z")

</div>

interesting… index3.php shows “Forbidden”, but index.php shows “Hello World!”

---

<div class="post-metadata">

### Author: ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)
#### Post date: [October 4, 2023, 7:21am UTC](https://forum.infinityfree.com/t/http-500/83262/19 "2023-10-04T07:21:35Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
