Configuration file php.ini path change
The php that run on the webserver and the CLI version is not using the same php. If I do a command php --ini , it show this. This is probably very common for people using wamp. You can also override the php.
I have spent about 3 hours trying to do exactly what your question asks. Couldn't do it. I gave up and copied that php. That way both my CLI php and Apach php e are using the same file. I could not get "php -m" to display the modules I had loaded in my php. But it must be set to the full path with filename. I also found that I had to do a full restart for php to pick up the new variable.
On Windows, find the path to your php. Webserver and CLI and find out the exact location of your php. How are we doing? Please help us improve Stack Overflow. Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Connect and share knowledge within a single location that is structured and easy to search. My question is basically how to change the path of PHP. So How would I go about changing this around, I have performed some research into this subject, but it has not provided me with a solution. Sign up to join this community. The best answers are voted up and rise to the top.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 8 years, 9 months ago. Active 5 years, 10 months ago. Viewed 9k times. Improve this question. If you set this value, you will only be allowed to include or require files from these directories.
The include directory is generally under your document root; this is mandatory if you. Set this to. Multiple directories are separated by colons:. If you. Set this value here if you. This setting controls what happens if a site visitor clicks the browser. The default is On, which means that the script continues to run to completion or timeout. If the setting is changed to Off, the script will abort.
This setting only works in module mode, not CGI. The default server host to use when connecting to the database server if no other host is specified. The default user name to use when connecting to the database server if no other name is specified. The default password to use when connecting to the database server if no other password is specified.
Malhar Lathkar. Syed Raza. Frahaan Hussain. Nivedita Jain. Azaz Patel. Vijay Kumar Parvatha Reddy. INI file Configuration Advertisements.
0コメント