php - Apache Not Showing Folders and Directories -
I was reading, so I used a script without understanding it.
i.e.
& lt ;? Php ob_end_clean (); Header ("connection: off"); Ignore_user_abort (); // Optional ob_start (); Echo ('text users will see'); $ Size = ob_get_length (); Header ("content-length: $ size"); Ob_end_flush (); // Strange behavior, flush () will not work; // Until both are called! // processing here (30); Echo ('text users will never see'); ? & Gt; Where it goes, i.e. the localhost is not showing any files and directories when I try some other link, in the directory, this file does not show.
I did not find any such issue but I can not find much information in connection headers in php.
In addition to that I also tried,
1. To restart Apache 2 : FILED. 2. Reinstall the entire lamp-server: Random
3 Completely remove the lamp server, has been reinstalled: failure
If anyone can do then I would be grateful Come work with the solution.
System: Lubuntu + Apache 2
config Look at the files odds you probably are editing it somehow and it does not match the normal files BTW, there is nothing to do with the problem facing your script.
In most cases the directory has changed, In my case it was / var / www / html. Just edit the file - default.conf =
Sudo vim /etc/apache2/sites-available/000-default.conf
Change / var / www / html to / var / www.
Comments
Post a Comment