index.php is showing a blank page [closed]











up vote
0
down vote

favorite












PHP 5.6 ubuntu0.18.04.1
mysql Ver 14.14 Distrib5.7.23, for Linux (x86_64)


I put a folder in /var/www/html/frontend



But when I access the folder: localhost/frontend/index.php, I only see a white page.



I have set the error from Off to On in php.ini and short_open_tag On



Still I can't see any errors.



So now I hope someone can help me.










share|improve this question













closed as unclear what you're asking by Melebius, Zanna, guntbert, Charles Green, K7AAY Dec 7 at 22:40


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.











  • 1




    What exactly are you expecting? When you are expecting a 404 (since you only created the folder, but did not put index.php into it), this is configured by the webserver, not php.
    – mondjunge
    Dec 3 at 13:10










  • @E.Bolat where is your index file and what is its content? Try localhost/frontend/ in your URL bar.
    – Yufenyuy Veyeh Dider
    Dec 3 at 13:11












  • Welcome to Ask Ubuntu! What are the contents of your PHP file? Have you succeeded with any other PHP file (e.g. a simple phpinfo(); call)?
    – Melebius
    Dec 3 at 13:13








  • 2




    @E.Bolat - Can we see the code, please?
    – Lewis Smith
    Dec 3 at 13:25






  • 1




    Please try with an index.html file. If it works, your apache is all right. If not, start looking here. Please also check that your DirectoryIndex is looking for php file. Can you also confirm that mod_php is enabled ?
    – ponsfrilus
    Dec 3 at 13:32















up vote
0
down vote

favorite












PHP 5.6 ubuntu0.18.04.1
mysql Ver 14.14 Distrib5.7.23, for Linux (x86_64)


I put a folder in /var/www/html/frontend



But when I access the folder: localhost/frontend/index.php, I only see a white page.



I have set the error from Off to On in php.ini and short_open_tag On



Still I can't see any errors.



So now I hope someone can help me.










share|improve this question













closed as unclear what you're asking by Melebius, Zanna, guntbert, Charles Green, K7AAY Dec 7 at 22:40


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.











  • 1




    What exactly are you expecting? When you are expecting a 404 (since you only created the folder, but did not put index.php into it), this is configured by the webserver, not php.
    – mondjunge
    Dec 3 at 13:10










  • @E.Bolat where is your index file and what is its content? Try localhost/frontend/ in your URL bar.
    – Yufenyuy Veyeh Dider
    Dec 3 at 13:11












  • Welcome to Ask Ubuntu! What are the contents of your PHP file? Have you succeeded with any other PHP file (e.g. a simple phpinfo(); call)?
    – Melebius
    Dec 3 at 13:13








  • 2




    @E.Bolat - Can we see the code, please?
    – Lewis Smith
    Dec 3 at 13:25






  • 1




    Please try with an index.html file. If it works, your apache is all right. If not, start looking here. Please also check that your DirectoryIndex is looking for php file. Can you also confirm that mod_php is enabled ?
    – ponsfrilus
    Dec 3 at 13:32













up vote
0
down vote

favorite









up vote
0
down vote

favorite











PHP 5.6 ubuntu0.18.04.1
mysql Ver 14.14 Distrib5.7.23, for Linux (x86_64)


I put a folder in /var/www/html/frontend



But when I access the folder: localhost/frontend/index.php, I only see a white page.



I have set the error from Off to On in php.ini and short_open_tag On



Still I can't see any errors.



So now I hope someone can help me.










share|improve this question













PHP 5.6 ubuntu0.18.04.1
mysql Ver 14.14 Distrib5.7.23, for Linux (x86_64)


I put a folder in /var/www/html/frontend



But when I access the folder: localhost/frontend/index.php, I only see a white page.



I have set the error from Off to On in php.ini and short_open_tag On



Still I can't see any errors.



So now I hope someone can help me.







server apache2 php






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 3 at 13:05









E.Bolat

1




