hi there in this video we will learn how to get the orginal php.ini file from your server
to get the php.ini file you have to create a php file on your root folder
So open your FTP or go to file manager of your cpanel.
create a new file
Give it a name, anything you want. For example: test.php
ok now let's edit it
this is the function which will get all the information about our PHP version and everything and
where the PHP configuration file is located. Save it!
and open the 'test.php' file
we have to open it from our browser. 'test.php'
okay
it's not working for some reason
ok save it!
ok now refresh it!
one more time!
okay this is our file url
now open the 'test.php' one more time
and remove it
and let's get php.ini file
and end of <pre>
closing tag
now inside of this we will call the file, sorry our php ini file
ok
in this place we will the url of our php.ini file. This is the url
Copy it
now go to the file and paste it
that's it! Now Save it!
ok, refresh this page
and here we go
The orginal php.ini file from our server
Now save it. Copy all the texts
and...
Paste it on a notepad
Rename it "php.ini"
ok
So here is our server default php.ini file. Now you can use it on anywhere you want and customize it!
Thank You!
Không có nhận xét nào:
Đăng nhận xét