1




closed as unclear what you're asking by Melebius, Zanna, guntbert, Charles Green, K7AAY Dec 7 at 22:40


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as unclear what you're asking by Melebius, Zanna, guntbert, Charles Green, K7AAY Dec 7 at 22:40


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 1




    What exactly are you expecting? When you are expecting a 404 (since you only created the folder, but did not put index.php into it), this is configured by the webserver, not php.
    – mondjunge
    Dec 3 at 13:10










  • @E.Bolat where is your index file and what is its content? Try localhost/frontend/ in your URL bar.
    – Yufenyuy Veyeh Dider
    Dec 3 at 13:11












  • Welcome to Ask Ubuntu! What are the contents of your PHP file? Have you succeeded with any other PHP file (e.g. a simple phpinfo(); call)?
    – Melebius
    Dec 3 at 13:13








  • 2




    @E.Bolat - Can we see the code, please?
    – Lewis Smith
    Dec 3 at 13:25






  • 1




    Please try with an index.html file. If it works, your apache is all right. If not, start looking here. Please also check that your DirectoryIndex is looking for php file. Can you also confirm that mod_php is enabled ?
    – ponsfrilus
    Dec 3 at 13:32














  • 1




    What exactly are you expecting? When you are expecting a 404 (since you only created the folder, but did not put index.php into it), this is configured by the webserver, not php.
    – mondjunge
    Dec 3 at 13:10










  • @E.Bolat where is your index file and what is its content? Try localhost/frontend/ in your URL bar.
    – Yufenyuy Veyeh Dider
    Dec 3 at 13:11












  • Welcome to Ask Ubuntu! What are the contents of your PHP file? Have you succeeded with any other PHP file (e.g. a simple phpinfo(); call)?
    – Melebius
    Dec 3 at 13:13








  • 2




    @E.Bolat - Can we see the code, please?
    – Lewis Smith
    Dec 3 at 13:25






  • 1




    Please try with an index.html file. If it works, your apache is all right. If not, start looking here. Please also check that your DirectoryIndex is looking for php file. Can you also confirm that mod_php is enabled ?
    – ponsfrilus
    Dec 3 at 13:32








1




1




What exactly are you expecting? When you are expecting a 404 (since you only created the folder, but did not put index.php into it), this is configured by the webserver, not php.
– mondjunge
Dec 3 at 13:10




What exactly are you expecting? When you are expecting a 404 (since you only created the folder, but did not put index.php into it), this is configured by the webserver, not php.
– mondjunge
Dec 3 at 13:10












@E.Bolat where is your index file and what is its content? Try localhost/frontend/ in your URL bar.
– Yufenyuy Veyeh Dider
Dec 3 at 13:11






@E.Bolat where is your index file and what is its content? Try localhost/frontend/ in your URL bar.
– Yufenyuy Veyeh Dider
Dec 3 at 13:11














Welcome to Ask Ubuntu! What are the contents of your PHP file? Have you succeeded with any other PHP file (e.g. a simple phpinfo(); call)?
– Melebius
Dec 3 at 13:13






Welcome to Ask Ubuntu! What are the contents of your PHP file? Have you succeeded with any other PHP file (e.g. a simple phpinfo(); call)?
– Melebius
Dec 3 at 13:13






2




2




@E.Bolat - Can we see the code, please?
– Lewis Smith
Dec 3 at 13:25




@E.Bolat - Can we see the code, please?
– Lewis Smith
Dec 3 at 13:25




1




1




Please try with an index.html file. If it works, your apache is all right. If not, start looking here. Please also check that your DirectoryIndex is looking for php file. Can you also confirm that mod_php is enabled ?
– ponsfrilus
Dec 3 at 13:32




Please try with an index.html file. If it works, your apache is all right. If not, start looking here. Please also check that your DirectoryIndex is looking for php file. Can you also confirm that mod_php is enabled ?
– ponsfrilus
Dec 3 at 13:32















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